cancel
Showing results for 
Search instead for 
Did you mean: 

Loading DB library Error

Former Member
0 Kudos

Hello all,

I just upgraded from Oracle 9.2.0 > 10.0.2 and am faced with this error trying to run “startsap”

HP-UX 11.23

4 ETW000 R3trans version 6.05 (release 46D - 27.03.05 - 14:30:00).

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

4 ETW000

4 ETW000 control file: <no ctrlfile>

4 ETW000 R3trans was called as follows: R3trans -d

4 ETW000 date&time : 18.07.2007 - 16:20:11

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

4 ETW000 [developertra,00000] Wed Jul 18 16:20:11 2007 24553 0.024553

4 ETW000 [developertra,00000] db_con_init called 16 0.024569

4 ETW000 [developertra,00000] create_con (con_name=R/3) 375 0.024944

4 ETW000 [developertra,00000] Loading DB library '/usr/sap/HCP/SYS/exe/run/dboraslib.so' ...

4 ETW000 3385 0.028329

4 ETW000 [dlux.c ,00000] *** ERROR => DlLoadLib: shl_load /usr/sap/HCP/SYS/exe/run/dboraslib.so -> DLENOACCESS (2,No such file or directory)

4 ETW000 574 0.028903

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

4 ETW000 21 0.028924

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

If I list the file, its there

hcgwdd5:hcpadm /home/hcpadm $ ll /usr/sap/HCP/SYS/exe/run/dboraslib.so

-rwxrwxrwx 1 hcpadm sapsys 2186544 Jul 18 15:37 /usr/sap/HCP/SYS/exe/run/dboraslib.so

Really would appreciate any help towards a resolution.

Thanks,

Iqbal

Accepted Solutions (1)

Accepted Solutions (1)

fidel_vales
Employee
Employee
0 Kudos

Hi,

You upgraded from 9i to 10g.

Your kernel is 46D.

Probably 46D_EXT.

This kernel is dynamically linked against the OCL 9i.

Did you <b>only </b> upgrade oracle? or did you do ( or don't do ) something else

1) Did you uninstalled the OLD ORACLE_HOME?

2) Did You had a softlink from the oracle client directory to the old ORACLE_HOME?

3) Did you deleted the OCL 9i thinking that it was not necessary anymore?

Note: to know exactly the file that is missing (the file that dboraslib.so cannor read) you can do:

ldd /usr/sap/HCP/SYS/exe/run/dboraslib.so

it will tell you what files are being called and the one missing.

Former Member
0 Kudos

I upgraded from 9 i to 10G

Kernel = 46D_EXT

1) no unstall

2) no softlinks

3) can't recall deleting OCL 9i

hcgwdd5:hcpadm /home/hcpadm $ ldd /usr/sap/HCP/SYS/exe/run/dboraslib.so

Unable to find library 'libclntsh.so.9.0'.

I now see the error, how do i fix this, please?

thanks,

Iqbal

markus_doehr2
Active Contributor
0 Kudos

You need to install the Oracle client 9.2.0.7 (at least)

Check Note 1017418 - Installing Oracle 9208 Client software on UNIX

on how to install it.

--

Markus

Former Member
0 Kudos

Hi Marcus,

That worked; again I would like to extend a warm thank you for you prompt assistance.

Regards,

Iqbal

markus_doehr2
Active Contributor
0 Kudos

Igbal gave the direction - I was just posting the note

--

Markus

Former Member
0 Kudos

Thank you also Fidel.

Answers (1)

Answers (1)

markus_doehr2
Active Contributor
0 Kudos

Did you update that library?

What gives

file /usr/sap/HCP/SYS/exe/run/dboraslib.so

?

--

Markus

Former Member
0 Kudos

Thanks Markus,

hcgwdd5:hcpadm /home/hcpadm $ file /usr/sap/HCP/SYS/exe/run/dboraslib.so

/usr/sap/HCP/SYS/exe/run/dboraslib.so: ELF-64 shared object file - IA64

hcgwdd5:hcpadm /home/hcpadm $

thanks,

Iqbal

markus_doehr2
Active Contributor
0 Kudos

Are you (maybe) trying to load a 4.6D dboraslib.so against a 4.6D_EXT kernel?

--

Markus