1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice

Server Log Rotation Problem - deleting access_log

Discussion in 'Plesk for Linux - 8.x and Older' started by kirupa, Jan 17, 2005.

  1. kirupa

    kirupa Guest

    0
     
    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
     
  2. kirupa

    kirupa Guest

    0
     
    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
     
  3. anton_latvia

    anton_latvia Guest

    0
     
    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.
     
Loading...