SyntaxHighlighter JS

2013-01-22

Oracle Linux Listener Permission Error

Problem:
When starting the Oracle listener, you get the error

lsnrctl: error while loading shared libraries: /ORA_PATH/lib/libnnz11.so: cannot restore segment prot after reloc: Permission denied


Solution:
The Oracle is running on Security-Enhanced Linux (SELinux) and the OS is not granting Oracle proper permission on the libnnz11.so library.

As root user or sudo, grant the proper permission via

chcon -v -t textrel_shlib_t '/ORA_PATH/lib/libnnz11.so'

If errors are still occurring, you can set SELinux to permissive move with command

setenforce 0

To make the change to SELinux permissive mode permanent, edit the file /etc/selinux/config and change the line "SELINUX=enforcing" to

SELINUX=permissive

No comments:

Post a Comment