Operating System - HP-UX
1847218 Members
2130 Online
110263 Solutions
New Discussion

no utmp entry - you must login from lowest level-sh

 
jaminas
Advisor

no utmp entry - you must login from lowest level-sh

I could'nt logon to my hp-ux box (ver 10.20)using the console. It shows the error messages in the subject above.

I can rlogin to it from another terminal but could not on the local console.

What is the cause? and permanent solution to it?
3 REPLIES 3
Jaime Bolanos Rojas.
Honored Contributor

Re: no utmp entry - you must login from lowest level-sh

Nasir, please log into your machine and make sure that your files system is not full.

Please post the output for bdf.

Regards,

Jaime.
Work hard when the need comes out.
Steven E. Protter
Exalted Contributor

Re: no utmp entry - you must login from lowest level-sh

Shalom,

The root fs is probably full.

The utmp entry can not be created because of this.

log in in single user mode and clear some files.

Or do it from root telnet/ssh session

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
jaminas
Advisor

Re: no utmp entry - you must login from lowest level-sh

Thanks to SEP & Jaime, I have solved the problem by doing the following steps:

# mv /etc/utmp /etc/utmp.bad
# touch /etc/utmp
# vi /etc/inittab

==> change the line that has

cons:123456:respawn .....

to

cons:123456:off.....

#init q

# vi /etc/inittab

==> change the previous line that you've edit back to what was before.

cons:123456:respawn .....

#init q


that does the magic!

bye