• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Server Log Rotation Problem - deleting access_log

K

kirupa

Guest
Hey everyone,
I host on a server running the latest version of Plesk 7.5.x, and a small issue that cropped up recently is that log files aren't being rotated properly. Right now, one of the access_log files is taking up a fairly large amount of space, and I'd like to get rid of it.

What are the common locations for an access_log file, and how can I overwrite it with a blank access_log file? Right now, since my total storage space has been maxed out at 100%, I'm getting database errors on a vbulletin forum.

Not sure if this helps, but here is the folder structure to my HTML files: home/httpd/vhosts/kirupa.com/httpdocs/

I do have root access.

EDIT: I do apologize for posting in the wrong forum. I have deleted my earlier thread from the Windows forum, for the server runs Linux.

Thanks!
Kirupa
 
I was able to fix it by deleting the access_log file.

Here is what I did after I logged in as root (in case anyone is interested :)):

cd /var/log/httpd/
rm access_log

Cheers!
Kirupa :p
 
kirupa: in my opinion, I think that was not the best solution, although you did nothing wrong. Plesk should do it itself and there is appropriate settings for doing that.
 
Back
Top