Operating System - HP-UX
1827249 Members
2302 Online
109716 Solutions
New Discussion

Changed IP & Hostname : an account hangs / CDE

 
SARDIN Christian
Occasional Contributor

Changed IP & Hostname : an account hangs / CDE

I posted yesterday, I try to give more informations:

I changed IP from 126.0.0.120 to 126.0.3.120
and simbapi to simba3pi
I have no DNS and I only modified /etc/rc.config.d/netconf (IP and name)
/etc/hosts includes both names.


Almost everything is OK... but
I have an account "start" which used to work (with old name).
Now it hangs. If I rlog on that station I can see what's going on :
(It should work in failsafe mode, but I need CDE mode)


See attached file

I really do not understand !!!

Thanks
5 REPLIES 5
T G Manikandan
Honored Contributor

Re: Changed IP & Hostname : an account hangs / CDE

Check the user's $HOME/.dt/startlog and $HOME/.dt/errorlog files

Also check the users .profile file as whether he defined some script there which make it hang or set the DISPLAY variable.
Jeroen Peereboom
Honored Contributor

Re: Changed IP & Hostname : an account hangs / CDE

L.S.

I must admit it looks weird. It seems to be depending on the actual username.

Some wild guesses:
* Of course you have rebooted the system.
* I wonder if you have installed patches or new software recently?

* One might think that CDE uses a 'start' command, which may be a problem if the user's homedir is in the search path.

* What do /var/tmp/.Xauth files do?

* create a new user start2 just for testing?

But then again, it used to work?!

JP
Elmar P. Kolkman
Honored Contributor

Re: Changed IP & Hostname : an account hangs / CDE

1) Did you, or did you not, reboot the system after making the changes?
2) Is the hostname correct in /etc/netconf
3) Does the user have an .xauthority file perhaps? Or an xhost command in his .dtprofile? Or something like that?

You could try to move the .dt and .dtprofile in his homedirectory to a save place and again try to login (with default settings) as that user. That might be a working workaround.
Every problem has at least one solution. Only some solutions are harder to find.
Ravi_8
Honored Contributor

Re: Changed IP & Hostname : an account hangs / CDE

Hi,

check for any DISPLAY variable set in .profile file.

also you can try by restarting the n/w

#/sbin/init.d/net stop
#/sbin/init.d/net start
never give up
Trond Haugen
Honored Contributor

Re: Changed IP & Hostname : an account hangs / CDE

A bit late for this advise but when changing IPaddress you should use '/etc/set_patms ip_address'. Other options are:
hostname
timezone
date_time
root_passwd
addl_netwrk
or initial (for entire initial boot-time dialog sequence)

Regards,
Trond
Regards,
Trond Haugen
LinkedIn