Search This Blog

Total Pageviews

Friday, 6 March 2026

runInstaller error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory


on 

[oracle@grid26 db_1]$ cat /etc/redhat-release
CentOS Linux release 8.5.2111
[oracle@grid26 db_1]$


/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



 ./runInstaller -ignorePrereqFailure -waitforcompletion -silent \
>    -responseFile $ORACLE_HOME/install/response/db_install.rsp \
>   oracle.install.option=INSTALL_DB_SWONLY \
>    UNIX_GROUP_NAME=oinstall \
>    INVENTORY_LOCATION=$ORA_INVENTORY \
>    SELECTED_LANGUAGES=en,en_GB \
>    ORACLE_HOME=$ORACLE_HOME \
>    ORACLE_BASE=$ORACLE_BASE \
>    oracle.install.db.InstallEdition=EE \
>    oracle.install.db.OSDBA_GROUP=dba \
>    oracle.install.db.OSBACKUPDBA_GROUP=dba \
>    oracle.install.db.OSDGDBA_GROUP=dba \
>    oracle.install.db.OSKMDBA_GROUP=dba \
>    oracle.install.db.OSRACDBA_GROUP=dba \
>    oracle.install.db.isRACOneInstall=false \
>    oracle.install.db.rac.serverpoolCardinality=0 \
>    oracle.install.db.config.starterdb.type=GENERAL_PURPOSE \
>    oracle.install.db.ConfigureAsContainerDB=false \
>    SECURITY_UPDATES_VIA_MYORACLESUPPORT=false \
>    DECLINE_SECURITY_UPDATES=true
/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

[oracle@grid26 db_1]$ ls -l /usr/lib64/libnsl*
lrwxrwxrwx. 1 root root     15 May 11  2019 /usr/lib64/libnsl.so.2 -> libnsl.so.2.0.0
-rwxr-xr-x. 1 root root 120592 May 11  2019 /usr/lib64/libnsl.so.2.0.0
[oracle@grid26 db_1]$



Install below rpm 



[root@grid26 ~]# dnf install libnsl
Last metadata expiration check: 0:34:10 ago on Fri 06 Mar 2026 12:23:51 GMT.
Dependencies resolved.
============================================================================================================
 Package                Architecture           Version                         Repository              Size
============================================================================================================
Installing:
 libnsl                 x86_64                 2.28-164.el8                    BaseOS                 103 k

Transaction Summary
============================================================================================================
Install  1 Package

Total download size: 103 k
Installed size: 160 k
Is this ok [y/N]: y
Downloading Packages:
libnsl-2.28-164.el8.x86_64.rpm                                               96 kB/s | 103 kB     00:01
------------------------------------------------------------------------------------------------------------
Total                                                                        94 kB/s | 103 kB     00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                    1/1
  Installing       : libnsl-2.28-164.el8.x86_64                                                         1/1
  Running scriptlet: libnsl-2.28-164.el8.x86_64                                                         1/1
  Verifying        : libnsl-2.28-164.el8.x86_64                                                         1/1

Installed:
  libnsl-2.28-164.el8.x86_64

Complete!
[root@grid26 ~]#


==

 export CV_ASSUME_DISTID=OEL7.8
./runInstaller -ignorePrereqFailure -waitforcompletion -silent -responseFile $ORACLE_HOME/install/response/db_install.rsp oracle.install.option=INSTALL_DB_SWONLY UNIX_GROUP_NAME=oinstall INVENTORY_LOCATION=$ORA_INVENTORY SELECTED_LANGUAGES=en,en_GB ORACLE_HOME=$ORACLE_HOME ORACLE_BASE=$ORACLE_BASE oracle.install.db.InstallEdition=EE oracle.install.db.OSDBA_GROUP=dba oracle.install.db.OSBACKUPDBA_GROUP=dba oracle.install.db.OSDGDBA_GROUP=dba oracle.install.db.OSKMDBA_GROUP=dba oracle.install.db.OSRACDBA_GROUP=dba oracle.install.db.isRACOneInstall=false oracle.install.db.rac.serverpoolCardinality=0 oracle.install.db.config.starterdb.type=GENERAL_PURPOSE oracle.install.db.ConfigureAsContainerDB=false SECURITY_UPDATES_VIA_MYORACLESUPPORT=false DECLINE_SECURITY_UPDATES=true

=

from root

[root@grid26 ~]# /u01/app/oracle/product/19.0.0/db_1/root.sh
Check /u01/app/oracle/product/19.0.0/db_1/install/root_grid26_2026-03-06_13-05-01-372106860.log for the output of root script
[root@grid26 ~]#



dbca -silent -createDatabase \
-templateName General_Purpose.dbc \
-gdbname ORCL \
-sid ORCL \
-responseFile NO_VALUE \
-characterSet AL32UTF8 \
-memoryMgmtType auto_sga \
-totalMemory 2048 \
-storageType FS \
-datafileDestination "/u01/app/oracle/oradata" \
-emConfiguration NONE \
-sysPassword vihaan123 \
-systemPassword vihaan123



[oracle@grid26 db_1]$ pwd
/u01/app/oracle/product/19.0.0/db_1
[oracle@grid26 db_1]$ cd bin
[oracle@grid26 bin]$ pwd
/u01/app/oracle/product/19.0.0/db_1/bin
[oracle@grid26 bin]$ ./dbca -silent -createDatabase -templateName General_Purpose.dbc -gdbname ORCL -sid ORCL -responseFile NO_VALUE -characterSet AL32UTF8 -memoryMgmtType auto_sga -totalMemory 2048 -storageType FS -datafileDestination "/u01/app/oracle/oradata" -emConfiguration NONE -sysPassword vihaan123 -systemPassword vihaan123
[WARNING] [DBT-06208] The 'SYS' password entered does not conform to the Oracle recommended standards.
   CAUSE:
a. Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9].
b.The password entered is a keyword that Oracle does not recommend to be used as password
   ACTION: Specify a strong password. If required refer Oracle documentation for guidelines.
[WARNING] [DBT-06208] The 'SYSTEM' password entered does not conform to the Oracle recommended standards.
   CAUSE:
a. Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9].
b.The password entered is a keyword that Oracle does not recommend to be used as password
   ACTION: Specify a strong password. If required refer Oracle documentation for guidelines.
Prepare for db operation
10% complete
Registering database with Oracle Restart
14% complete
Copying database files
43% complete
Creating and starting Oracle instance
45% complete
49% complete
53% complete
56% complete
62% complete
Completing Database Creation
68% complete
70% complete
71% complete
Executing Post Configuration Actions
100% complete
Database creation complete. For details check the logfiles at:
 /u01/app/oracle/cfgtoollogs/dbca/ORCL.
Database Information:
Global Database Name:ORCL
System Identifier(SID):ORCL
Look at the log file "/u01/app/oracle/cfgtoollogs/dbca/ORCL/ORCL.log" for further details.







No comments:

Oracle DBA

anuj blog Archive