CentOS8.5安装19c单机告警及处理
问题一:
orcl:/home/oracle@db05> $ORACLE_HOME/runInstaller -silent -responseFile /home/oracle/19c-db.rsp
/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
## 确认系统中缺少libnsl
[root@db05 ~]# rpm -qa |grep libnsl
libnsl2-1.2.0-2.20180605git4a062cf.el8.x86_64
## 安装libnsl告警有冲突
[root@db05 ~]# dnf -y install libnsl
Last metadata expiration check: 0:19:01 ago on Wed 06 Aug 2025 05:40:53 PM CST.
Error:
Problem: cannot install both glibc-2.28-164.el8.x86_64 and glibc-2.28-209.el8.x86_64
- package libnsl-2.28-164.el8.x86_64 requires glibc(x86-64) = 2.28-164.el8, but none of the providers can be installed
- package glibc-gconv-extra-2.28-209.el8.x86_64 requires glibc(x86-64) = 2.28-209.el8, but none of the providers can be installed
- cannot install the best candidate for the job
- problem with installed package glibc-gconv-extra-2.28-209.el8.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
##先移除glibc-gconv-extra
[root@db05 opt]# dnf -y remove glibc-gconv-extra-2.28-209.el8.x86_64
Dependencies resolved.
=============================================================================================================================================================================================
Package Architecture Version Repository Size
=============================================================================================================================================================================================
Removing:
glibc-gconv-extra x86_64 2.28-209.el8 @System 6.1 M
Transaction Summary
=============================================================================================================================================================================================
Remove 1 Package
Freed space: 6.1 M
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Erasing : glibc-gconv-extra-2.28-209.el8.x86_64 1/1
Running scriptlet: glibc-gconv-extra-2.28-209.el8.x86_64 1/1
Verifying : glibc-gconv-extra-2.28-209.el8.x86_64 1/1
Removed:
glibc-gconv-extra-2.28-209.el8.x86_64
Complete!
## 再次安装libnsl成功
[root@db05 opt]# dnf -y install libnsl
Last metadata expiration check: 0:24:28 ago on Wed 06 Aug 2025 05:40:53 PM CST.
Dependencies resolved.
=============================================================================================================================================================================================
Package Architecture Version Repository Size
=============================================================================================================================================================================================
Installing:
libnsl x86_64 2.28-164.el8 @commandline 103 k
Downgrading:
glibc x86_64 2.28-164.el8 base 3.6 M
glibc-common x86_64 2.28-164.el8 base 1.3 M
glibc-devel x86_64 2.28-164.el8 base 1.0 M
glibc-headers x86_64 2.28-164.el8 base 480 k
glibc-langpack-en x86_64 2.28-164.el8 base 828 k
glibc-langpack-zh x86_64 2.28-164.el8 base 2.2 M
nscd x86_64 2.28-164.el8 base 133 k
Transaction Summary
=============================================================================================================================================================================================
Install 1 Package
Downgrade 7 Packages
Total size: 9.6 M
Total download size: 9.5 M
Downloading Packages:
(1/7): glibc-devel-2.28-164.el8.x86_64.rpm 4.8 MB/s | 1.0 MB 00:00
(2/7): glibc-common-2.28-164.el8.x86_64.rpm 5.7 MB/s | 1.3 MB 00:00
(3/7): glibc-2.28-164.el8.x86_64.rpm 12 MB/s | 3.6 MB 00:00
(4/7): glibc-headers-2.28-164.el8.x86_64.rpm 4.1 MB/s | 480 kB 00:00
(5/7): glibc-langpack-en-2.28-164.el8.x86_64.rpm 6.7 MB/s | 828 kB 00:00
(6/7): nscd-2.28-164.el8.x86_64.rpm 2.1 MB/s | 133 kB 00:00
(7/7): glibc-langpack-zh-2.28-164.el8.x86_64.rpm 12 MB/s | 2.2 MB 00:00
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 20 MB/s | 9.5 MB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Downgrading : glibc-common-2.28-164.el8.x86_64 1/15
Downgrading : glibc-langpack-en-2.28-164.el8.x86_64 2/15
Downgrading : glibc-langpack-zh-2.28-164.el8.x86_64 3/15
Running scriptlet: glibc-2.28-164.el8.x86_64 4/15
Downgrading : glibc-2.28-164.el8.x86_64 4/15
Running scriptlet: glibc-2.28-164.el8.x86_64 4/15
Running scriptlet: glibc-headers-2.28-164.el8.x86_64 5/15
Downgrading : glibc-headers-2.28-164.el8.x86_64 5/15
Downgrading : glibc-devel-2.28-164.el8.x86_64 6/15
Running scriptlet: glibc-devel-2.28-164.el8.x86_64 6/15
Running scriptlet: nscd-2.28-164.el8.x86_64 7/15
Downgrading : nscd-2.28-164.el8.x86_64 7/15
Running scriptlet: nscd-2.28-164.el8.x86_64 7/15
Installing : libnsl-2.28-164.el8.x86_64 8/15
Running scriptlet: glibc-devel-2.28-209.el8.x86_64 9/15
Cleanup : glibc-devel-2.28-209.el8.x86_64 9/15
Running scriptlet: nscd-2.28-209.el8.x86_64 10/15
Cleanup : nscd-2.28-209.el8.x86_64 10/15
Running scriptlet: nscd-2.28-209.el8.x86_64 10/15
Cleanup : glibc-headers-2.28-209.el8.x86_64 11/15
Cleanup : glibc-langpack-zh-2.28-209.el8.x86_64 12/15
Cleanup : glibc-2.28-209.el8.x86_64 13/15
Running scriptlet: glibc-2.28-209.el8.x86_64 13/15
Cleanup : glibc-langpack-en-2.28-209.el8.x86_64 14/15
Cleanup : glibc-common-2.28-209.el8.x86_64 15/15
Running scriptlet: glibc-common-2.28-209.el8.x86_64 15/15
Running scriptlet: glibc-common-2.28-164.el8.x86_64 15/15
Verifying : glibc-2.28-164.el8.x86_64 1/15
Verifying : glibc-2.28-209.el8.x86_64 2/15
Verifying : glibc-common-2.28-164.el8.x86_64 3/15
Verifying : glibc-common-2.28-209.el8.x86_64 4/15
Verifying : glibc-devel-2.28-164.el8.x86_64 5/15
Verifying : glibc-devel-2.28-209.el8.x86_64 6/15
Verifying : glibc-headers-2.28-164.el8.x86_64 7/15
Verifying : glibc-headers-2.28-209.el8.x86_64 8/15
Verifying : glibc-langpack-en-2.28-164.el8.x86_64 9/15
Verifying : glibc-langpack-en-2.28-209.el8.x86_64 10/15
Verifying : glibc-langpack-zh-2.28-164.el8.x86_64 11/15
Verifying : glibc-langpack-zh-2.28-209.el8.x86_64 12/15
Verifying : nscd-2.28-164.el8.x86_64 13/15
Verifying : nscd-2.28-209.el8.x86_64 14/15
Verifying : libnsl-2.28-164.el8.x86_64 15/15
Downgraded:
glibc-2.28-164.el8.x86_64 glibc-common-2.28-164.el8.x86_64 glibc-devel-2.28-164.el8.x86_64 glibc-headers-2.28-164.el8.x86_64 glibc-langpack-en-2.28-164.el8.x86_64
glibc-langpack-zh-2.28-164.el8.x86_64 nscd-2.28-164.el8.x86_64
Installed:
libnsl-2.28-164.el8.x86_64
Complete!
[root@db05 ~]# rpm -qa |grep libnsl
libnsl2-1.2.0-2.20180605git4a062cf.el8.x86_64
libnsl-2.28-164.el8.x86_64
再次安装19c软件ok
问题二、oracle 19c不支持CentOS8.5
orcl:/home/oracle@db05> $ORACLE_HOME/runInstaller -silent -responseFile /opt/mini.config.backup/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/InstallActions2025-08-06_06-08-51PM
##处理办法
orcl:/home/oracle@db05> export CV_ASSUME_DISTID=OL8
orcl:/home/oracle@db05> $ORACLE_HOME/runInstaller -silent -responseFile /home/oracle/19c-db.rsp