CentOS 6.5에 Oralce 11g XE 설치 후 구성 중 아래와 같은 에러가 나는 경우가 있다.
[root@XXXXXXXXXX Disk1]# /etc/init.d/oracle-xe configureOracle Database 11g Express Edition Configuration–––––––––––––––––––––––––––––––––––––––––––––––––This will configure on–boot properties of Oracle Database 11g ExpressEdition. The following questions will determine whether the database shouldbe starting upon system boot, the ports it will use, and the passwords thatwill be used for database accounts. Press <Enter> to accept the defaults.Ctrl–C will abort.Specify the HTTP port that will be used for Oracle Application Express [8080]:1XXX1Specify a port that will be used for the database listener [1521]:1XXX1Specify a password to be used for database accounts. Note that the samepassword will be used for SYS and SYSTEM. Oracle recommends the use ofdifferent passwords for each database account. This can be done afterinitial configuration:Confirm the password:Do you want Oracle Database 11g Express Edition to be started on boot (y/n) [y]:yStarting Oracle Net Listener…DoneConfiguring database…Database Configuration failed. Look into /u01/app/oracle/product/11.2.0/xe/config/log for details[root@XXXXXXXXXX Disk1]#cs
이런 경우 설치한 Oracle 을 삭제 후 -i 옵션으로 다시 설치하고, 구성을 실행하면 정상 완료된다.
[root@XXXXXXXXXX Disk1]# rpm –i oracle–xe–11.2.0–1.0.x86_64.rpmcs
아래는 구성이 정상 완료된 경우의 로그이다.
[root@XXXXXXXXXX Disk1]# /etc/init.d/oracle-xe configureOracle Database 11g Express Edition Configuration–––––––––––––––––––––––––––––––––––––––––––––––––This will configure on–boot properties of Oracle Database 11g ExpressEdition. The following questions will determine whether the database shouldbe starting upon system boot, the ports it will use, and the passwords thatwill be used for database accounts. Press <Enter> to accept the defaults.Ctrl–C will abort.Specify the HTTP port that will be used for Oracle Application Express [8080]:1###2Specify a port that will be used for the database listener [1521]:1####1Specify a password to be used for database accounts. Note that the samepassword will be used for SYS and SYSTEM. Oracle recommends the use ofdifferent passwords for each database account. This can be done afterinitial configuration:Confirm the password:Do you want Oracle Database 11g Express Edition to be started on boot (y/n) [y]:yStarting Oracle Net Listener…DoneConfiguring database…DoneStarting Oracle Database 11g Express Edition instance…DoneInstallation completed successfully.[root@XXXXXXXXXX Disk1]#cs