cancel
Showing results for 
Search instead for 
Did you mean: 

Kernel Upgrade

Former Member
0 Kudos

Hello

I've downloaded the respective files to upgrade the SAP (4.7 Enterprise Edition) Kernel in Linux with Oracle 10g. The database is up and running and I execute the command startsap R3 the error below occurs:

Checking TRT Database

-


ABAP Database is not available via R3trans

Starting SAP-Collector Daemon

-


16:36:07 26.10.2011 LOG: Effective User Id is root

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

  • This is Saposcol Version COLL 20.95 711 - v2.16, AMD/Intel x86_64 with Linux, 2008/08/21

  • Usage: saposcol -l: Start OS Collector

  • saposcol -k: Stop OS Collector

  • saposcol -d: OS Collector Dialog Mode

  • saposcol -s: OS Collector Status

  • The OS Collector (PID 15588) is already running .....

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

saposcol already running

ABAP Database TRT must be started first

So I execute the R3trans -d

sapdst1:trtadm 96> R3trans -d

This is R3trans version 6.09 (release 640 - 06.12.04 - 16:37:00).

2EETW169 no connect possible: "invalid values set for DIR_LIBRARY '/usr/sap/TRT/SYS/exe/run' or dbms_type 'ORA'"

R3trans finished (0012).

The trans.log indicates the error on a file but I dont know what to do:

4 ETW000 R3trans version 6.09 (release 640 - 06.12.04 - 16:37:00).

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

4 ETW000

4 ETW000 date&time : 26.10.2011 - 16:22:57

4 ETW000 control file: <no ctrlfile>

4 ETW000 R3trans was called as follows: R3trans -x

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

4 ETW000 [dev trc ,00000] Wed Oct 26 16:22:57 2011 39 0.000039

4 ETW000 [dev trc ,00000] db_con_init called 7 0.000046

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

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

4 ETW000 13 0.000072

4 ETW000 [dlux.c ,00000] *** ERROR => DlLoadLib: dlopen()= libclntsh.so.10.1: cannot open shared object file: No such file or directory -> DLENOACCESS (0,Success)

4 ETW000 163 0.000235

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

4 ETW000 8 0.000243

2EETW169 no connect possible: "invalid values set for DIR_LIBRARY '/usr/sap/TRT/SYS/exe/run' or dbms_type 'ORA'"

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

I think you should download both for linux

Former Member
0 Kudos

Hi,

As per the logs, oracle client library files are missing in the kernel. Have you killed all running process after SAP was down, before you start kernel upgrade? Have you cleaned up IPCs as well before upgrade?

If you have not killed the old processes and IPCs before upgrade, some kernel files won't get overwritten with latest ones.

Please make sure all SAPEXE and SAPEXEDB files are extracted into exe directory without any slip

Thanks,

Siva Kumar

Former Member
0 Kudos

Are you confirmed that the database is already Up ?

Try to verify -

1. Is DIR_LIBRARY set to '/usr/sap/TRT/SYS/exe/run' ?

2. Is dbms_type set to ORA

3. Did you face any error when you were copying the new kernel files into the 'kernel directory' ?

4. Is the file dboraslib.so updated to new kernel version after copy ?

5. Are the new kernel files updated on all the kernel location directories ? For e.g. /usr/sap/TRT/SYS/exe/run, /sapmnt/TRT/exe etc.

Thanks

Former Member
0 Kudos

Here are th answers for your questions:

1. Is DIR_LIBRARY set to '/usr/sap/TRT/SYS/exe/run' ?

Yes. DIR_LIBRARY=/usr/sap/TRT/SYS/exe/run

2. Is dbms_type set to ORA

Yes. dbms_type=ORA

3. Did you face any error when you were copying the new kernel files into the 'kernel directory' ?

No, I've copied the both files to the host with winscp and no errors were detected

4. Is the file dboraslib.so updated to new kernel version after copy ?

Sorry but how do I check this?

5. Are the new kernel files updated on all the kernel location directories ? For e.g. /usr/sap/TRT/SYS/exe/run, /sapmnt/TRT/exe etc.

In fact the fs /usr/sap/TRT/SYS/exe/run/dbg have a link to /usr/sap/TRT/SYS/exe dbg -> /sapmnt/TRT/exe

Regards and thanks for your help

Former Member
0 Kudos

/usr/sap/TRT/SYS/exe/run --. DBORASLIB.so existed in this directory? permission is set correctly?

Former Member
0 Kudos

Yes exists as you can see below

-rwxr-xr-x 1 trtadm sapsys 1017236 Apr 29 15:07 dboraslib.so

Former Member
0 Kudos

One detail that is missing I forgot to tell you.

The Central Instance is in Linux but the database is Oracle in Solaris so I have to download the SAPEXE for Linux and SAPEXEDB for solaris?

Former Member
0 Kudos

so I have to download the SAPEXE for Linux and SAPEXEDB for solaris?

No.

Both for Linux.

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

It looks like kernel is not upgraded successfully. Please revert the old kernel again and then upgrade with both exe and exedb files of kernel.

Thanks

Sunny

Former Member
0 Kudos

I've downloaded the files exe and exedb of the same level, run the saproot.sh and the error continues

saptrans.log

4 ETW000 R3trans version 6.13 (release 640 - 19.01.11 - 17:51:00).

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

4 ETW000

4 ETW000 date&time : 26.10.2011 - 18:24:14

4 ETW000 control file: <no ctrlfile>

4 ETW000 R3trans was called as follows: R3trans -x

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

4 ETW000 [dev trc ,00000] Wed Oct 26 18:24:14 2011 34 0.000034

4 ETW000 [dev trc ,00000] db_con_init called 7 0.000041

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

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

4 ETW000 14 0.000067

4 ETW000 [dlux.c ,00000] *** ERROR => DlLoadLib()==DLENOACCESS - dlopen("/usr/sap/TRT/SYS/exe/run/dboraslib.so") FAILED

4 ETW000 "libclntsh.so.10.1: cannot open shared object file: No such file or directory"

4 ETW000 131 0.000198

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

4 ETW000 29 0.000227

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

sunny_pahuja2
Active Contributor
0 Kudos

{quote: - ] Loading DB library '/usr/sap/TRT/SYS/exe/run/dboraslib.so' ...

> 4 ETW000 14 0.000067

> 4 ETW000 [dlux.c ,00000] *** ERROR => DlLoadLib()==DLENOACCESS - dlopen("/usr/sap/TRT/SYS/exe/run/dboraslib.so") FAILED

> 4 ETW000 "libclntsh.so.10.1: cannot open shared object file: No such file or directory"

> 4 ETW000 131 0.000198

>

Looks like some oracle client library files are missing. How you did the kernel upgrade? Please make sure that you just uncar exe and exedb files in exe directory and don't try to replace exe directory with new exe directory.

Thanks

Sunny