cancel
Showing results for 
Search instead for 
Did you mean: 

/usr/lib/hpux64/dld.so: Unable to find library dw_gui.so

Sudip1
Participant
0 Kudos

Dear All,

I am facing the following problem:

background:

OS: HP UX B.11.23

ECC 5.0 (Kernel 640)

DB: Oracle 9.2

After issuing the startsap command, I am finding the following in the startsap.log in work directory:

skg:rp1adm> pg sapstart.log

SAP-R/3-Startup Program Rel 640 V1.8 (2003/04/24)

-


Starting at 2008/03/28 20:53:33

Startup Profile: "/usr/sap/RP1/SYS/profile/START_DVEBMGS00_skg"

Update local Kernel Files

-


(12461) Local: /usr/sap/RP1/SYS/exe/ctrun/sapcpe name=RP1

Execute Pre-Startup Commands

-


(12461) Local: /usr/sap/RP1/SYS/exe/run/sapmscsa -n pf=/usr/sap/RP1/SYS/profile/RP1_DVEBMGS00_skg

(12461) Local: rm -f ms.sapRP1_DVEBMGS00

(12461) Local: ln -s -f /usr/sap/RP1/SYS/exe/run/msg_server ms.sapRP1_DVEBMGS00

(12461) Local: rm -f dw.sapRP1_DVEBMGS00

(12461) Local: ln -s -f /usr/sap/RP1/SYS/exe/run/disp+work dw.sapRP1_DVEBMGS00

(12461) Local: rm -f co.sapRP1_DVEBMGS00

(12461) Local: ln -s -f /usr/sap/RP1/SYS/exe/run/rslgcoll co.sapRP1_DVEBMGS00

(12461) Local: rm -f se.sapRP1_DVEBMGS00

(12461) Local: ln -s -f /usr/sap/RP1/SYS/exe/run/rslgsend se.sapRP1_DVEBMGS00

Starting Programs

-


(12496) Starting: local ms.sapRP1_DVEBMGS00 pf=/usr/sap/RP1/SYS/profile/RP1_DVEBMGS00_skg

(12496) New Child Process created.

(12496) Starting local Command:

Command: ms.sapRP1_DVEBMGS00

pf=/usr/sap/RP1/SYS/profile/RP1_DVEBMGS00_skg

(12497) Starting: local dw.sapRP1_DVEBMGS00 pf=/usr/sap/RP1/SYS/profile/RP1_DVEBMGS00_skg

(12498) Starting: local co.sapRP1_DVEBMGS00 -F pf=/usr/sap/RP1/SYS/profile/RP1_DVEBMGS00_skg

(12498) New Child Process created.

(12498) Starting local Command:

Command: co.sapRP1_DVEBMGS00

-F

pf=/usr/sap/RP1/SYS/profile/RP1_DVEBMGS00_skg

(12499) Starting: local se.sapRP1_DVEBMGS00 -F pf=/usr/sap/RP1/SYS/profile/RP1_DVEBMGS00_skg

(12461) Waiting for Child Processes to terminate.

(12499) New Child Process created.

(12499) Starting local Command:

Command: se.sapRP1_DVEBMGS00

-F

pf=/usr/sap/RP1/SYS/profile/RP1_DVEBMGS00_skg

(12497) New Child Process created.

(12497) Starting local Command:

Command: dw.sapRP1_DVEBMGS00

pf=/usr/sap/RP1/SYS/profile/RP1_DVEBMGS00_skg

(12461) **** 2008/03/28 20:53:33 Child 12497 died due to Signal 9 . ****

(12461) **** 2008/03/28 20:53:33 No RestartProgram command for program 2 ****

skg:rp1adm>

Also, in the stderr2 file, getting the following:

skg:rp1adm> pg stderr2

(12497) New Child Process created.

(12497) Starting local Command:

Command: dw.sapRP1_DVEBMGS00

pf=/usr/sap/RP1/SYS/profile/RP1_DVEBMGS00_skg

/usr/lib/hpux64/dld.so: Unable to find library 'dw_gui.so'.

skg:rp1adm>

Also, Please find below the output of R3trans -v command which shows client library has been loaded:

skg:rp1adm> R3trans -v

This is R3trans version 6.13 (release 640 - 21.06.06 - 08:38:00).

-


R3trans information

-


kernel release 640

kernel make variant 640_REL

DBMS client library OCI_920

DBSL shared library version 640.00

compiled on HP-UX B.11.23 U ia64

compiled for 64 BIT

compilation mode Non-Unicode

compile time Jul 16 2006 19:32:00

update level 0

patch number 136

source id 0.139

-


supported environment

-


database (SAP, table SVERS) 610

620

630

640

DBMS server

ORACLE 8.1.7..

ORACLE 9.2.0..

operating system

HP-UX B.11

-


R3trans patch information

-


( 0.001) Code pages patch packet 313233 (note 447519)

=======================================

As Dispatcher / work processes are not running, we are not being able to connect to SAP.

Please advise.

Thanks & Regards

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I had the similar issue, after installing Dialog Instance on Solaris unix.

Instance getting started but ABAP process are not getting started.

Please let me know how to solve it

markus_doehr2
Active Contributor
0 Kudos

> Instance getting started but ABAP process are not getting started.

Check the trace files

dev_disp

dev_w0

Markus

markus_doehr2
Active Contributor
0 Kudos

Did you patch your kernel? If yes, what did you patch? Only using dw*.SAR is not enough, there are libraries missing...

Markus

Sudip1
Participant
0 Kudos

Thanks for the reply.

We are trying to create a DR server for the production.... so replicated the whole file system from production SAN into this server's SAN.

After that copied the .profile / .env files for <sid>adm / ora<sid> users into this server and changes the name of the host in DEFAULT.PFL, RP1_DVEBMGS00_skg, START_DVEBMGS00_skg & listener / tnsnames.ora

After these activities, tried to start the server.

Please advise.

Thanks & Regards

markus_doehr2
Active Contributor
0 Kudos

You receive a signal 9 - which is a "KILL" - and which is usually not sent by the operating system.

What's the content of

dev_disp

dev_w0

on that system?

Markus

Sudip1
Participant
0 Kudos

Dear Markus,

Only the following files got generated:

-rw-rr 1 rp1adm sapsys 957 Mar 28 20:52 dev_ms.old

-rw-rw-rw- 1 rp1adm sapsys 174 Mar 28 20:53 stderr3

-rwxrr 1 rp1adm sapsys 14 Mar 28 20:53 kill.sap

-rw-rw-rw- 1 rp1adm sapsys 1812 Mar 28 20:53 sapcpe.log

-rw-rw-rw- 1 rp1adm sapsys 0 Mar 28 20:53 dev_tp

-rw-rw-rw- 1 rp1adm sapsys 12 Mar 28 20:53 sapstart.sem

-rw-rw-rw- 1 rp1adm sapsys 160 Mar 28 20:53 stderr1

lrwxrwxrwx 1 rp1adm sapsys 33 Mar 28 20:53 se.sapRP1_DVEBMGS00 ->

/usr/sap/RP1/SYS/exe/run/rslgsend

lrwxrwxrwx 1 rp1adm sapsys 33 Mar 28 20:53 co.sapRP1_DVEBMGS00 ->

/usr/sap/RP1/SYS/exe/run/rslgcoll

lrwxrwxrwx 1 rp1adm sapsys 34 Mar 28 20:53 dw.sapRP1_DVEBMGS00 ->

/usr/sap/RP1/SYS/exe/run/disp+work

lrwxrwxrwx 1 rp1adm sapsys 35 Mar 28 20:53 ms.sapRP1_DVEBMGS00 ->

/usr/sap/RP1/SYS/exe/run/msg_server

-rw-rw-rw- 1 rp1adm sapsys 197 Mar 28 20:53 INSTSTAT

-rw-rw-rw- 1 rp1adm sapsys 2248 Mar 28 20:53 sapstart.log

-rw-rw-rw- 1 rp1adm sapsys 160 Mar 28 20:53 sapstart2.trc

-rw-rw-rw- 1 rp1adm sapsys 220 Mar 28 20:53 stderr2

-rw-rw-rw- 1 rp1adm sapsys 0 Mar 28 20:53 stdout2

-rw-rw-rw- 1 rp1adm sapsys 0 Mar 28 20:53 stdout4

-rw-rw-rw- 1 rp1adm sapsys 174 Mar 28 20:53 stderr4

-rw-rw-rw- 1 rp1adm sapsys 160 Mar 28 20:53 sapstart1.trc

-rwxrr 1 rp1adm sapsys 56 Mar 28 20:53 shutdown.sap

-rw-rw-rw- 1 rp1adm sapsys 174 Mar 28 20:53 sapstart4.trc

-rw-rr 1 rp1adm sapsys 810 Mar 28 20:53 dev_ms

-rw-rw-rw- 1 rp1adm sapsys 174 Mar 28 20:53 sapstart3.trc

-rw-rw-rw- 1 rp1adm sapsys 0 Mar 28 20:53 stdout3

-rw-rw-rw- 1 rp1adm sapsys 0 Mar 28 20:53 stdout1

skg:rp1adm>

no dev_disp / dev_w0.......

Sudip

markus_doehr2
Active Contributor
0 Kudos

And the instance and server name are the same/identical?

Markus

Sudip1
Participant
0 Kudos

Hi Markus,

Thanks for reply.

Yes. The SID / instance no etc. everything are same. Only the hostname is different and I have mentioned the places - where I have changed them.

Please advise.

Thanks & Regards

Sudip

markus_doehr2
Active Contributor
0 Kudos

Is the name of the host "skg" or is it a different one? I mean, did you rename the profiles also or did you just change the CONTENT of them reflecting the new name?

Markus

Sudip1
Participant
0 Kudos

Hi,

I have changed the content as well as the names like the start profile was earlier "START_DVEBMGS00_mps" which I have renamed to "START_DVEBMGS00_skg".

Also, the contents ... like "rdisp/enqname = mps_RP1_00" in DEFAULT.PFL has been changed to "rdisp/enqname = "skg_RP1_00". The instance profile has been changed from "RP1_DVEBMGS00_mps" to RP1_DVEBMGS00_skg" and so on...

Have you got any clue...?

Thanks & Regards

Sudip

markus_doehr2
Active Contributor
0 Kudos

Well.. what you've done is like "renaming" a host, which is not an easy task because it's not supported officially and thus not fully documented.

Is the SHLIB_PATH (and/or LD_LIBRARY_PATH) pointing to the correct /usr/sap/<SID>/exe and is the library dw_gui.so there?

Markus

Sudip1
Participant
0 Kudos

Hi Markus

Sorry for the late reply. My shift starts from now.

Please have a look at the following output:

skg:rp1adm> cd /usr/sap/RP1/SYS/exe/run

skg:rp1adm>

skg:rp1adm>

skg:rp1adm> pwd

/usr/sap/RP1/SYS/exe/run

skg:rp1adm>

skg:rp1adm> ll -rt dw*

lrwxrwxrwx 1 rp1adm sapsys 36 Mar 12 16:36 dw_gui.so -> /usr/sap/

RP1/SYS/exe/ctrun/dw_gui.so

lrwxrwxrwx 1 rp1adm sapsys 36 Mar 12 16:36 dw_stl.so -> /usr/sap/

RP1/SYS/exe/ctrun/dw_stl.so

lrwxrwxrwx 1 rp1adm sapsys 36 Mar 12 16:36 dw_xml.so -> /usr/sap/

RP1/SYS/exe/ctrun/dw_xml.so

lrwxrwxrwx 1 rp1adm sapsys 36 Mar 12 16:36 dw_xtc.so -> /usr/sap/

RP1/SYS/exe/ctrun/dw_xtc.so

lrwxrwxrwx 1 rp1adm sapsys 36 Mar 12 16:36 dw_mdm.so -> /usr/sap/

RP1/SYS/exe/ctrun/dw_mdm.so

skg:rp1adm>

skg:rp1adm> echo $SHLIB_PATH

/usr/sap/RP1/SYS/exe/run:/usr/sap/RP1/SYS/exe/runU

skg:rp1adm>

skg:rp1adm> ldd disp+work

libnsl.so.1 => /usr/lib/hpux64/libnsl.so.1

libpthread.so.1 => /usr/lib/hpux64/libpthread.so.1

dw_gui.so => ./dw_gui.so

dw_xml.so => ./dw_xml.so

dw_xtc.so => ./dw_xtc.so

dw_mdm.so => ./dw_mdm.so

dw_stl.so => ./dw_stl.so

libm.so.1 => /usr/lib/hpux64/libm.so.1

libdl.so.1 => /usr/lib/hpux64/libdl.so.1

libsec.so.1 => /usr/lib/hpux64/libsec.so.1

libstd_v2.so.1 => /usr/lib/hpux64/libstd_v2.so.1

libCsup.so.1 => /usr/lib/hpux64/libCsup.so.1

libunwind.so.1 => /usr/lib/hpux64/libunwind.so.1

libc.so.1 => /usr/lib/hpux64/libc.so.1

libxti.so.1 => /usr/lib/hpux64/libxti.so.1

libm.so.1 => /usr/lib/hpux64/libm.so.1

libuca.so.1 => /usr/lib/hpux64/libuca.so.1

skg:rp1adm>

It seems the shared libraries - that are used by disp+work process, are in proper.

Please advise what else can be checked.

Thanks & Regards

markus_doehr2
Active Contributor
0 Kudos

Looks good.

the only thing left that comes to my mind is the sapcpe. You´re using the ctrun mechanism to copy the binaries over.

anything strange in sapcpe.log?

Markus

Sudip1
Participant
0 Kudos

Hi Markus

Thanks for reply.

Please find below the content of the sapcpe.log :

skg:rp1adm> pg sapcpe.log

    • INFO: sapcpe version: @(#) $Id: //bas/640_REL/src/ccm/sapstart/sapxxcpe.c#

3 $ SAP

    • INFO: sappardem:

    • INFO: sapargv:

    • INFO: sapargrem:

Try to find file table sapcpeft

Try FileTable /usr/sap/RP1/SYS/exe/ctrun/sapcpeft

Found file table: /usr/sap/RP1/SYS/exe/ctrun/sapcpeft

SAP-R/3 Update Local Kernel Program

===================================

Starting at 2008/03/28 20:53:33

Checking the files in the file table

    • INFO: file /usr/sap/RP1/SYS/exe/ctrun/dbdb2slib.so is not existing and sta

tus -copy when file exists- is set

    • INFO: file /usr/sap/RP1/SYS/exe/ctrun/dbdb4slib.so is not existing and sta

tus -copy when file exists- is set

    • INFO: file /usr/sap/RP1/SYS/exe/ctrun/dbdb6slib.so is not existing and sta

tus -copy when file exists- is set

    • INFO: file /usr/sap/RP1/SYS/exe/ctrun/dbinfslib.so is not existing and sta

tus -copy when file exists- is set

    • INFO: file /usr/sap/RP1/SYS/exe/ctrun/libsapcrypto.so is not existing and

status -copy when file exists- is set

    • INFO: file /usr/sap/RP1/SYS/exe/ctrun/libsecude.so is not existing and sta

tus -copy when file exists- is set

Checking list files.

    • INFO: File-List "/usr/sap/RP1/SYS/exe/ctrun/frontend.lst" does not exist.

    • INFO: File-List "/usr/sap/RP1/SYS/exe/ctrun/instance.lst" exists.

    • INFO: File-List "/usr/sap/RP1/SYS/exe/ctrun/instancedb.lst" exists.

    • INFO: File-List "/usr/sap/RP1/SYS/exe/ctrun/tools.lst" does not exist.

    • INFO: File-List "/usr/sap/RP1/SYS/exe/ctrun/inhouse.lst" does not exist.

    • INFO: File-List "/usr/sap/RP1/SYS/exe/ctrun/dbclient.lst" does not exist.

Working on the files from the list file(s)

Files scanned......: 105 718.50 MB

    • All local files are up to date. **

Required Time......: 0:00

Errors detected....: 0

Warnings detected..: 0

skg:rp1adm>

Is there anything needs to be done here?

Please advise.

Thanks & Regards

markus_doehr2
Active Contributor
0 Kudos

Do the .lst files exist under ctrun?

Markus

Sudip1
Participant
0 Kudos

Hi

Following files are present others are not........

skg:rp1adm> pwd

/usr/sap/RP1/SYS/exe/ctrun

skg:rp1adm>

skg:rp1adm> ll -rt *.lst

-rwxrwxr-x 1 orarp1 dba 119 Oct 11 2004 dbatoolsora.lst

-rwxr-xr-x 1 rp1adm sapsys 187 Nov 5 2004 exe_ora.lst

-rwxr-xr-x 1 rp1adm sapsys 112 Nov 5 2004 instancedb.lst

-rwxr-xr-x 1 rp1adm sapsys 859 Aug 24 2007 instance.lst

skg:rp1adm>

skg:rp1adm>

Anything needs to be done here?

Thanks & Regards

Sudip

Former Member
0 Kudos

hi Sudip,

Could you check DIR_EXECUTABLE and DIR_CT_RUN refer to note 1104735?

Regards