Operating System - HP-UX
1846934 Members
8383 Online
110256 Solutions
New Discussion

CDE Problem in HP-UX 11.00

 
SOLVED
Go to solution
Harinath N
Frequent Advisor

CDE Problem in HP-UX 11.00

Hi,

In our HP9000 B1000 System running HP-UX 11.00,
CDE is not getting opened in Console. It gives error as,

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

The same error is getting generated for the following rc scripts, while the system is booting.

1. clean_uucp
2. tps.rc (X Print server)
3. dtlogin.rc

We tried even to start the CDE by manually starting dtlogin.rc, but got the same error. At the same time,
we are able to access the CDE of the same system from a PC through Exceed. The system is used for OV application(NNM 6.1).

Please help me on this.

Thanks and Regards,
N.Harinath.
7 REPLIES 7
Steven Sim Kok Leong
Honored Contributor

Re: CDE Problem in HP-UX 11.00

Hi,

Check your nfiles kernel parameter. The error message you received can be caused by insufficient file handles that can be opened. To resolve, increase the nfiles kernel parameter.

To check your nfiles parameter, execute

# kmtune |grep nfiles

Hope this helps. Regards.

Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
Samboja
Advisor

Re: CDE Problem in HP-UX 11.00

Try to run this command :

#dr_dt

to see what happened on your CDE, look at error section and fixed them as guided, also you might look at permissions on /usr if 666, change them to 555.

rgds,

Boja

James R. Ferguson
Acclaimed Contributor

Re: CDE Problem in HP-UX 11.00

Hi:

Error number 13 is a 'permission denied' error. Verify that the permissions of '/usr/lib/dld.sl' [ and the parent directories ] are readable and executable by all (-r-xr-xr-x) and that the ownership is 'bin:bin'.

You can locate the error number and its text as follows:

# grep 13 /usr/include/sys/errno.h

This will return:

EACCES 13 /* Permission denied */

Regards!

...JRF...
Harinath N
Frequent Advisor

Re: CDE Problem in HP-UX 11.00

Hi,

Thanks to all for the replies.

1. The file permission for /usr/lib/dld.sl is 555 only.

2. The current value of nfile is 4146.

3. Executed dr_dt and found a message as "ifconfig: no such interface". Is anything to do with this?. Also iam attaching the entire "dr_dt" output.

The DISPLAY variable seems to be ok. We tried exporting it once again with IP:0.0 format, but still dtlogin.rc(CDE), clean_uucp and tps.rc was giving the same problem.

Regards,
N.Harinath.
Harinath N
Frequent Advisor

Re: CDE Problem in HP-UX 11.00

Hi,

Thanks to all for the replies.

1. The file permission for /usr/lib/dld.sl is 555 only.

2. The current value of nfile is 4146.

3. Executed dr_dt and found a message as "ifconfig: no such interface". Is anything to do with this?. Also iam attaching the entire "dr_dt" output.

The DISPLAY variable seems to be ok. We tried exporting it once again with IP:0.0 format, but still dtlogin.rc(CDE), clean_uucp and tps.rc was giving the same problem.

Regards,
N.Harinath.
Steven Sim Kok Leong
Honored Contributor
Solution

Re: CDE Problem in HP-UX 11.00

Hi,

From your dr_dt output, your / directory has permissions dr-------- (400).

The permissions of / should instead be: drwxr-xr-x (755)

You should change the permissions of / ie.

# chmod 755 /

This should solve your problems.

Hope this helps. Regards.

Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
Sanjay_6
Honored Contributor

Re: CDE Problem in HP-UX 11.00