Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

2 Answers 2

up vote 5 down vote accepted

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.

share|improve this answer
    
Ubuntu doesn't yet do that. When did fedora make that change? –  Dennis Kaarsemaker Jan 26 '13 at 17:09
1  
@DennisKaarsemaker In Fedora 15. –  Michael Hampton Jan 26 '13 at 17:11
    
Ubuntu Precise, lrwxrwxrwx 1 root root 4 Jan 26 15:21 /var/run -> /run –  Brian Jan 26 '13 at 17:18

Is /var/run perhaps symlinked to /run?

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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