Operating System - HP-UX
1825719 Members
2853 Online
109686 Solutions
New Discussion

HP-UX network cofiguration

 
GofMass
New Member

HP-UX network cofiguration

Hi
I'm new about UNIX, but now I've to use HP9000 with HP-UX 10.20 workstation. I'm trying to configure the network, I've changed the file /etc/rc.conf.d/netconf with my IP address and the right gateway, so the HP9000 is on the net, I've tried a ping.
But now I've a problem I can't start the CDE, because after the login the desktop doesn't appear, if I disconnect the LAN cable after few seconds the desktop is loaded but HP9000 give this message: "Unable to initialize or connect the Desktop messaging systems. Check your $HOME/.dt/errorlog for more information.".
Please help.

Thanks
GofMass
8 REPLIES 8
Robert-Jan Goossens
Honored Contributor

Re: HP-UX network cofiguration

Hi,

Did you update the /etc/hosts file with the new ip-address?

Check if the /etc/nsswitch.conf file is in place, if not cp the /etc/nsswitch.files to the /etc/nsswitch.conf.

also check if you have backup files in the /etc/rc.conf.d directory, if so move them to an other direcory.

Regards,
Robert-Jan

Ps.
# set_parms initial
this script will configurate the initial name/network conf for your system.

Regards,
Robert-Jan
GofMass
New Member

Re: HP-UX network cofiguration

ok
I'll change the /etc/hosts with the same IP of the netconfig, but what I've to do in the /etc/nsswitch.conf.

Thanks
Robert-Jan Goossens
Honored Contributor

Re: HP-UX network cofiguration

Hi,

If you are using the /etc/hosts file for name resolution, you should have a line

hosts: files

in the /etc/nsswitch.conf.

Regards,
Robert-Jan
Rasheed Tamton
Honored Contributor

Re: HP-UX network cofiguration

Hi,

Can you please run the below script:

/usr/contrib/bin/X11/dr_dt | more

and see whether you are getting any clues from the output of the script. Normally it is because of the name service resolution (NS) problem as Robert-Jan said above.

Sometimes, it checks the permission of the /etc/hosts also.

Also check the logs:
~/.dt/errorlog
~/.dt/startlog
( ~ is the home directory)

Regards,
Rasheed Tamton.
GofMass
New Member

Re: HP-UX network cofiguration

Thanks
excuse me but I'm a UNIX newbies, in the /etc/hosts file I've to insert only one line with my IP and the host name?
for example:

143.225.###.### pippo

it is OK?

and what in the /etc/nsswitch.conf., the DNS address?

Thanks
Robert-Jan Goossens
Honored Contributor

Re: HP-UX network cofiguration

also add below line in the /etc/hosts file

127.0.0.1 localhost loopback

If you would like to configure dns resolving, first add the dns ip-addresses of you primary and secondary dns servers to the /etc/reslv.conf and then change the line

hosts: files [NOTFOUND=continue TRYAGAIN=continue] dns

in the /etc/nsswitch.conf.

Robert-Jan Goossens
Honored Contributor

Re: HP-UX network cofiguration

add on,

the /etc/resolv.conf should look like below example.

domain mydomain.com
nameserver xxx.xxx.xxx.xxx #primary dns
nameserver xxx.xxx.xxx.xxx #secondary dns

Regards,
Robert-Jan
GofMass
New Member

Re: HP-UX network cofiguration

thanks I've modified the /etc/hosts and everything goes right!