ispconfig_access_log log size

Discussion in 'General' started by Norman, Dec 18, 2008.

  1. Norman

    Norman Member HowtoForge Supporter

    I'm having a trouble with the ispconfig_access_log gathering up in /var/log/httpd

    How do I get it to rotate more often? I often find gigabytes of logfiles in this directory that I clean out manually.
    /var/log/httpd# ls
    ispconfig_access_log ispconfig_access_log_2008_12_06
    ispconfig_access_log_2008_11_20 ispconfig_access_log_2008_12_07
    ispconfig_access_log_2008_11_21 ispconfig_access_log_2008_12_08
    ispconfig_access_log_2008_11_22 ispconfig_access_log_2008_12_09
    ispconfig_access_log_2008_11_23 ispconfig_access_log_2008_12_10
    ispconfig_access_log_2008_11_24 ispconfig_access_log_2008_12_11
    ispconfig_access_log_2008_11_25 ispconfig_access_log_2008_12_12
    ispconfig_access_log_2008_11_26 ispconfig_access_log_2008_12_13
    ispconfig_access_log_2008_11_27 ispconfig_access_log_2008_12_14
    ispconfig_access_log_2008_11_28 ispconfig_access_log_2008_12_15
    ispconfig_access_log_2008_11_29 ispconfig_access_log_2008_12_16
    ispconfig_access_log_2008_12_03 ispconfig_access_log_2008_12_17
     
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    ISPConfig is removing the files automatically after one day. If they are not removed on your server, then the webalizer and logsplit scripts are not run. Please check the root crontab.
     
  3. Norman

    Norman Member HowtoForge Supporter

    This is what is in my crontab file:

    30 00 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php &> /dev/null
    59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/ftp_logs.php &> /dev/null
    59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/mail_logs.php &> /dev/null
    59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/cleanup.php &> /dev/null
    0 4 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php &> /dev/null
    0,30 * * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/check_services.php &> /dev/null
    15 3,15 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/quota_msg.php &> /dev/null
    40 00 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/traffic.php &> /dev/null
    05 02 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/backup.php &> /dev/null
    30 0,6,12,18 * * * ntpdate ntp1.kth.se
    0 4 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/awstats.php &> /dev/null
    0 6 * * * /home/admispconfig/ispconfig/web/ispc.awstats/awstats_updateall.pl now -awstatsprog="/home/admispconfig/ispconfig/web/ispc.awstats/awstats.pl"


    What can be the problem?
     
    Last edited: Dec 20, 2008
  4. Norman

    Norman Member HowtoForge Supporter

  5. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Please update to the latest ISPConfig version, it should work then.
     

Share This Page