cancel
Showing results for 
Search instead for 
Did you mean: 

Permission denied

Former Member
0 Kudos

During the system copy I received an error. Please find below the dev_slic log...

dev_slic

-


trc file: "dev_slic", trc level: 2, release: "700"

-


SlicIGetDate: <20120209>

SlicPwForR3Setup: calc password out of <PRD20120209FJAWFNLTL>

SlicIGetDate: <20120209>

SlicSapInstall: sysname: >PRD< connect: >1< rollback: >1<

SlicIDbLock: first call to SlicIDbLock: initialize Mutex

db_con_init called

create_con (con_name=R/3)

Loading DB library '/usr/sap/PRD/SYS/exe/run/dboraslib.so' ...

      • ERROR => DlLoadLib: dlopen()= /oracle/client/10x_64/instantclient/libnnz10.so: cannot restore segment prot

after reloc: Permission denied -> DLENOACCESS (0,Success) [dlux.c 314]

      • ERROR => Couldn't load library '/usr/sap/PRD/SYS/exe/run/dboraslib.so'

[dbcon.c 4731]

*****************************************************************************

*

  • ERROR Can not set DbSl trace function

*

  • TIME Thu Feb 9 23:36:25 2012

  • RELEASE 700

  • COMPONENT SLIC

  • VERSION 300

  • RC 20

  • MODULE slicdb.c

  • LINE 133

  • DETAIL DbSlControl(DBSL_CMD_IMP_FUNS_SET) failed with return code 20

  • RC-INFO: error loading dynamic db-library - check

  • environment for:

  • dbms_type = <db-type> (e.g. ora)

  • DIR_LIBRARY = <path to db-dll> (e.g.

  • /usr/sap/SID/SYS/exe/run)

  • LD_LIBRARY_PATH = <path do db and sap libs> (e.g.

  • /oracle/SID/lib)

  • COUNTER 1

*

*****************************************************************************

Please tell me what permissions are missing and how to resolve this issue

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

Issue seems with loading library file.

Please execute relink all as shown below. ignore the errors. I t should resolve the issue

>cd $ORACLE_HOME/bin

relink all

Regards,

Venkata S Pagolu

Former Member
0 Kudos

A DLENOACCESS error now occurs if one of these libraries cannot be loaded successfully.

Permission denied -> DLENOACCESS (0,Success)

The "permission denied" error appears if the operating system user for whom the error occurs cannot read dboraslib.<ext> or libclntsh.<ext>. Make sure that the user can read and execute these libraries.

Former Member
0 Kudos

Hi,

>> Loading DB library '/usr/sap/PRD/SYS/exe/run/dboraslib.so' ...

>> *** ERROR => DlLoadLib: dlopen()= /oracle/client/10x_64/instantclient/libnnz10.so: cannot restore segment prot

Are you running on 10g? Is "/oracle/client/10x_64" a link or a physical directory?

Best regards,

Orkun Gedik

Former Member
0 Kudos

Hi,

You can try the following to solve the issue.

/usr/sbin/setenforce 0

If you want to disable enforcement permanently,

Change enforcing to disabled in ''/etc/selinux/config'' and restart the machine.

Br,

Venky

Former Member
0 Kudos

I ran the cpmmant as a root /usr/sbin/setenforce 0 but it did not resolve my issue

Please help

Former Member
0 Kudos

Hi,

There is a metalink note for this.

Note ID 454196.1 error on libnnz11.so: cannot restore segment prot after reloc

There are some instruction to solve this issue. Can you try those?

It says about changing the default context of the affected oracle libraries to textrel_shlib_t:

Br,

Venky

former_member204746
Active Contributor
0 Kudos

are you using user [sid]adm?