리눅스에서 cubrid 3.0 -> 3.1로 업그레이드를 하였는데, 계속 3.0으로 나타납니다.
cubrid service stop 으로 종료하고서 업그레이드를 진행하였습니다.
업그레이드 과정 로그는 다음과 같구요, 설치하구 나서 "cubrid" 명령어를 썼을때 "cubrid utility, version R3.0" 로 나타나네요,,
뭐가 문제일까요 ^^
## 설치 로그 ##
Do you agree to the above license terms? (yes or no) : yes
Do you want to install this software(CUBRID) to the default(/root/CUBRID) directory? (yes or no) [Default: yes] : no
Input the CUBRID install directory. [Default: /root/CUBRID] : /usr/local/cubrid
Install CUBRID to '/usr/local/cubrid' ...
Directory '/usr/local/cubrid' exist!
If a CUBRID service is running on this directory, it may be terminated abnormally.
And if you don't have right access permission on this directory(subdirectories or files), install operation will be failed.
Overwrite anyway? (yes or no) [Default: no] : yes
In case a different version of the CUBRID product is being used in other machines, please note that the CUBRID 2008 R3.1 servers are only compatible with the CUBRID 2008 R3.1 clients and vice versa.
Do you want to continue? (yes or no) [Default: yes] : yes
Copying old .cubrid.sh to .cubrid.sh.bak ...
CUBRID has been successfully installed.
Cannot create demodb.
If you want to use CUBRID, run the following commands
% . /root/.cubrid.sh
% cubrid service start
## "cubrid" 명령어를 수행했을 때 ##
cubrid utility, version R3.0
usage: cubrid <utility-name> [args]
Type 'cubrid <utility-name>' for help on a specific utility.
Available service's utilities:
service
server
broker
manager
repl_server
repl_agent
heartbeat
Available administrator's utilities:
addvoldb
alterdbhost
backupdb
checkdb
compactdb
copydb
createdb
deletedb
diagdb
emergency_patchlog
installdb
killtran
loaddb
lockdb
optimizedb
plandump
renamedb
restoredb
spacedb
unloaddb
paramdump
statdump
changemode
copylogdb
applylogdb
cubrid is a tool for DBMS.
For additional information, see http://www.cubrid.com
안녕하세요.
지금 로그를 보면 업그레이드 할때 동일한 위치에 업그레이드를 하지 않았습니다. 그래서 현 서버에 2개의 버젼이 설치되어있는 것이고요. 아직까지 참조하고 있는 환경변수는 이전 버젼의 환경변수를 참고하고 있음으로 인하여 이전 버젼으로 동작되고 있는 것입니다.
다시 로그인하시면 업그레이드된 새 버젼으로 보일 것입니다.
참고로 버젼 확인은 cubrid_rel 로 하시는 것이 정확합니다.