View Single Post
Old 07-07-2002, 05:32 PM  
toddler
Confirmed User
 
Join Date: Jun 2002
Location: austin, tx
Posts: 1,911
kenny, find a new admin, one who knows
how write a 3 line log rotate script.

i ran into this type of thing A LOT when
i was running efront's servers. and their
webmasters would insist it be fixed
without shutting down httpd.

one thing you can do to blow out
the logs, is

cp /dev/null /path/to/logfile

will zero out the file.

note, depending on the os, if you do this
while the server is running, you may have some issues, depending on whether the app has an open file handle to the log. in which case you'll see it as 0 bytes in a long list (ls -l), but you won't have the space back in
a df output. if that happens, send apache
a HUP. (apachectl restart should work fine)

again, get a new admin, the one you have doesn't seem to be able find his/her ass with both hands and a mirror.

t
toddler is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote