Operating System - HP-UX
1829745 Members
1206 Online
109992 Solutions
New Discussion

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

 
SOLVED
Go to solution
Robychen
Occasional Contributor

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

Hi,

When our programmer run a "c" program after compiling it, we get an error as given below.

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

Server : L1000
Os version :11.00

Can anybody help me out in this.

Regards

Roby
6 REPLIES 6
Muthukumar_5
Honored Contributor

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

how did you try to compile there? what is the compile time optionst there.?

crt0: ERROR couldn't open /usr/lib/dld.sl errno: 000000024 is not enough to analyse the problem. what is the program you tried.?
Easy to suggest when don't know about the problem!
john korterman
Honored Contributor
Solution

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

Hi,
I think the error is that there are too many open files. I base that on the idea that 24 is a general error code, e.g.:

# grep 24 /usr/include/sys/errno.h
.....
#define EMFILE 24 /* Too many open files */
.........

I suggest you try and check that by running
# sar -v 2 10


and pay special attention to the file-sz column when your programmer runs his program. If it is near the limit then try to increase the maxfile parameter.


regards,
John K.

it would be nice if you always got a second chance
Kent Ostby
Honored Contributor

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

EMFILE 24 /* Too many open files */

[EMFILE] Too many open files. No process may have more than a
system-defined number of file descriptors open at a
time.

Check out maxfiles.

Best regards,

Kent M. Ostby
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Prashant Zanwar_4
Respected Contributor

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

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=220207

This may help in diagnosing the problem.

Thanks
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Prashant Zanwar_4
Respected Contributor

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

It has to do with nfile. YOu will have to change the parameter nfile seems..

root@crdushp5:/usr/include/sys

# ls -al err*
-r--r--r-- 1 bin bin 8747 Oct 27 1997 errno.h

root@crdushp5:/usr/include/sys

# grep 24 errno.h
#define EMFILE 24 /* Too many open files */

root@crdushp5:/usr/include/sys

Check you nfile parameter and analyse using sar/glance.

Thanks
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
bhavin asokan
Honored Contributor

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

dear roby,

increase the parameters nfile and maxusers in the kernel.

regds,