1846763 Members
4921 Online
110256 Solutions
New Discussion

Re: missing CDE files

 
Julian Snype
Advisor

missing CDE files

1st time booting up I could not log into CDE window. I logged into a Failsafe session as roor.
system - j5000 workstation running hp-ux 11i.

I ran a prgram - /usr/contrib/bin/X11/dr_dt
and it uncovered that the following CDE files are missing:
/usr/dt/bin/xmbind
/usr/dt/bin/suid_exec

How or where can I get a copy of these file and how would I load them.

Thanks
Julian
8 REPLIES 8
Steven E. Protter
Exalted Contributor

Re: missing CDE files

The first place I'd go for the files is a recent backup. make_tape_recovery would be best, an fbackup or other backup would probably work.

That not availble, the next place I'd go in a pinch would be go to another similar workstation.

The last resort would be doing the OS over, though I'm sure my colleagues can think of better solutions. Maybe someone with a j class workstation will post them up for you.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Fred Ruffet
Honored Contributor

Re: missing CDE files

I do not have those files, and cde is running fine... does dr_dt gives you an error or a warning on those files ?
--

"Reality is just a point of view." (P. K. D.)
Julian Snype
Advisor

Re: missing CDE files

my system is from a lease and it came preloaded with fresh copy of 11i.

in dr_dt -
It states that these files "does not exist - may have been a problem at installation" I'm looking for answers as to why I cannot log into CDE as root(1st time boot). Which I need to do since there are no users accounts created.
The following message keeps popping up and freezeing the workstation
"Desktop Messaging system could not be started"

Thanks
J
Rick Beldin
HPE Pro

Re: missing CDE files

The lack of either of those files would not prevent you from logging in. suid_exec doesn't exist on 11.11 with current patches. I believe that is a mistake with dr_dt.

Look for networking problems to cause that kind of message - lack of name resolution, rpc problems, ect. There are many articles along those lines.
Necessary questions: Why? What? How? When?
Robert-Jan Goossens
Honored Contributor

Re: missing CDE files

Hi Julian,

I would suggest to download the latest CDE patches ( even the last quality packs ) I've got a feeling the wokstation is not patch uptodate.

http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=QUALITYPACK

http://www5.itrc.hp.com/service/patch/search.do

( search CDE and 11.i )

KInd regards,
Robert-Jan

Julian Snype
Advisor

Re: missing CDE files

you guys are providing me lots of info in helping me to fix this problem.

I need to narrow the gap in determining what problem is:

Where can I look to find out what CDE patches are already on my machine. I would like to know what I have out vs what I need to load.

dr_dt:
return 0 errors
4 warnings


IT was mention that my login problem could lack of resolution? rpc problems? I could be looking for a needle in the haystack. Is there a program that i can run or file that I can check that will give me some type of hint that will narrow my search. This would be very helpful.

Part of my problem could be link to NSSWITCH.CONF file. The file was missing. I added it, with the following entry.

host: file dsn

I rebooted my machine. I got a blank CDE screen, "No CDE login window" . I don't know why.
I edited the NSSWITCH.CONF file and commented out the entry. The CDE window reappeared and I was back to my 1st problem of not being able to login because "Desktop messaging could not be started" .
what a vicious circle.....
Can anyone tell me where I can find this message. Maybe I can learn a little more how it is being triggered(Just a thought). Is there a command that I can use to start CDE from root?

Thanks again for all your help

Julian
Robert-Jan Goossens
Honored Contributor

Re: missing CDE files

Hi Julian,

About the /etc/nsswitch.conf, there are examples in the /etc directory ( # ls /etc | grep nsswitch ) --> host: files dns

To check for installed cde patches run this command.

# swlist -l product | grep -i cde

Robert-Jan
KapilRaj
Honored Contributor

Re: missing CDE files

Most of the time I found this error comes from networking services

I check it by a simple check

If I have systemA === 10.0.0.1

#host systemA
#host 10.0.0.1

Are these outputs the same ?. Also keep a minimum /etc/hosts file just to define all the adapters in the system nothing else . In this scenario , I would keep

10.0.0.1 systemA #(Primary adapter)
20.0.0.1 systemA-eth1 # Secondary adapter

Regds,

Kaps
Nothing is impossible