有个客户需要在oracle linux8.8上安装oracle 19c单机做测试,感觉和linux7差别不大,客户linux只开了xrdp连接方式,第一次用这个玩意,按照linux7上部署19c做好了准备工作后,
第一次启动图形化,使用什么端口都不行,报错差不多
orcl:/home/oracle@db>export DISPLAY=172.16.55.100:1.0
orcl:/home/oracle@db>/u01/app/oracle/product/19.0.0/db_1/runInstaller
ERROR: Unable to verify the graphical display setup. This application requires X display. Make sure that xdpyinfo exist under PATH variable.
/u01/app/oracle/product/19.0.0/db_1/perl/bin/perl: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory
orcl:/home/oracle@db>export DISPLAY=172.16.55.100:0.0
orcl:/home/oracle@db>/u01/app/oracle/product/19.0.0/db_1/runInstaller
ERROR: Unable to verify the graphical display setup. This application requires X display. Make sure that xdpyinfo exist under PATH variable.
/u01/app/oracle/product/19.0.0/db_1/perl/bin/perl: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory
处理方法:# yum -y install libnsl gcc-c++
改成非图形化部署
orcl:/home/oracle@db> $ORACLE_HOME/runInstaller -silent -responseFile /home/oracle/19c-db.rsp
Launching Oracle Database Setup Wizard...
[WARNING] [INS-08101] Unexpected error while executing the action at state: 'supportedOSCheck'
CAUSE: No additional information available.
ACTION: Contact Oracle Support Services or refer to the software manual.
SUMMARY:
- java.lang.NullPointerException
Moved the install session logs to:
/u01/app/oraInventory/logs/InstallActions2023-06-21_02-40-14PM
orcl:/home/oracle@db>
处理办法:export CV_ASSUME_DISTID=RHEL7.6
再次非图形化部署
orcl:/home/oracle@db>export CV_ASSUME_DISTID=RHEL7.6
orcl:/home/oracle@db> $ORACLE_HOME/runInstaller -silent -responseFile /home/oracle/19c-db.rsp
Launching Oracle Database Setup Wizard...
[WARNING] [INS-32047] The location (/u01/app/oraInventory) specified for the central inventory is not empty.
ACTION: It is recommended to provide an empty location for the inventory.
The response file for this session can be found at:
/u01/app/oracle/product/19.0.0/db_1/install/response/db_2023-06-21_02-44-53PM.rsp
You can find the log of this install session at:
/tmp/InstallActions2023-06-21_02-44-53PM/installActions2023-06-21_02-44-53PM.log
[FATAL] Unable to find make utility in location: /usr/bin/make
Moved the install session logs to:
/u01/app/oraInventory/logs/InstallActions2023-06-21_02-44-53PM
orcl:/home/oracle@db>
处理办法: yum -y install sysstat gcc automake autoconf libtool make
yum包后第3次非图形化部署,部署成功
orcl:/home/oracle@db>export CV_ASSUME_DISTID=RHEL7.6
orcl:/home/oracle@db>$ORACLE_HOME/runInstaller -silent -responseFile /home/oracle/19c-db.rsp
Launching Oracle Database Setup Wizard...
The response file for this session can be found at:
/u01/app/oracle/product/19.0.0/db_1/install/response/db_2023-06-21_02-51-53PM.rsp
You can find the log of this install session at:
/tmp/InstallActions2023-06-21_02-51-53PM/installActions2023-06-21_02-51-53PM.log
As a root user, execute the following script(s):
1. /u01/app/oraInventory/orainstRoot.sh
2. /u01/app/oracle/product/19.0.0/db_1/root.sh
Execute /u01/app/oraInventory/orainstRoot.sh on the following nodes:
[db]
Execute /u01/app/oracle/product/19.0.0/db_1/root.sh on the following nodes:
[db]
Successfully Setup Software.
Moved the install session logs to:
/u01/app/oraInventory/logs/InstallActions2023-06-21_02-51-53PM
记录下,积累点经验