Operating System - HP-UX
1833792 Members
2159 Online
110063 Solutions
New Discussion

Memory fault while logging

 
SOLVED
Go to solution
Steve Hémond
Occasional Contributor

Memory fault while logging

Hi everybody,

When logging using a specific user account on our HP-UX box, it doesn't give me the shell. If I telnet the server and login, it prints the motd, then it prints 'Memory fault' then disconnect automatically.

Did anyone has ever catched this error before?

Thanks!

Steve
4 REPLIES 4
Pete Randall
Outstanding Contributor

Re: Memory fault while logging

Steve,

Check this user's /etc/passwd entry, particularly the startup program to see if there's anything odd specified there. Also check this users home directory and it's contents for strange profile/startup script entries.


Pete


Pete
Umapathy S
Honored Contributor

Re: Memory fault while logging

Steve,
Check whether the user has a valid shell in /etc/passwd.

There may be some scripts/programs called by the users .profile which causes the memory fault. Is any core file generated. What does file core reports.

HTH,
Umapathy
Arise Awake and Stop NOT till the goal is Reached!
Elena Leontieva
Esteemed Contributor
Solution

Re: Memory fault while logging

Steve,

It could be a corrupt .sh_history file for that user. Delete it and touch a new one.
Steve Hémond
Occasional Contributor

Re: Memory fault while logging

Thanks Elena, THAT was the problem.

I can log in smoothly now! :-)

But... how do you KNOW that? How can a .sh_history file give me that kind of error? I have edited that file before deleting it and it seems to be fine! ;-) How could someone think of that?

Thanks again,

Steve