Hello. I have a server and I have root access to that server. I need to know how I can view and delete things in tmp. It is full. Can anyone help me?
Hello. I have a server and I have root access to that server. I need to know how I can view and delete things in tmp. It is full. Can anyone help me?
cd /tmpOriginally Posted by PerVisHost
ls -al sess_*
this is what takes up most of it in case you do not clear up the same regularly.
rm -f sess_*
ls -al *.wrk
This comes up in case you use mod_gzip
rm -f *.wrk
now check what other stuff lies there
Anup
You should be very careful what you delete out of the /tmp partition. I would recommend having someone knowledgable have a look for you so that they can advise you on what is filling it up, and more importantly, why.
Jonathan Michaelson
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
just to add .. do not delete mysql.sock and horde.log. they are much in need.
cPanel Certified Specialist
http://www.admin-ahead.com
https://ticketforge.com
AIM: tux image Skype: admin-ahead
Just search for "tmpwatch" it is the right tool for the job (cleans up a directory for files that are older than X hours, does not touch sockets, etc.)
Alex
========================
UK Web Hosting
Free PHP Perl CGI Script
Visit Webmaster Serve The Webmaster Community
Yes don't remove your mysql.sock. I have never seen any issues removing the horde.log, what kind of issues do you run into?Originally Posted by linux-image
Thanks
-Seth