Operating System - HP-UX
1831665 Members
2103 Online
110029 Solutions
New Discussion

no utmp : login from lowest of exec.sh

 
SOLVED
Go to solution
Rgomes
Valued Contributor

no utmp : login from lowest of exec.sh

Hi All,

I am having problem in my rp8400 server.

No user is able to login to server. Error message:

"No utmp: login from lowest of exec.sh".

Any clue?

Thanks and regards

Richard
8 REPLIES 8
Michael Tully
Honored Contributor

Re: no utmp : login from lowest of exec.sh

Is it possible to login from the system console as 'root'?
Anyone for a Mutiny ?
Michael Tully
Honored Contributor
Solution

Re: no utmp : login from lowest of exec.sh

On further investigation it seems that your /etc/utmp file could be corrupted. If this is the case, you may have to reboot your system into single user mode and recreate the /etc/utmp file.

If your already logged in move the old /etc/utmp file out of the way and create a new one.

Be careful of the permissions, they should be 644 root root
Anyone for a Mutiny ?
Michael Tully
Honored Contributor

Re: no utmp : login from lowest of exec.sh

On further investigation it seems that your /etc/utmp file could be corrupted. If this is the case, you may have to reboot your system into single user mode and recreate the /etc/utmp file.

If your already logged in move the old /etc/utmp file out of the way and create a new one.

Be careful of the permissions, they should be 644 root root
Anyone for a Mutiny ?
U.SivaKumar_2
Honored Contributor

Re: no utmp : login from lowest of exec.sh

Hi,

IF noone can login do this, reboot the system in to single user mode and give this command in the root prompt

>/etc/utmp

Go to multiuser mode your problem is solved.

regards,
U.SivaKumar


Innovations are made when conventions are broken
T G Manikandan
Honored Contributor

Re: no utmp : login from lowest of exec.sh

Rgomes
Valued Contributor

Re: no utmp : login from lowest of exec.sh

Hi All,

Thanks for your reply.

Yes, only one root is logged into the server.

Should I remove the /etc/utmp, recreate it with right permission?

Thanks all

Richard
U.SivaKumar_2
Honored Contributor

Re: no utmp : login from lowest of exec.sh

Hi,

Don't remove the utmp as it is locked by login
process , so the login program may even hang.

This is safe to recreate it without removing

#cp /dev/null /etc/utmp

(or)

#>/etc/utmp

regards,
U.SivaKumar
Innovations are made when conventions are broken
Rgomes
Valued Contributor

Re: no utmp : login from lowest of exec.sh

Hi All,

Thank you all, it was really a great help. At least, now I know why it's happening.

I am following the hp doc.
Thanks again,

Richard