Unix Technical Forum

CDE problem in 11i ?

This is a discussion on CDE problem in 11i ? within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> hi there I had hoped to get a bit further in to my voyage of HP-UX discovery before making ...


Go Back   Unix Technical Forum > Unix Operating Systems > HP-UX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 07:56 PM
Frederick Smith
 
Posts: n/a
Default CDE problem in 11i ?

hi there

I had hoped to get a bit further in to my voyage of HP-UX discovery
before making an ass of myself, but apparently its not to be.
I have recently aquired a Visualise C3600 workstation, which may have a
defective install of 11i. When powered up, the CDE starts, then I get a
"Action Required " window, telling me that the desktop messaging system
could not be started and that I need to login with a Failsafe session,
check that the hostname is correct and that the network is properly
configured - but where do I start. I can telnet in to it, and it will
ping a public host by name.

I have a screenshot of this if anyone is interested, but I have a
feeling that one of you may have seen this before ....

Regards


Frederick
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 07:56 PM
Kevin Collins
 
Posts: n/a
Default Re: CDE problem in 11i ?

In article <442d847d$1_3@mk-nntp-2.news.uk.tiscali.com>, Frederick Smith wrote:
> hi there
>
> I had hoped to get a bit further in to my voyage of HP-UX discovery
> before making an ass of myself, but apparently its not to be.
> I have recently aquired a Visualise C3600 workstation, which may have a
> defective install of 11i. When powered up, the CDE starts, then I get a
> "Action Required " window, telling me that the desktop messaging system
> could not be started and that I need to login with a Failsafe session,
> check that the hostname is correct and that the network is properly
> configured - but where do I start. I can telnet in to it, and it will
> ping a public host by name.
>
> I have a screenshot of this if anyone is interested, but I have a
> feeling that one of you may have seen this before ....
>
> Regards
>
>
> Frederick


Frederick,

you may want to try running: /usr/contrib/bin/X11/dr_dt. This script is
designed to diagnose issues with the CDE configuration and system configuration
which may cause problems for CDE.

CDE is very network sensitive - make sure your hostname and IP resolve forward
and reverse. What does your /etc/nsswitch.conf look like? What are you using
for hosts resolution (files, dns, nis, etc)?

Try this:

# nslookup your_host_name
# nslookup your_ip_address

Do both return information and does the information match? It should...

Kevin

--
Unix Guy Consulting, LLC
Unix and Linux Automation, Shell, Perl and CGI scripting
http://www.unix-guy.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 07:56 PM
Matti Juhani Kurkela
 
Posts: n/a
Default Re: CDE problem in 11i ?

Frederick Smith <batman@microsoft.com> writes:

> I have recently aquired a Visualise C3600 workstation, which may have
> a defective install of 11i. When powered up, the CDE starts, then I
> get a "Action Required " window, telling me that the desktop messaging
> system could not be started and that I need to login with a Failsafe
> session, check that the hostname is correct and that the network is
> properly configured - but where do I start. I can telnet in to it, and
> it will ping a public host by name.


Four files to check:

- /etc/rc.config.d/netconf - hostname, IP address(es) and gateway(s)
are defined there. If the workstation is set up to use DHCP, that is
done here, too.

- /etc/resolv.conf - this defines the domain and the DNS nameservers
the workstation will use. If DHCP is in use and working properly,
this file should get updated automatically.

- /etc/hosts - there MUST be an entry for the workstation itself,
containing the workstation's IP address and hostname. This entry
must agree with the information in the two files mentioned above.

There MUST also be an entry for "localhost" with IP address 127.0.0.1.

- /etc/nsswitch.conf - if this file does not exist, the workstation
will use default values that are usually sensible. If it exists,
check the line that begins with "hosts:". It should mention both
"files" and "dns". There should be several example nsswitch.conf
files in the /etc directory, named like /etc/nsswitch.*.


You can change all these things using SAM, but for information
gathering it is usually faster to check these files directly.

--
Matti.Kurkela@welho.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-16-2008, 07:57 PM
Frederick Smith
 
Posts: n/a
Default Re: CDE problem in 11i ?

Matti Juhani Kurkela wrote:
> Frederick Smith <batman@microsoft.com> writes:
>
>
>>I have recently aquired a Visualise C3600 workstation, which may have
>>a defective install of 11i. When powered up, the CDE starts, then I
>>get a "Action Required " window, telling me that the desktop messaging
>>system could not be started and that I need to login with a Failsafe
>>session, check that the hostname is correct and that the network is
>>properly configured - but where do I start. I can telnet in to it, and
>>it will ping a public host by name.

>
>
> Four files to check:
>
> - /etc/rc.config.d/netconf - hostname, IP address(es) and gateway(s)
> are defined there. If the workstation is set up to use DHCP, that is
> done here, too.
>
> - /etc/resolv.conf - this defines the domain and the DNS nameservers
> the workstation will use. If DHCP is in use and working properly,
> this file should get updated automatically.
>
> - /etc/hosts - there MUST be an entry for the workstation itself,
> containing the workstation's IP address and hostname. This entry
> must agree with the information in the two files mentioned above.
>
> There MUST also be an entry for "localhost" with IP address 127.0.0.1.
>
> - /etc/nsswitch.conf - if this file does not exist, the workstation
> will use default values that are usually sensible. If it exists,
> check the line that begins with "hosts:". It should mention both
> "files" and "dns". There should be several example nsswitch.conf
> files in the /etc directory, named like /etc/nsswitch.*.
>
>
> You can change all these things using SAM, but for information
> gathering it is usually faster to check these files directly.
>



Thanks for that Matti - there was a skeleton nsswitch.conf file in
there, with no mention of dns. I edited it manually and the system is
now working.
My Solaris system has a template file called nsswitch.dns which I used
to get it started - something like that might have been useful on HP-UX ...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-16-2008, 07:57 PM
Mikko Nahkola
 
Posts: n/a
Default Re: CDE problem in 11i ?

On 2006-04-08, Frederick Smith <batman@microsoft.com> wrote:
> Matti Juhani Kurkela wrote:
>> Frederick Smith <batman@microsoft.com> writes:


>>>I have recently aquired a Visualise C3600 workstation, which may have
>>>a defective install of 11i. When powered up, the CDE starts, then I
>>>get a "Action Required " window, telling me that the desktop messaging
>>>system could not be started and that I need to login with a Failsafe
>>>session, check that the hostname is correct and that the network is
>>>properly configured - but where do I start. I can telnet in to it, and
>>>it will ping a public host by name.

>>
>> - /etc/nsswitch.conf - if this file does not exist, the workstation
>> will use default values that are usually sensible. If it exists,
>> check the line that begins with "hosts:". It should mention both
>> "files" and "dns". There should be several example nsswitch.conf
>> files in the /etc directory, named like /etc/nsswitch.*.


> Thanks for that Matti - there was a skeleton nsswitch.conf file in
> there, with no mention of dns. I edited it manually and the system is
> now working.
> My Solaris system has a template file called nsswitch.dns which I used
> to get it started - something like that might have been useful on HP-UX ...


There usually is. Something like, at least.

-r--r--r-- 1 bin bin 547 Nov 14 2000 /etc/nsswitch.compat
-r--r--r-- 1 bin bin 372 Nov 14 2000 /etc/nsswitch.files
-r--r--r-- 1 bin bin 574 Nov 14 2000 /etc/nsswitch.hp_defaults
-r--r--r-- 1 bin bin 532 Nov 14 2000 /etc/nsswitch.nis
-r--r--r-- 1 bin bin 585 Nov 14 2000 /etc/nsswitch.nisplus
-r--r--r-- 1 root sys 590 May 16 2003 /etc/nsswitch.conf

Although there have been times when the nsswitch.hp_defaults wasn't the
same as the hardcoded default, but anyway...


--
Mikko Nahkola <mnahkola@trein.ntc.nokia.com>
#include <disclaimer.h>
#Not speaking for my employer. No warranty. YMMV.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:12 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com