1

On a Rackspace cloud server I see:

admin@foo:/etc/nginx$ sudo /etc/init.d/nginx start
Starting nginx: nginx: [crit] pwrite() "/var/run/nginx.pid" failed (28: No space left on device)
nginx.

admin@foo:/etc/nginx$ sudo df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       9.4G  6.6G  2.4G  74% /
udev             10M  8.0K   10M   1% /dev
none             25M   25M     0 100% /run
none            5.0M     0  5.0M   0% /run/lock
none            123M     0  123M   0% /run/shm

admin@foo:/etc/nginx$ df -i
Filesystem      Inodes  IUsed   IFree IUse% Mounted on
/dev/sda1      1245184 154910 1090274   13% /
udev             31392    427   30965    2% /dev
none             31392   1374   30018    5% /run
none             31392      2   31390    1% /run/lock
none             31392      1   31391    1% /run/shm

Any ideas?

2 Answers 2

6

You have indeed run out of space on /run (which is symlinked from /var/run on newer versions of Fedora and possibly other distributions). Check the directory and remove any unnecessary files, and consider giving it more space.

3
  • Ubuntu doesn't yet do that. When did fedora make that change? Jan 26, 2013 at 17:09
  • 1
    @DennisKaarsemaker In Fedora 15. Jan 26, 2013 at 17:11
  • Ubuntu Precise, lrwxrwxrwx 1 root root 4 Jan 26 15:21 /var/run -> /run
    – Brian
    Jan 26, 2013 at 17:18
1

Is /var/run perhaps symlinked to /run?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.