Uptime and w failing to report correct info?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Greg,
I do believe you were right: the utmp file probably did get corrupted.
Now that I think on it, I had to forceably power off
the machine a time or two.  That would more than likely be where it
started.  
As of now, all is right in the world, at least where my linux machine is
concerned.
Thanks much,
Zack.
On Sat, Jul 25, 2009 at 01:21:50PM -0700, Gregory Nowak wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> It's possible that your /var/run/utmp might have gotten corrupted for
> some reason. If you're really sure there are no other users on your
> system, you could do:
> 
> rm /var/run/utmp
> touch /var/run/utmp
> chgrp utmp /var/run/utmp
> chmod 664 /var/run/utmp
> 
> Greg



[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux