Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th December 2008, 02:27
Norman Norman is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 242
Thanks: 0
Thanked 18 Times in 14 Posts
Default ispconfig_access_log log size

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
__________________
http://www.xh.se
Reply With Quote
Sponsored Links
  #2  
Old 18th December 2008, 12:20
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 20th December 2008, 13:49
Norman Norman is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 242
Thanks: 0
Thanked 18 Times in 14 Posts
Default

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?
__________________
http://www.xh.se

Last edited by Norman; 20th December 2008 at 13:55.
Reply With Quote
  #4  
Old 20th December 2008, 14:07
Norman Norman is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 242
Thanks: 0
Thanked 18 Times in 14 Posts
Default

I ran some scripts manually and got the dreaded

"File size limit exceeded"

Is this related to http://www.howtoforge.com/forums/showthread.php?t=5763 ?
Has this bug been fixed yet?

I get a lot of traffic, that's why logfiles become big.
__________________
http://www.xh.se
Reply With Quote
  #5  
Old 21st December 2008, 14:23
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,727 Times in 2,565 Posts
 
Default

Please update to the latest ISPConfig version, it should work then.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
slow download through webserver problem snewp Technical 14 9th May 2008 05:25
Daily mail logrotation?! schmidse Installation/Configuration 4 21st January 2008 13:55
Outlook does not Authenticates aberrio Server Operation 30 1st November 2007 19:21
No ftp login for ispconfig-webuser agri Installation/Configuration 12 19th March 2007 10:06
log size.. TheRudy General 2 21st July 2006 14:27


All times are GMT +2. The time now is 18:56.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.