- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: who command not working in hpux 11.11
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
Discussions
Discussions
Forums
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
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
тАО01-05-2009 02:05 AM
тАО01-05-2009 02:05 AM
who command not working in hpux 11.11
who -a
it showing below output not sure what is wrong, please let me know if someone got any clue here, thanks,
Empty slot.
Empty slot.
Empty slot.
Empty slot.
Empty slot.
Empty slot.
Empty slot.
Empty slot.
Empty slot.
Empty slot.
Empty slot.
Empty slot.
Empty slot.
Empty slot.
Empty slot.
Empty slot.
Empty slot.
Empty slot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2009 02:09 AM
тАО01-05-2009 02:09 AM
Re: who command not working in hpux 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2009 02:10 AM
тАО01-05-2009 02:10 AM
Re: who command not working in hpux 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2009 02:10 AM
тАО01-05-2009 02:10 AM
Re: who command not working in hpux 11.11
who -u
who -r
Thanks
SKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2009 02:12 AM
тАО01-05-2009 02:12 AM
Re: who command not working in hpux 11.11
who -r = can get out put with run leve etc. info,
who -d also working fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2009 02:38 AM
тАО01-05-2009 02:38 AM
Re: who command not working in hpux 11.11
a) Do you have patch PHNE_36196 installed (original patch was PHNE_24829)? That patch
deals with telnet kernel and telnetd and
fixes issues that caused telnet to corrupt
/etc/utmp as well.
b) Stopping and starting utmpd might help:
/sbin/init.d/utmpd stop
/sbin/init.d/utmpd start
c) Some workarounds have involved bringing
the system down to single user mode, and then:
# cat /dev/null >/etc/utmp[x]
... and rebooting. This requires manual
intervention.
Cheers,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2009 02:39 AM
тАО01-05-2009 02:39 AM
Re: who command not working in hpux 11.11
The file is not there?
Just touch the file and make it owned by root:sys and writable by the owner and readable by any.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2009 03:49 PM
тАО01-05-2009 03:49 PM
Re: who command not working in hpux 11.11
-rw-r--r-- 1 root root 2580 Jan 5 06:31 /etc/utmp
-rw-r--r-- 1 root root 8260 Jan 5 06:31 /etc/utmpx
If utmpx doesn't have size 0, you might be able to write a program to convert to the utmp format.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2009 06:20 PM
тАО01-05-2009 06:20 PM
Re: who command not working in hpux 11.11
file permission is correct,
i can not reboot server,
i could not found /sbin/init.d/utmpd in my server,
any other clue? thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2009 07:31 PM
тАО01-05-2009 07:31 PM
Re: who command not working in hpux 11.11
What are the file sizes?
>I could not found /sbin/init.d/utmpd in my server
utmpd(1M) is only there on 11.23 and later.