Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When I'm trying delete some of the old eaccelerator files it gives me following errors

rm: cannot remove `/tmp/eaccelerator/7/2/eaccelerator-0502.02065984': Read-only file system

What can I do it fix it?

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2             226G  127G   88G  60% /
/dev/sdc1             227G  102G  114G  48% /disk1
/dev/sda1              99M   18M   77M  19% /boot
tmpfs                 4.0G     0  4.0G   0% /dev/shm
/dev/sdb1             459G  182G  255G  42% /home4
/usr/tmpDSK           485M  325M  135M  71% /tmp

That's my output from the server.

Also what commands can I use to unmount and mount it? And should I do it while my web server is running?

share|improve this question

migrated from stackoverflow.com Jan 12 '11 at 8:08

This question came from our site for professional and enthusiast programmers.

    
Post the $ mount results here. –  karatedog Jan 11 '11 at 23:25
add comment

2 Answers 2

Check that /tmp isn't mounted as a read only filesystem.

$ mount

unmount mount it, then re mount with rw option. Or if /tmp is just a ramdisk (tmpfs) like it is on mine. umount than mount will clear the contents.

share|improve this answer
add comment

Try with remount option:

mount -o remount,rw /tmp

Now you should be able to delete any file/directory inside /tmp

share|improve this answer
add comment

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.