View Full Version : OT: Server Security Crap
Fyron
March 6th, 2005, 06:48 AM
I am going to need a volunteer that is knowledgeable about apache/linux web server raw access logs and such to help me out over the next few days to a week...
Instar
March 6th, 2005, 07:34 PM
call tech supp... oh wait
depends on what portion of Apache you are talking about here
Atrocities
March 6th, 2005, 10:33 PM
Does any one know how to purge Error_Logs? I have tried using the FTP, admin, and such to do so, but cannot touch the logs.
Gandalf Parker
March 6th, 2005, 11:02 PM
cp /dev/null error_log
Its an old admin trick. You cant delete a log while its open and being written to. You would have to shut down the server to rotate the files. But you can write to it. Doing a copy of /dev/null actually copies a zero byte file to it which basically restarts it on the fly.
A lot of backup programs copy the file to a backup version then "copy" a zero byte file over it
vBulletin® v3.8.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.