dapurhosting.com Blog for Tech

February 5, 2009

Empty /tmp Folder

Filed under: cPanel/WHM,Server — dh @ 3:24 pm

stop the services which it use tmp directory

service httpd stop
service mysql stop
/etc/init.d/chkservd stop

then clean the tmp directory and create

/bin/umount -1 / tmp
/bin/umount -1 /war/tmp
/bin/rm -fv /usr/tmpDSK
/scripts/securetmp

Then start the services which you stop

service mysql start
service httpd start
/etc/init.d/chkservd restart

Source: http://www.cpanelim.net/lessons/cleaning-the-tmp-directory-on-linmux.html

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress