Operating System - Linux
1752808 Members
6039 Online
108789 Solutions
New Discussion

Re: w and who command not working

 
HPDCSTeam
Occasional Visitor

w and who command not working

When am trying this w and who command am getting error as follows

 

by using root user

 

# w
No utmp database
: Connection refused
# who
        No entries utmps database.

# uptime
No utmp database
: Connection refused

 

but normal user is working fine all the commands

 

 $ uptime
 11:47am  up 95 days, 15:34,  3 users,  load average: 0.01, 0.01, 0.01


 

 

P.S. This thread has been moved from BladeSystem > Server Blades to Linux > sysadmin - HP Forum Moderator

2 REPLIES 2
Dennis Handly
Acclaimed Contributor

Re: w and who command not working

What OS version are you using?

(This is the wrong board for software questions.)

TVVJ
HPE Pro

Re: w and who command not working

This mostly appears to be a Linux OS from what one could get when 'utmp' is searched on the internet:

 

http://en.wikipedia.org/wiki/Utmp

 

If there are no issues with the underlying HP ProLiant Server hardware, then it is best be addressed in a different discussion board.

 

 

Regards,

 

Vijayasarathy

I work for HPE
Views expressed herein are my personal opinion and are not the views of HPE

Accept or Kudo