on 11-10-2015 9:22 AM
Hello,
I'm trying to update a Netweaver 7.4 System with kernel 742 patchlevel 200 from to SPS12 (SAPKB74008 to SAPKB74012 etc).
For this I want to use SUM SUM10SP14_3-20006540.SAR.
I start SUM and it works until phase PREP_IMPORT/NEWKERNLIB_CHK1.
Error in SAPup.ECO:
Could not load program tp: Dependent module libsapnwrfc.so could not be loaded.
Could not load module libsapnwrfc.so
System error: no such file or Directory.
But: this file exists in /sapmnt/SID/exe/uc/rs6000_64. And it exists in /usr/sap/SID/SUM/SUM/abap/exe.
I followed note 1739797 and extracted nwrfcsdk in abap/exe and linked library files into abap/exe/nwrfsdk/lib/.
But still is not working.
Where SUM is looking for these libraries?
What is missing? SAP System is up and running, so problem is only with SUM.
Same Problem is with SUM10SP13-9.
Regards,
Julia
Hello Julia,
Did exactly the same SP stack last week with SUM 1.0.14.2.
Couple of things to ask you to check.
1. You are running SUM as <sid>adm ?
2. As <sid>adm, run "which libsapnwrfc.so". Do you get the path of the libsapnwrfc.so displayed ?
eg: /usr/sap/XXX/SYS/exe/uc/rs6000_64/libsapnwrfc.so
3. Please check the permissions of the libsapnwrfc.so file.
4. Please check your environment variables and ensure that DIR_LIBRARY and LIBPATH are correctly set.
eg:
DIR_LIBRARY=/usr/sap/XXX/SYS/exe/run
LIBPATH=/usr/lib:/lib:/usr/sap/XXX/SYS/exe/run:/usr/sap/XXX/SYS/exe/uc/rs6000_64:/oracle/client/11x_64/instantclient
5. Please check that you sapcpe is properly replicating binaries.
Please let us know how you get on.
KR,
Amerjit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
content of NEWKERNLIBCHK.LOG is
4 ETQ399 Checking for library file '/usr/sap/SID/SUM/SUM/abap/exe/libsapucum.so'
4 ETQ399 File '/usr/sap/SID/SYS/exe/uc/rs6000_64/libsapucum.so' already exists - skipping copy.
4 ETQ399 Trying 'tp -V' from directory /usr/sap/SID/SUM/SUM/abap/exe without environment adaption to see if all libraries are there.
3 ETQ120 20151104133014: PID 7471218 execute '/usr/sap/SID/SUM/SUM/abap/exe/tp -V', output written to '/usr/sap/SID/SUM/SUM/abap/log/SAPup.ECO'.
3WETQ122 20151104133014: PID 7471218 exited with status 255 (time: 0.000/0.000/0.020 real/usr/sys)
1EETQ399 Last error code set is: Process /usr/sap/SID/SUM/SUM/abap/exe/tp exited with 255, see '/usr/sap/SID/SUM/SUM/abap/log/SAPup.ECO' for details
1EETQ204 Upgrade phase "NEWKERNLIB_CHK1" aborted with severe errors ("20151104133014")
So SAPup.ECO is relevant.
I run SUM as sidadm, starting in screen on server with ./STARTUP and connecting with ./DSUGui via remote system.
"which libsapnwrfc.so" gives:
sidadm> which libsapnwrfc.so
/usr/sap/SID/SYS/exe/uc/rs6000_64/libsapnwrfc.so
Permission is
lrwxrwxrwx sidadm sapsys libsapnwrfc.so
sidadm> echo $DIR_LIBRARY
/usr/sap/SID/SYS/exe/run
SIDadm> echo $LIBPATH
/usr/sap/SID/DVEBMGS00/sec/SLL:/usr/lib:/lib:/usr/sap/SID/SYS/exe/run:/usr/sap/SID/SYS/exe/uc/rs6000_64:/oracle/client/11x_64/instantclient
"sapcpe is properly replicating binaries": even if I extract kernel again in abap/exe the error still exits.
So I've got no idea what to check.
How can I check if sidadm can load this library?
Regards,
Julia
Hey Julia,
1. Please upload the SAPup.ECO file or the error excerpt from the file.
In the above file you will also see the environment variables that are set when the "tp -V" command is being executed.
Bear in mind your error from your initial posting "no such file or directory"
2. I see that when you've listed permissions for the libsapnwrfc.so file that it's a sym link. Where does this sym link point to and what are the permissions of the file it points to ?
3. ldd libsapnwrfc.so will show you if the file is loadable
KR,
A.
Another workaround my AIX colleagues told me:
set ENV variable in .profile so .profile will be loaded by switching into screen.
/home/sidadm/.profile -> add:
export ENV=$HOME/.profile
SAP recommends to use the SUM the new way with "./STARTUP confighostagent SID" and using SUM via HTTP / Browser.
Regards,
Julia
Hi Julia,
Please have a look at NEWKERNLIBCHK.LOG it would be helpful
you will find this file in /usr/sap/SID/SUM/SUM/abap/log folder.
Regards
Chetan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.