Operating System - HP-UX
1830895 Members
1795 Online
110017 Solutions
New Discussion

hp-ux messaging server not running

 
Dwayne Kilgore
New Member

hp-ux messaging server not running

We have an rx2600 itanium box with a fresh install of HP-UX. after the installation was completed and thesystem rebooted to the cde login screen, we attempted to login as root. It logged in and displayed the filemagr screen and the help screen. It then gave us an error stating the "desktop messaging server is not running: the possible fixes included the system name not defined in the host file, cde not properly loaded and another error. Once you click on the ok, you are logged out and the cde login screen re-appears.
7 REPLIES 7
Robert-Jan Goossens
Honored Contributor

Re: hp-ux messaging server not running

Dwayne,

Try to login with a failsafe session or boot into single user mode.

Check the /etc/hosts file and the /etc/rc.config.d/netconf file for errors.

# nslookup host_name
# nslookup ip_of_host_name

should have the same output.

Hope this helps,
Robert-Jan
Dwayne Kilgore
New Member

Re: hp-ux messaging server not running

Thanks. I looked at the /etc/hosts file and the /etc/rc.config.d/netconf file. There are not apparent errors. The nslookup resulted in the same output.

The error still exsist.

the third step in the message is:

3 - check to see that the desktop is properly installed, the hostname is correct (/etc/hosts), and the network is properly configured.

I can ping other systems and I can ping this system from other systems. The FTP is working. Not sure what else to check. Not sure how to make sure the desktop is properly configured also. It comes up but then I get the error message. The failsafe session comes up fine.

Thanks

Robert-Jan Goossens
Honored Contributor

Re: hp-ux messaging server not running

could you check the files below for errors?

/.dt/sessionlog
/var/adm/syslog/syslog.log

Run this command.
# dr_dt

check again for the error messages
generic_1
Respected Contributor

Re: hp-ux messaging server not running

I would check nsswitch.conf too.
Check your permissions.
Maybee do a swlist -l patch -a state
and make sure everything says configured since its a new install.
Dwayne Kilgore
New Member

Re: hp-ux messaging server not running

I ran the dr_dt command. I fixed all that it recommended except for the following. There seemed to be some missiong files.

/etc/X11/X0screens, X0devices , X0pointerkeys


the /usr/adm/sw/swverify.log and the swagent.log did not reveal anything.

I suspect that cde will need to be re-installed, but will avoid it if possible.

the swlist -l patch -a state showed all is configured.
The resolv.conf looks good.

This is a hp-ux box so the nsswitch.conf file does not exsist.
RAC_1
Honored Contributor

Re: hp-ux messaging server not running

) From the CDE login select Options -> Session -> Failsafe Session
and login as root.
2) Run /usr/contrib/bin/X11/dr_dt. The end of the output from this
script says: X ERRORs and X WARNINGs. These errors and warnings
should be resolved before CDE will run properly.
3) Check the error log /var/dt/Xerrors
Check the error log $HOME/.dt/errorlog
4) The output from "nslookup " and "nslookup " should
be the same. This checks for a) duplicate IP addresses or
hostnames or b) problems with name resolution. If nslookup fails
then CDE will fail to start. If the first line returned from nslookup
is: "Name Server" then you are using DNS. Move "/etc/resolv.conf" to
another name, i.e. /etc/resolv.conf.orig and then try logging into CDE again. if it works there's a problem wrt name resolution.
5) Check permissions and ownership of the following files:
-r--r--r-- 1 bin bin 616 Jul 1 16:03 /etc/hosts
-r--r--r-- 1 root sys 1010 Jun 25 18:22 /var/adm/inetd.sec
6) Check the contents of /var/adm/inetd.sec. It should contain
dtspc allow
spc allow
mserve allow
If not add the lines and run "/usr/sbin/inetd -c" to reread the file.
7) /usr/sbin/ping
You should get back 0% packet loss. If you get something different
then check your network configuration.
8) Make sure the $LANG environment variable is set correctly. It should
be set to C or unset for American-English.
9) Exit the failsafe session. From the CDE login select Options ->
Command Line Login. When the screen turns black, press and
you should get a Console Login prompt. Login as root.
10) mv $HOME/.dt $HOME/.dt.orig
mv $HOME/.dtprofile $HOME/.dtprofile.orig
exit (to return to CDE) - try logging in as root.


If required also try restarting rpc.ttdbserver damon.
There is no substitute to HARDWORK
Dwayne Kilgore
New Member

Re: hp-ux messaging server not running

There seems to be a contridiction of warnings to be fixed.
INFO: Checking / validity

WARNING: The / directory is not properly
configured. The current configuration is:
permissions = drw-rw-rw-
owner = root
group = root
For HP CDE to function correctly, it should be a
directory with the following configuration:
permissions = dr-xr-xr-x
owner = root
group = sys


Although the permissions of your home directory may
be different from the above, please check that you
are able to write to your own directory.



INFO: Checking CDE/Vue startup for possible conflicts...

INFO: Checking existence/permissions of certain system directories...

WARNING: The / directory is not properly
configured. The current configuration is:
permissions = drw-rw-rw-
owner = root
group = root
For HP CDE to function correctly, it should be a
directory with the following configuration:
permissions = drwxr-xr-x
owner = root
group = root


It seems to be telling me to do two different things for the / directory. WHich is correct and is tis really the / root directory of the start point for the cde files and such.