libnnz11.so: cannot restore
[root@localhost /]# /u01/app/oracle/product/11.1.0/asm/root.sh
Running Oracle 11g root.sh script…
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME=Â /u01/app/oracle/product/11.1.0/asm
Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin …
Copying oraenv to /usr/local/bin …
Copying coraenv to /usr/local/bin …
Creating /etc/oratab file…
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
/etc/oracle does not exist. Creating it now.
/u01/app/oracle/product/11.1.0/asm/bin/crsctl.bin: error while loading shared libraries: /u01/app/oracle/product/11.1.0/asm/lib/libnnz11.so: cannot restore segment prot after reloc: Permission denied
/u01/app/oracle/product/11.1.0/asm/bin/clscfg.bin: error while loading shared libraries: /u01/app/oracle/product/11.1.0/asm/lib/libnnz11.so: cannot restore segment prot after reloc: Permission denied
Configuration for local CSS has been initialized
Failed configure CSS. Fix the problem and rerun this script from destination Oracle home with ‘reset’ argument
Finished product-specific root actions.
[root@localhost /]# cd /u01/app/oracle/product/11.1.0/asm/bin/
[root@localhost bin]# ./localconfig delete
./localconfig: line 778: /etc/init.d/init.cssd: No such file or directory
Cleaning up Network socket directories
SOLUTION:
While installing CentOS 5 linux if you haven’t paid much attention then chances are you probably have missed window where installation program ask to enable/disable SElinux.
SElinux can run as enforcing or in permissive mode. If in /etc/selinux/config file selinux is set as permissive or enforcing then change it to disabled. You would need to reboot your CentOS server to disable selinux. This change wouldn’t work without rebooting your linux box.
[root@localhost bin]# grep SELINUX /etc/selinux/config
# SELINUX= can take one of these three values:
SELINUX=enforcing
# SELINUXTYPE= type of policy in use. Possible values are:
SELINUXTYPE=targeted
You must disable SELINUX.
Correct
[root@localhost bin]# grep SELINUX /etc/selinux/config
# SELINUX= can take one of these three values:
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
SELINUXTYPE=targeted
Regards,
Tom


