Not writable
I got an email this morning saying 'fatal,Can not upgrade because /tmp is not writable'.
-
Hello :) Please post the output from: mount|grep tmp stat /tmp
Also, do you receive any error messages when creating a file in the /tmp directory? EX:touch /tmp/cptest123
Thank you.0 -
Thank you. Output. danny@s [~]# mount|grep tmp shm on /dev/shm type tmpfs (rw,size=256M) /usr/tmpDSK on /tmp type ext3 (rw,noexec,nosuid,loop=/dev/loop0) /tmp on /var/tmp type none (rw,noexec,nosuid,bind) tmpfs on /dev/shm type tmpfs (rw) danny@s [~]# stat /tmp File: `/tmp' Size: 12288 Blocks: 24 IO Block: 4096 directory Device: 700h/1792d Inode: 2 Links: 17 Access: (1777/drwxrwxrwt) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2015-02-26 04:00:55.000000000 -0500 Modify: 2015-02-26 14:27:36.000000000 -0500 Change: 2015-02-26 14:27:36.000000000 -0500 danny@s [~]# touch /tmp/cptest123 touch: cannot touch `/tmp/cptest123': No space left on device danny@s [~]#0 -
The output indicates your out of disk space or inodes on the tmp directory. You can verify this via: df -h df -i
These threads should help: Tmpwatch Tmpwatch Cron Job Thank you.0 -
this is so weird. i cant imagine why. touch: cannot touch `/tmp/cptest123': No space left on device danny@s [~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/xvda 24G 16G 7.2G 69% / shm 496M 4.0K 496M 1% /dev/shm /usr/tmpDSK 870M 201M 624M 25% /tmp tmpfs 496M 4.0K 496M 1% /dev/shm danny@s [~]# df -i Filesystem Inodes IUsed IFree IUse% Mounted on /dev/xvda 1556480 397117 1159363 26% / shm 126832 2 126830 1% /dev/shm /usr/tmpDSK 57600 57600 0 100% /tmp tmpfs 126832 2 126830 1% /dev/shm danny@s [~]#0 -
The following commands from
Thank you.0 -
thank you. 0
Please sign in to leave a comment.
Comments
7 comments