- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: no utmp entry
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2004 08:34 PM
10-12-2004 08:34 PM
no utmp entry
I have a problem with a RP8400 with a HPUX 11.i .When I log to our server an error occur :
No utmp entry . You must exec "login" from the lowest level "sh".
thanks .
A+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2004 08:57 PM
10-12-2004 08:57 PM
Re: no utmp entry
seems you have a corrupt utmp file
you should recreate it
>> /etc/utmp
>> /etc/utmpx
if that doesn't work then try the same using touch
touch /etc/utmp
touch /etc/utmpx
Regards
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2004 10:49 PM
10-12-2004 10:49 PM
Re: no utmp entry
it seems that your /etc/utmp file could be corrupted.
if alrady a login is there at the root prompt give the following command.
If none can login do this, reboot the system in to single user mode and give this command in the root prompt
>/etc/utmp
reboot multiuser mode your problem is solved.
Be careful of the permissions, they should be 644 root root .
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 12:00 AM
10-13-2004 12:00 AM
Re: no utmp entry
/etc/utmp and /etc/utmpx there.
Else create it as,
touch , > or >> , cp /dev/null /etc/utmp there.
Change the permission to root root 755 there.
Login audit files may be corrupted on 11.i randomly there. It may be the cause for this.
HTH.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 12:13 AM
10-13-2004 12:13 AM
Re: no utmp entry
# ps -ef |grep user or grep the tty
Do you see two sh entries?
If so, exit then run your command.
# exit