Operating System - HP-UX
1752598 Members
5026 Online
108788 Solutions
New Discussion юеВ

Re: SAP/Oracle does not start

 
Juan M Leon
Trusted Contributor

SAP/Oracle does not start

Hello, I recently update the patch level on HPUX11.11 server. On this server we have a SAP(64bit) application running. After the patch was applied the SAP team is exeperiencing problems starting the application. The error logs receive the following errors and the application startup dies after few minutes.

stderr2" [Read only] 5 lines, 223 characters
(12772) New Child Process created.
(12772) Starting local Command:
Command: dw.sapSMB_DVEBMGS14
pf=/usr/sap/SMB/SYS/profile/SMB_DVEBMGS14_mccfwd08
/usr/lib/pa20_64/dld.sl: Unable to find library './dw_stl.sl'.

If anybody has any suggestions please advice.

We tried setting the SHLIB variable and is not working.
7 REPLIES 7
A. Clay Stephenson
Acclaimed Contributor

Re: SAP/Oracle does not start

Run ldd on this command. It will list every shared library needed. Man ldd for details.

You may also need to run chatr +s enable on the executable because if this is disabled, SHLIB_PATH is ignored. Man chatr for details.
If it ain't broke, I can fix that.
Geoff Wild
Honored Contributor

Re: SAP/Oracle does not start

dw_stl.sl should be in:

/usr/sap/trans/kernel/ and in /sapmnt/SID/exe

Who are you trying to start up as?

should be sidadm

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Volker Borowski
Honored Contributor

Re: SAP/Oracle does not start

What did you put in SHLIB ?

Shouldn't it be SHLIBPATH ?

I think ist should be set for user "smbadm" to /usr/sap/SMB/SYS/exe/run, which should be a sym-link to /sapmnt/SMB/exe where dw_stl.sl should be located.

If you change the .cshrc or .dbenv* profiles of the user, do not forget to logoff an login again to activate the environment.

Good luck
Volker
Steven E. Protter
Exalted Contributor

Re: SAP/Oracle does not start

Shalom Juan,

The last time this happened to me it was due to a loss of asyncronous access. The fix was to set up a file that permits asyncronous access.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=472408&admit=-682735245+1141676398330+28353475

There are some resources in there for you.

I would at this point recommend relinking oracle. That needs to be done after substantial changes to the system.

The patch triggered it, relink might fix it.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Juan M Leon
Trusted Contributor

Re: SAP/Oracle does not start

Thank you all for your quick answer. I follow all of your sugestions and ideas. However I have a question for Clay.
I ran chatr with the dw_stl.sl library in two server and this is what I get

----------------------------
Server running ok
chatr dw_stl.sl
dw_stl.sl:
64-bit ELF shared library
shared library dynamic path search:
LD_LIBRARY_PATH enabled first
SHLIB_PATH enabled second
embedded path enabled third /usr/lib/pa20_64:/opt/langtools/lib/pa20_64
shared library list:
libnsl.1
libpthread.1
libCsup.2
libc.2
shared vtable support disabled
segments:
index type address flags size
5 text 4000000000000000 z---c D (default)
6 data 8000000100000000 ---m- D (default)
static branch prediction disabled
kernel assisted branch prediction enabled
lazy swap allocation for dynamic segments disabled
nulptr references disabled

-----------------------------------------

Server with problems

dw_stl.sl:
64-bit ELF shared library
shared library dynamic path search:
LD_LIBRARY_PATH enabled first
SHLIB_PATH enabled second
embedded path enabled third /usr/lib/pa20_64:/opt/langtools/lib/pa20_64
shared library list:
libnsl.1
libpthread.1
libCsup.2
libc.2
shared vtable support disabled
explicit unloading enabled
linkage table protection disabled
segments:
index type address flags size
5 text 4000000000000000 z---c- D (default)
6 data 8000000100000000 ---m-- D (default)
static branch prediction disabled
kernel assisted branch prediction enabled
lazy swap allocation for dynamic segments disabled
nulptr references disabled
What is the difference. is there a way to see if there is a problem with the SAP patch level.
thank you
Juan M Leon
Trusted Contributor

Re: SAP/Oracle does not start

Clay,

The error reports
dld.sl: Unable to find library './dw_stl.sl'.
besides chatr +s dw_stl.sl
how do I tell the dld.sl file to look for dw_stl.sl under diferent path.
Is correct to say that dld.sl is calling dw_stl.sl?
thanks
Sandman!
Honored Contributor

Re: SAP/Oracle does not start

Hi Juan,

Can you try searching for dw_stl.sl lib. The command would be something like:

# find / -name "dw_stl.sl" -type f

cheers!