Results 1 to 4 of 4

Thread: Multiple users show in "w" and "uptime" when there is only one logged in..

  1. #1
    Join Date
    Oct 2008
    Location
    Scotland
    Beans
    17
    Distro
    Ubuntu 8.04 Hardy Heron

    Question Multiple users show in "w" and "uptime" when there is only one logged in..

    Hi, I've been having trouble from my Ubuntu (hardy heron) box for a few days now, When I check "uptime" and "who" it shows there is 5 users logged in when there is only 1.. here is the output I get.

    Code:
     eckstasy@EU:~$ who
    eckstasy pts/0        2008-11-19 01:01 (thedatabase.home)
    and for uptime...
    Code:
    eckstasy@EU:~$ uptime
     01:02:47 up 16 days, 23:48,  5 users,  load average: 0.08, 0.03, 0.00
    Does anyone know what could be the cause of this?
    thanks.
    Last edited by EcKstasy; November 19th, 2008 at 02:06 AM.

  2. #2
    Join Date
    Oct 2008
    Location
    Scotland
    Beans
    17
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Multiple users show in "w" and "uptime" when there is only one logged in..

    Weird.. My phpsysinfo also shows there is only one user logged in also.

    http://www.escriptirc.com/system/

  3. #3
    Join Date
    Oct 2008
    Location
    Scotland
    Beans
    17
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Multiple users show in "w" and "uptime" when there is only one logged in..

    anyone?

  4. #4
    Join Date
    Oct 2008
    Location
    Scotland
    Beans
    17
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Multiple users show in "w" and "uptime" when there is only one logged in..

    Nevermind.. I managed to fix my problem using:

    Code:
    # Reset /var/log/utmp settings on the fly:
    /bin/rm -f /var/run/utmp
    
    # Create a fresh utmp file:
    touch /var/run/utmp
    chown root:utmp /var/run/utmp
    chmod 664 /var/run/utmp

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •