cancel
Showing results for 
Search instead for 
Did you mean: 

Error in SYSTEM COPY can't load library

Former Member
0 Kudos

HI,

An error occurred while processing option SAP ERP 6.0 EHP4 Ready - Support Release 1 > Software Life-Cycle Options > System Copy > Oracle > Target System Installation > Central System > Based on AS ABAP > Central System( Last error reported by the step: Process call '/usr/sap/PX1/SYS/exe/run/R3load -testconnect' exits with error code 127. For details see log file(s) R3load.exe.log.). You can now:

Choose Retry to repeat the current step.

Choose Log Files to get more information about the error.

Stop the option and continue with it later.

Log files are written to /tmp/sapinst_instdir/ERPEhP4/LM/COPY/ORA/SYSTEM/CENTRAL/AS-ABAP/.

The system is an linux redhat

root@PurediskRHEL1 run]# uname -an

Linux PurediskRHEL1 2.6.18-274.el5 #1 SMP Fri Jul 8 17:36:59 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

and the R3trans.log

[root@PurediskRHEL1 run]# more trans.log

4 ETW000 R3trans version 6.14 (release 701 - 26.01.09 - 12:46:00).

4 ETW000 unicode enabled version

4 ETW000 ===============================================

4 ETW000

4 ETW000 date&time : 12.02.2012 - 15:14:04

4 ETW000 control file: <no ctrlfile>

4 ETW000 R3trans was called as follows: R3trans -d

4 ETW000 trace at level 2 opened for a given file pointer

4 ETW000 [dev trc ,00000] Sun Feb 12 15:14:04 2012 112 0.000112

4 ETW000 [dev trc ,00000] db_con_init called 33 0.000145

4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 51 0.000196

4 ETW000 [dev trc ,00000] Loading DB library '/usr/sap/PX1/SYS/exe/run/dboraslib.so' ...

4 ETW000 41 0.000237

4 ETW000 [dlux.c ,00000] *** ERROR => DlLoadLib: dlopen()= /oracle/client/10x_64/instantclient/libnnz10.so: cannot restore segment prot after reloc: Permission denied -> DLENOACCESS (0

,Success)

4 ETW000 18781 0.019018

4 ETW000 [dbcon.c ,00000] *** ERROR => Couldn't load library '/usr/sap/PX1/SYS/exe/run/dboraslib.so'

4 ETW000 38 0.019056

2EETW169 no connect possible: "maybe someone set invalid values for DIR_LIBRARY ('/usr/sap/PX1/SYS/exe/run') or dbms_type ('ORA')"

[root@PurediskRHEL1 run]#

[root@PurediskRHEL1 run]# ls -lrt dboraslib.so

-rwxrwxrwx 1 px1adm sapsys 1303338 Feb 27 2011 dboraslib.so

You can see the ENV

[px1adm@PurediskRHEL1 run]$ env

DIR_LIBRARY=/usr/sap/PX1/SYS/exe/run

HOSTNAME=PurediskRHEL1

dbs_ora_tnsname=PX1

dbms_type=ORA

SHELL=/bin/bash

TERM=xterm

HISTSIZE=1000

NLS_LANG=AMERICAN_AMERICA.UTF8

OLDPWD=/sapcd/SAPINST

USER=px1adm

LD_LIBRARY_PATH=/usr/sap/PX1/SYS/exe/run:/oracle/client/10x_64/instantclient

LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:.cmd=00;32:.exe=00;32:.com=00;32:.btm=00;32:.bat=00;32:.sh=00;32:.csh=00;32:.tar=00;31:.tgz=00;31:.arj=00;31:.taz=00;31:.lzh=00;31:.zip=00;31:.z=00;31:.Z=00;31:.gz=00;31:.bz2=00;31:.bz=00;31:.tz=00;31:.rpm=00;31:.cpio=00;31:.jpg=00;35:.gif=00;35:.bmp=00;35:.xbm=00;35:.xpm=00;35:.png=00;35:.tif=00;35:

ORACLE_SID=PX1

ORACLE_BASE=/oracle

dbs_ora_schema=SAPSR3

TNS_ADMIN=/usr/sap/PX1/SYS/profile/oracle

MAIL=/var/spool/mail/px1adm

PATH=/oracle/PX1/112_64/bin:/opt/IBMJava2-amd64-142/bin:.:/home/px1adm:/usr/sap/PX1/SYS/exe/run:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/px1adm/bin

INPUTRC=/etc/inputrc

PWD=/usr/sap/PX1/SYS/exe/run

SAPDATA_HOME=/oracle/PX1

JAVA_HOME=/opt/IBMJava2-amd64-142

DB_SID=PX1

LANG=en_US.UTF-8

SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass

SHLVL=1

HOME=/home/px1adm

LOGNAME=px1adm

LESSOPEN=|/usr/bin/lesspipe.sh %s

DISPLAY=localhost:12.0

ORACLE_HOME=/oracle/PX1/112_64

G_BROKEN_FILENAMES=1

XAUTHORITY=/home/px1adm/.xauthBON4bg

_=/bin/env

[px1adm@PurediskRHEL1 run]$

Regards,

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

For your information SAPINST is running with the user ROOT.

WARNING 2012-02-12 17:31:11.791

CJSlibModule::writeWarning_impl()

Execution of the command "/usr/sap/PX1/SYS/exe/run/R3load -testconnect" finished with return code 127. Output:

/usr/sap/PX1/SYS/exe/run/R3load: error while loading shared libraries: /oracle/client/10x_64/instantclient/libnnz10.so: cannot restore segment prot after reloc: Permission denied

ERROR 2012-02-12 17:31:11.795

CJSlibModule::writeError_impl()

CJS-30023 Process call '/usr/sap/PX1/SYS/exe/run/R3load -testconnect' exits with error code 127. For details see log file(s) R3load.exe.log.

ERROR 2012-02-12 17:31:11.941 [sixxcstepexecute.cpp:937]

FCO-00011 The step testDatabaseConnection with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|abapload|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|testDatabaseConnection was executed with status ERROR ( Last error reported by the step: Process call '/usr/sap/PX1/SYS/exe/run/R3load -testconnect' exits with error code 127. For details see log file(s) R3load.exe.log.).

INFO 2012-02-12 17:31:12.418 [syuxcpath.cpp:471]

CSyPath::createFile() lib=syslib module=syslib

Creating file /tmp/sapinst_instdir/ERPEhP4/LM/COPY/ORA/SYSTEM/CENTRAL/AS-ABAP/__instana_tmp.xml.

WARNING 2012-02-12 17:31:13.997 [iaxxejshlp.cpp:150]

Could not get property IDs of the JavaScript object.

ERROR 2012-02-12 17:31:13.997 [iaxxejsctl.cpp:367]

FJS-00010 Could not get value for property .

[root@PurediskRHEL1 IM_LINUX_X86_64]#

Regards,

former_member188883
Active Contributor
0 Kudos

Hi ,

From the details you furnished,

Oracle database version is 11.2.0.2

Oracle client release is from 10g.

Please extract 11g client into the folder /oracle/client/10x_64/

It should work fine later.

Regards,

Deepak Kori

Former Member
0 Kudos

Hi,

As per logs provided permission issue for the below library in oracle client.And make sure u wll running sapinst from root user.

ERROR => DlLoadLib: dlopen()= /oracle/client/10x_64/instantclient/libnnz10.so: cannot restore segment prot after reloc: Permission denied -> DLENOACCESS (0

,Success)

Regards,

Sahil