Operating System - HP-UX
1836372 Members
2214 Online
110100 Solutions
New Discussion

Re: crt0: ERROR couldn't open /usr/lib/dld.sl errno:000000002

 
Hakan Eren
Occasional Advisor

crt0: ERROR couldn't open /usr/lib/dld.sl errno:000000002

 
hi
3 REPLIES 3
Andy Monks
Honored Contributor

Re: crt0: ERROR couldn't open /usr/lib/dld.sl errno:000000002

looks like you need to increase nfile.

run sar to see the usage (it will be very high).
RikTytgat
Honored Contributor

Re: crt0: ERROR couldn't open /usr/lib/dld.sl errno:000000002

Hi,

The error 2 means that the file does not exist. This seems quite normal to me, because it is being looked for BEFORE the file systems are mounted. Since dld.sl is on /usr and /usr is not mounted at that time, the error occurs.

Have you changed the script? At this time, only statically linked executables should be used. Maybe you changed the shell on the first line of the script? Or maybe your /sbin/sh got overwritten by a dynamically linked one?? ( check this by doing chatr /sbin/sh and look for shared lib paths).

Further down your logging, you have a couple of shell syntax errors. Try to straighten them out, too.

Personally, I don't think you should increase your nfiles kernel parameter, since not much is going on at the moment of the problem.


Hope this helps,
Rik.
John Waller
Esteemed Contributor

Re: crt0: ERROR couldn't open /usr/lib/dld.sl errno:000000002

Try checking whether inetd is running. It could be you have a problem with /etc/inetd.conf which controls ftpd telnetd rlogind.

Also you stopped the information recorded in /etc/rc.log after the swagentd stuff. Is this where the log stops are is their other stuff after this point.