Operating System - HP-UX
1827294 Members
2162 Online
109717 Solutions
New Discussion

problem after make_sys_image

 
Auma
New Member

problem after make_sys_image

Hi,
one of our server crashed during a make_sys_image -l 2,
we have reconfigured the network so far, but an application cannot start with the error:
ctr0: ... dld.sl cannot open error 0x00....02

fuser /usr/lib/dld.sl
shows that a least 10 processes access this lib without problem.

what dld.sl
returns 10.32


Can someone help?
--
Thanks, W.
5 REPLIES 5
Steve Steel
Honored Contributor

Re: problem after make_sys_image

Hi


Something like a link is missing or you are hitting a kernel ,protection or space problem.


What will not run

Regards

Steve Steel

Quote of the moment
-------------------
"We are drowning in information but starved for knowledge."
-- John Naisbitt
If you want truly to understand something, try to change it. (Kurt Lewin)
Jean-Louis Phelix
Honored Contributor

Re: problem after make_sys_image

hi,

dld.sl is the dynamic loader, so the problem is rather in crt0. See man dld.sl :

The /usr/lib/pa20_64/dld.sl program is the PA64 dynamic loader. The /usr/lib/dld.sl program is the PA32 dynamic loader. In programs that use shared libraries, dld.sl is invoked automatically at startup time by exec on PA64 and by the startup file crt0.o on PA32. Identical copies of crt0.o are kept in both /opt/langtools/lib and /usr/ccs/lib directories. The dynamic loader is, itself, a shared library, although it defines no symbols for use by user programs.

So have a look at crt0 in /opt/langtools/lib and /usr/ccs/lib, see if they both exist or differs.

Regards.
It works for me (© Bill McNAMARA ...)
Auma
New Member

Re: problem after make_sys_image

The error is
# ./getpath
crt0: ERROR couldn't open dld.sl errno:000000002

Steve:

# what /usr/lib/dld.sl
/usr/lib/dld.sl:
SMART_BIND
92453-07 dld dld dld.sl B.10.32 990202

link? perhaps but wich one?

Jean-Louis:

# ls -l /opt/langtools/lib
total 174
-r--r--r-- 1 bin bin 6936 Oct 29 1999 crt0.o

# ls -l /usr/ccs/lib
total 472
-r--r--r-- 1 bin bin 6936 Oct 29 1999 crt0.o


So, everything??s OK on this side.
--
Regards.
Steve Steel
Honored Contributor

Re: problem after make_sys_image

Hi


Are these there


#ln -s /usr/lib /lib
#ln -s /usr/bin /bin


Regards

Steve Steel

Quote of the moment
-------------------
"We are drowning in information but starved for knowledge."
-- John Naisbitt
If you want truly to understand something, try to change it. (Kurt Lewin)
Auma
New Member

Re: problem after make_sys_image

Great Steve, so easy...
I missed it.
It??s not 100% but I think I have to check some others links...
--
Regards,
Tony