1832237 Members
2216 Online
110041 Solutions
New Discussion

utmp error

 
Russ McGinley
Advisor

utmp error

I administer about 20 HP-UX workstations. On one particular workstation, I keep getting an error when I try to telnet into it, saying something about /etc/utmp file. If I go in on another workstation, and ssh into the machine, I can get in fine. If I go to the workstation, and try to log in, I can get in fine.

Anyone have any ideas about what would be causing this, and a fix for it?

Thanks,
Russ
4 REPLIES 4
T G Manikandan
Honored Contributor

Re: utmp error

check whether this link can help you.
check for the attachment there.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc3174b3ef09fd611abdb0090277a778c,00.html


THanks
Russ McGinley
Advisor

Re: utmp error

I have been just deleting the file, and recreating it, and it'll let me in. I haven't been doing the 'init q' part of it though. I've done what the attachment says, and we'll see. It usually happens every couple days. But yes, that is the same error as I'm getting.
Russ McGinley
Advisor

Re: utmp error

Welp.. 2 days later, and the exact same error on the machine. Any other suggestions?
Deshpande Prashant
Honored Contributor

Re: utmp error

HI
Are you using ssh or telnet to connect to this machine.
Earlier I had also faced similar problem when I had used openssh (3.0) on machine, causing intermittant corruption of wtmp file, I had downloaded ssh binaries and compiled on system to overcome this problem.

Thanks.
Prashant.
Take it as it comes.