View Single Post
  #4 (permalink)  
Old 07-22-2006, 05:29 AM
chirpy's Avatar
chirpy chirpy is offline
Moderator
 
Join Date: Jun 2002
Location: Go on, have a guess
Posts: 13,495
chirpy will become famous soon enough
If you run:

df

And see a line similar to (sizes will differ):

/usr/tmpDSK 1007896 18336 938360 2% /tmp

Then you're using a virtual partition (i.e. it's a partition in a file).

You need to stop all the processes with files open in /tmp:

cd /root/
service chkservd stop
service httpd stop
service mysql stop
service postgresql stop
service xinetd stop


Wait a few seconds then:

umount /var/tmp
umount /tmp


If it says it's in use, find out which processes with:

lsof | grep /tmp

Kill them off and then retry the umount.

Once umounted, delete and recreate /tmp:

rm -fv /usr/tmpDSK
/scripts/securetmp


That should be it in most cases.

Oh, restart the stopped processes:

cd /root/
service xinetd start
service postgresql start
service mysql start
service httpd startssl
service chkservd start
__________________
Jonathan Michaelson
cPanel Forum Moderator

Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
Reply With Quote