1838491 Members
3142 Online
110126 Solutions
New Discussion

System hangs after login

 
SOLVED
Go to solution
Nwabisa Mtila
Occasional Contributor

System hangs after login

Please help,my K580 just hangs after login trying to switch to root,it does not give me a command prompt,just hangs,it gives me the same problem on the console itself,what could possibly be the problem?
7 REPLIES 7
RAC_1
Honored Contributor
Solution

Re: System hangs after login

May be root's .profile has something that is causing the problem. Do "su root" Does it work??

Anil
There is no substitute to HARDWORK
Jeff Schussele
Honored Contributor

Re: System hangs after login

Hi,

I would suspect something in root's environment. Something in the .profile, .kshrc or even an alias file.
You should login as a normal user & su root (Don't su - root) and then check root's startup environment.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Nwabisa Mtila
Occasional Contributor

Re: System hangs after login

the system looks like it has accepted the login to root,but it just hangs without showing the prompt.
Asif Sharif
Honored Contributor

Re: System hangs after login

Hi,

What is the response when you are logging in with normal user?

Asif
Regards,
Asif Sharif
Andrew Cowan
Honored Contributor

Re: System hangs after login

When you says hangs after login, do you mean you login as root, and then it hangs? If this is the case then you have proabaly setup the system with NFS and it id trying to resolve it's own hostname. The hang you are seeing is the NFS timeout.

When you eventually get logged in, check you hostname is resolver order, and ensure it is set to FILES first and your hostname and IP-Address is included in "/etc/hosts".
Eknath
Trusted Contributor

Re: System hangs after login

Hi,

do you see any message on console like "/ file system full " or do you remember the home directory of root (any command in .profile that refers to NFS)
Pls post the screen message when it hangs...

cheers !!!
eknath
Nwabisa Mtila
Occasional Contributor

Re: System hangs after login

Thank you everyone for your help,it looks like the problem was caused by an incorrect entry in the .profile file.After removing the entry the problem was solved.Thank you for taking your time to respond,very much appreciated.


Cheers