Results 1 to 7 of 7

Thread: screen: /var/run/utmp "no such process"

  1. #1
    Join Date
    Feb 2005
    Location
    Vancouver, BC
    Beans
    329

    screen: /var/run/utmp "no such process"

    I figured I'd post this here, since I have the best chance, in this forum, of finding command-line junkies.

    When I use screen, either in an X terminal or a console, it works but I get this error:

    Could not write /var/run/utmp: No such process.

    I tried "touch /var/run/utmp" to no avail. Same error.

    Hints, anyone? I tried googling this without success.

    Thanks in advance,

    Ross
    Ideas matter.
    Ross A. Laird

  2. #2
    Join Date
    Sep 2005
    Beans
    25
    Distro
    Xubuntu 6.06

    Re: screen: /var/run/utmp "no such process"

    I'm having the same thing. However, it doesn't seem to affect my screen actitvities, it does affect the time it takes to reattach after a detattchment.

    *bump*

  3. #3
    Join Date
    Jan 2005
    Location
    Aloha, OR
    Beans
    261
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: screen: /var/run/utmp "no such process"

    make sure that /usr/bin/screen is still owned root:utmp and that the permissions are rwxr_sr_x.

  4. #4
    Join Date
    Feb 2005
    Location
    Vancouver, BC
    Beans
    329

    Re: screen: /var/run/utmp "no such process"

    Quote Originally Posted by ape
    make sure that /usr/bin/screen is still owned root:utmp and that the permissions are rwxr_sr_x.
    Yup, all is set as above on my system.
    Still no dice.
    Ideas matter.
    Ross A. Laird

  5. #5
    Join Date
    Sep 2005
    Beans
    25
    Distro
    Xubuntu 6.06

    Re: screen: /var/run/utmp "no such process"

    Make sure that your screen session is actually on a terminal physically on your server machine (the machine you're screening from). In my case, it was "on the fly", and it's what caused that problem for me.

    It might not work for ya'll, but it's a theory...

  6. #6
    Join Date
    Jan 2006
    Beans
    28

    Re: screen: /var/run/utmp "no such process"

    Yeah I have the same deal. I don't really mind the error message. It can be surpressed by adding -ln to your screen command line. But creating new screens does the same thing. I'm sure there's probably a screen setting that could be added to ~/.screenrc.

    For me the bother is that I'd like to see my screen entries with the 'who' command. The 'w' shows nothing ever either... probalby a worse problem.

    My /usr/bin/screen executable was sgid. As per the screen man page, I changed it to suid and then it complained about /var/run/screen needs to be 755 (it was 775). I changed that too, but same problem.

    Woe.

    -uj
    Last edited by ubuntujonez; June 10th, 2006 at 07:15 AM.

  7. #7
    Join Date
    Feb 2005
    Beans
    130

    Re: screen: /var/run/utmp "no such process"

    I had this problem, and doing the following fixed it:

    Code:
    sudo -s
    cat /dev/null > /var/run/utmp
    reboot
    I think /var/run/utmp was corrupted due to an improper shutdown (power failure). Perhaps because I had screen running on the machine when the power went out...I don't know.

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
  •