Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th September 2010, 01:59
cryptic cryptic is offline
Senior Member
 
Join Date: Sep 2006
Posts: 136
Thanks: 5
Thanked 5 Times in 4 Posts
Default Too many ispconfig_access_log_* files

I have around 40 servers running ISPConfig. On every server I have an issue where there are many ispconfig_access_log_* files. These files can be anywhere from 20MB to 100MB depending on the server. Because of this, my disks are filling up. How can I configure ISPConfig to only save 1 ispconfig_access_log file?
Reply With Quote
Sponsored Links
  #2  
Old 8th September 2010, 08:16
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,814
Thanks: 821
Thanked 5,339 Times in 4,188 Posts
Default

ISPConfig normally deletes these files after 2 days.

1) Which ISPConfig version do you use?
2) Have you uncommented or modified any of the logs or stats cronjobs?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 8th September 2010, 08:39
cryptic cryptic is offline
Senior Member
 
Join Date: Sep 2006
Posts: 136
Thanks: 5
Thanked 5 Times in 4 Posts
Default

Quote:
Originally Posted by till View Post
ISPConfig normally deletes these files after 2 days.

1) Which ISPConfig version do you use?
2) Have you uncommented or modified any of the logs or stats cronjobs?
1 - 2.2.37
2 - Only awstats cron. All sites are set to Webalizer.

Last edited by cryptic; 8th September 2010 at 08:46.
Reply With Quote
  #4  
Old 8th September 2010, 09:16
savago savago is offline
Member
 
Join Date: May 2008
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to savago
Default

Quote:
Originally Posted by till View Post
ISPConfig normally deletes these files after 2 days.

1) Which ISPConfig version do you use?
2) Have you uncommented or modified any of the logs or stats cronjobs?
Code:
s -lah
total 810M
drwx------.  2 root root  12K 2010-09-08 09:05 .
drwxr-xr-x. 18 root root 4.0K 2010-09-07 23:59 ..
-rw-r--r--   1 root root  22M 2010-09-08 10:14 access_log
-rw-r--r--   1 root root  12M 2010-08-15 03:50 access_log-20100815
-rw-r--r--   1 root root  35M 2010-08-22 03:31 access_log-20100822
-rw-r--r--   1 root root  46M 2010-08-29 03:32 access_log-20100829
-rw-r--r--   1 root root  46M 2010-09-05 03:40 access_log-20100905
-rw-r--r--   1 root root    0 2009-12-18 19:50 eaccelerator_log
-rw-r--r--   1 root root 425K 2010-09-08 10:10 error_log
-rw-r--r--   1 root root 531K 2010-08-15 03:51 error_log-20100815
-rw-r--r--   1 root root 662K 2010-08-22 03:32 error_log-20100822
-rw-r--r--   1 root root 927K 2010-08-29 03:33 error_log-20100829
-rw-r--r--   1 root root 847K 2010-09-05 03:40 error_log-20100905
lrwxrwxrwx   1 root root   46 2010-09-08 09:05 ispconfig_access_log -> /var/log/httpd/ispconfig_access_log_2010_09_08
lrwxrwxrwx   1 root root   46 2009-12-20 00:00 ispconfig_access_log-20091220 -> /var/log/httpd/ispconfig_access_log_2009_12_20
lrwxrwxrwx   1 root root   46 2009-12-27 01:38 ispconfig_access_log-20091227 -> /var/log/httpd/ispconfig_access_log_2009_12_27
lrwxrwxrwx   1 root root   46 2010-01-03 00:00 ispconfig_access_log-20100103 -> /var/log/httpd/ispconfig_access_log_2010_01_03
lrwxrwxrwx   1 root root   46 2010-01-10 00:00 ispconfig_access_log-20100110 -> /var/log/httpd/ispconfig_access_log_2010_01_10
lrwxrwxrwx   1 root root   46 2010-01-17 00:00 ispconfig_access_log-20100117 -> /var/log/httpd/ispconfig_access_log_2010_01_17
lrwxrwxrwx   1 root root   46 2010-01-24 00:22 ispconfig_access_log-20100124 -> /var/log/httpd/ispconfig_access_log_2010_01_24
lrwxrwxrwx   1 root root   46 2010-01-31 00:00 ispconfig_access_log-20100131 -> /var/log/httpd/ispconfig_access_log_2010_01_31
lrwxrwxrwx   1 root root   46 2010-02-07 00:00 ispconfig_access_log-20100207 -> /var/log/httpd/ispconfig_access_log_2010_02_07
lrwxrwxrwx   1 root root   46 2010-02-14 00:00 ispconfig_access_log-20100214 -> /var/log/httpd/ispconfig_access_log_2010_02_14
lrwxrwxrwx   1 root root   46 2010-02-21 00:00 ispconfig_access_log-20100221 -> /var/log/httpd/ispconfig_access_log_2010_02_21
lrwxrwxrwx   1 root root   46 2010-02-28 00:00 ispconfig_access_log-20100228 -> /var/log/httpd/ispconfig_access_log_2010_02_28
lrwxrwxrwx   1 root root   46 2010-03-07 00:00 ispconfig_access_log-20100307 -> /var/log/httpd/ispconfig_access_log_2010_03_07
lrwxrwxrwx   1 root root   46 2010-03-14 00:00 ispconfig_access_log-20100314 -> /var/log/httpd/ispconfig_access_log_2010_03_14
lrwxrwxrwx   1 root root   46 2010-03-21 00:00 ispconfig_access_log-20100321 -> /var/log/httpd/ispconfig_access_log_2010_03_21
lrwxrwxrwx   1 root root   46 2010-03-28 00:00 ispconfig_access_log-20100328 -> /var/log/httpd/ispconfig_access_log_2010_03_28
lrwxrwxrwx   1 root root   46 2010-04-04 00:00 ispconfig_access_log-20100404 -> /var/log/httpd/ispconfig_access_log_2010_04_04
lrwxrwxrwx   1 root root   46 2010-04-11 00:01 ispconfig_access_log-20100411 -> /var/log/httpd/ispconfig_access_log_2010_04_11
lrwxrwxrwx   1 root root   46 2010-04-18 00:01 ispconfig_access_log-20100418 -> /var/log/httpd/ispconfig_access_log_2010_04_18
lrwxrwxrwx   1 root root   46 2010-04-25 00:00 ispconfig_access_log-20100425 -> /var/log/httpd/ispconfig_access_log_2010_04_25
lrwxrwxrwx   1 root root   46 2010-05-02 00:00 ispconfig_access_log-20100502 -> /var/log/httpd/ispconfig_access_log_2010_05_02
lrwxrwxrwx   1 root root   46 2010-05-09 00:00 ispconfig_access_log-20100509 -> /var/log/httpd/ispconfig_access_log_2010_05_09
lrwxrwxrwx   1 root root   46 2010-05-16 00:00 ispconfig_access_log-20100516 -> /var/log/httpd/ispconfig_access_log_2010_05_16
lrwxrwxrwx   1 root root   46 2010-05-23 00:00 ispconfig_access_log-20100523 -> /var/log/httpd/ispconfig_access_log_2010_05_23
-rw-r--r--   1 root root 751K 2010-05-30 23:59 ispconfig_access_log_2010_05_30
-rw-r--r--   1 root root 2.4M 2010-05-31 23:59 ispconfig_access_log_2010_05_31
-rw-r--r--   1 root root 3.0M 2010-06-01 23:59 ispconfig_access_log_2010_06_01
-rw-r--r--   1 root root 3.2M 2010-06-02 23:59 ispconfig_access_log_2010_06_02
-rw-r--r--   1 root root 3.3M 2010-06-03 23:59 ispconfig_access_log_2010_06_03
-rw-r--r--   1 root root 2.9M 2010-06-04 23:58 ispconfig_access_log_2010_06_04
-rw-r--r--   1 root root 2.8M 2010-06-05 23:59 ispconfig_access_log_2010_06_05
-rw-r--r--   1 root root 3.9M 2010-06-06 23:59 ispconfig_access_log_2010_06_06
-rw-r--r--   1 root root 7.2M 2010-06-07 23:59 ispconfig_access_log_2010_06_07
-rw-r--r--   1 root root  19M 2010-06-08 23:59 ispconfig_access_log_2010_06_08
-rw-r--r--   1 root root 5.8M 2010-06-09 23:58 ispconfig_access_log_2010_06_09
-rw-r--r--   1 root root 4.8M 2010-06-10 23:58 ispconfig_access_log_2010_06_10
-rw-r--r--   1 root root 2.9M 2010-06-11 23:59 ispconfig_access_log_2010_06_11
-rw-r--r--   1 root root 3.4M 2010-06-12 23:59 ispconfig_access_log_2010_06_12
-rw-r--r--   1 root root 3.6M 2010-06-13 23:59 ispconfig_access_log_2010_06_13
-rw-r--r--   1 root root 2.7M 2010-06-14 23:59 ispconfig_access_log_2010_06_14
-rw-r--r--   1 root root 4.3M 2010-06-15 23:59 ispconfig_access_log_2010_06_15
-rw-r--r--   1 root root 4.9M 2010-06-16 23:59 ispconfig_access_log_2010_06_16
-rw-r--r--   1 root root 4.1M 2010-06-17 23:59 ispconfig_access_log_2010_06_17
-rw-r--r--   1 root root 5.4M 2010-06-18 23:59 ispconfig_access_log_2010_06_18
-rw-r--r--   1 root root 2.5M 2010-06-19 23:59 ispconfig_access_log_2010_06_19
-rw-r--r--   1 root root 2.7M 2010-06-20 23:59 ispconfig_access_log_2010_06_20
-rw-r--r--   1 root root 3.1M 2010-06-21 23:59 ispconfig_access_log_2010_06_21
-rw-r--r--   1 root root 2.8M 2010-06-22 23:59 ispconfig_access_log_2010_06_22
-rw-r--r--   1 root root 5.7M 2010-06-23 23:59 ispconfig_access_log_2010_06_23
-rw-r--r--   1 root root 3.1M 2010-06-24 23:59 ispconfig_access_log_2010_06_24
-rw-r--r--   1 root root 2.5M 2010-06-25 23:59 ispconfig_access_log_2010_06_25
-rw-r--r--   1 root root 2.6M 2010-06-26 23:59 ispconfig_access_log_2010_06_26
-rw-r--r--   1 root root 2.7M 2010-06-27 23:59 ispconfig_access_log_2010_06_27
-rw-r--r--   1 root root 3.8M 2010-06-28 23:59 ispconfig_access_log_2010_06_28
-rw-r--r--   1 root root 2.6M 2010-06-29 23:58 ispconfig_access_log_2010_06_29
-rw-r--r--   1 root root 3.4M 2010-06-30 23:59 ispconfig_access_log_2010_06_30
-rw-r--r--   1 root root 3.2M 2010-07-01 23:59 ispconfig_access_log_2010_07_01
-rw-r--r--   1 root root 3.0M 2010-07-02 23:58 ispconfig_access_log_2010_07_02
-rw-r--r--   1 root root 4.0M 2010-07-03 23:59 ispconfig_access_log_2010_07_03
-rw-r--r--   1 root root 2.9M 2010-07-04 23:58 ispconfig_access_log_2010_07_04
-rw-r--r--   1 root root 2.5M 2010-07-05 23:59 ispconfig_access_log_2010_07_05
-rw-r--r--   1 root root 3.4M 2010-07-06 23:58 ispconfig_access_log_2010_07_06
-rw-r--r--   1 root root 4.4M 2010-07-07 23:59 ispconfig_access_log_2010_07_07
-rw-r--r--   1 root root 3.4M 2010-07-08 23:59 ispconfig_access_log_2010_07_08
-rw-r--r--   1 root root 4.9M 2010-07-09 23:59 ispconfig_access_log_2010_07_09
-rw-r--r--   1 root root 3.0M 2010-07-10 23:59 ispconfig_access_log_2010_07_10
-rw-r--r--   1 root root 4.0M 2010-07-11 23:59 ispconfig_access_log_2010_07_11
-rw-r--r--   1 root root 3.7M 2010-07-12 23:59 ispconfig_access_log_2010_07_12
-rw-r--r--   1 root root 5.5M 2010-07-13 23:59 ispconfig_access_log_2010_07_13
-rw-r--r--   1 root root 4.6M 2010-07-14 23:59 ispconfig_access_log_2010_07_14
-rw-r--r--   1 root root 4.7M 2010-07-15 23:59 ispconfig_access_log_2010_07_15
-rw-r--r--   1 root root 3.6M 2010-07-16 23:58 ispconfig_access_log_2010_07_16
-rw-r--r--   1 root root 4.4M 2010-07-17 23:59 ispconfig_access_log_2010_07_17
-rw-r--r--   1 root root 4.1M 2010-07-18 23:59 ispconfig_access_log_2010_07_18
-rw-r--r--   1 root root 5.8M 2010-07-19 23:59 ispconfig_access_log_2010_07_19
-rw-r--r--   1 root root 4.6M 2010-07-20 23:59 ispconfig_access_log_2010_07_20
-rw-r--r--   1 root root 3.9M 2010-07-21 23:59 ispconfig_access_log_2010_07_21
-rw-r--r--   1 root root 4.0M 2010-07-22 23:59 ispconfig_access_log_2010_07_22
-rw-r--r--   1 root root 4.3M 2010-07-23 23:59 ispconfig_access_log_2010_07_23
-rw-r--r--   1 root root 4.9M 2010-07-24 23:59 ispconfig_access_log_2010_07_24
-rw-r--r--   1 root root  11M 2010-07-25 23:59 ispconfig_access_log_2010_07_25
-rw-r--r--   1 root root 6.0M 2010-07-26 23:59 ispconfig_access_log_2010_07_26
-rw-r--r--   1 root root 6.5M 2010-07-27 23:59 ispconfig_access_log_2010_07_27
-rw-r--r--   1 root root 5.1M 2010-07-28 23:58 ispconfig_access_log_2010_07_28
-rw-r--r--   1 root root 4.5M 2010-07-29 23:59 ispconfig_access_log_2010_07_29
-rw-r--r--   1 root root 4.7M 2010-07-30 23:59 ispconfig_access_log_2010_07_30
-rw-r--r--   1 root root 4.8M 2010-07-31 23:59 ispconfig_access_log_2010_07_31
-rw-r--r--   1 root root 5.0M 2010-08-01 23:58 ispconfig_access_log_2010_08_01
-rw-r--r--   1 root root 3.7M 2010-08-02 23:59 ispconfig_access_log_2010_08_02
-rw-r--r--   1 root root 4.8M 2010-08-03 23:59 ispconfig_access_log_2010_08_03
-rw-r--r--   1 root root 4.2M 2010-08-04 23:59 ispconfig_access_log_2010_08_04
-rw-r--r--   1 root root 3.5M 2010-08-05 23:58 ispconfig_access_log_2010_08_05
-rw-r--r--   1 root root 4.0M 2010-08-06 23:59 ispconfig_access_log_2010_08_06
-rw-r--r--   1 root root 3.4M 2010-08-07 23:59 ispconfig_access_log_2010_08_07
-rw-r--r--   1 root root 3.8M 2010-08-08 23:59 ispconfig_access_log_2010_08_08
-rw-r--r--   1 root root 4.1M 2010-08-09 23:58 ispconfig_access_log_2010_08_09
-rw-r--r--   1 root root 3.6M 2010-08-10 23:58 ispconfig_access_log_2010_08_10
-rw-r--r--   1 root root 3.9M 2010-08-11 23:59 ispconfig_access_log_2010_08_11
-rw-r--r--   1 root root 3.5M 2010-08-12 23:59 ispconfig_access_log_2010_08_12
-rw-r--r--   1 root root 3.7M 2010-08-13 23:59 ispconfig_access_log_2010_08_13
-rw-r--r--   1 root root 3.0M 2010-08-14 23:59 ispconfig_access_log_2010_08_14
-rw-r--r--   1 root root 3.1M 2010-08-15 23:59 ispconfig_access_log_2010_08_15
lrwxrwxrwx   1 root root   46 2010-08-15 00:00 ispconfig_access_log-20100815 -> /var/log/httpd/ispconfig_access_log_2010_08_15
-rw-r--r--   1 root root 4.1M 2010-08-16 23:59 ispconfig_access_log_2010_08_16
-rw-r--r--   1 root root  14M 2010-08-17 23:59 ispconfig_access_log_2010_08_17
-rw-r--r--   1 root root  14M 2010-08-18 23:59 ispconfig_access_log_2010_08_18
-rw-r--r--   1 root root  15M 2010-08-19 23:59 ispconfig_access_log_2010_08_19
-rw-r--r--   1 root root  14M 2010-08-20 23:59 ispconfig_access_log_2010_08_20
-rw-r--r--   1 root root  14M 2010-08-21 23:59 ispconfig_access_log_2010_08_21
-rw-r--r--   1 root root  14M 2010-08-22 23:59 ispconfig_access_log_2010_08_22
lrwxrwxrwx   1 root root   46 2010-08-22 00:00 ispconfig_access_log-20100822 -> /var/log/httpd/ispconfig_access_log_2010_08_22
-rw-r--r--   1 root root  15M 2010-08-23 23:59 ispconfig_access_log_2010_08_23
-rw-r--r--   1 root root  15M 2010-08-24 23:59 ispconfig_access_log_2010_08_24
-rw-r--r--   1 root root  16M 2010-08-25 23:59 ispconfig_access_log_2010_08_25
-rw-r--r--   1 root root  16M 2010-08-26 23:59 ispconfig_access_log_2010_08_26
-rw-r--r--   1 root root  15M 2010-08-27 23:59 ispconfig_access_log_2010_08_27
-rw-r--r--   1 root root  16M 2010-08-28 23:59 ispconfig_access_log_2010_08_28
-rw-r--r--   1 root root  16M 2010-08-29 23:59 ispconfig_access_log_2010_08_29
lrwxrwxrwx   1 root root   46 2010-08-29 00:00 ispconfig_access_log-20100829 -> /var/log/httpd/ispconfig_access_log_2010_08_29
-rw-r--r--   1 root root  15M 2010-08-30 23:59 ispconfig_access_log_2010_08_30
-rw-r--r--   1 root root  16M 2010-08-31 23:59 ispconfig_access_log_2010_08_31
-rw-r--r--   1 root root  15M 2010-09-01 23:59 ispconfig_access_log_2010_09_01
-rw-r--r--   1 root root  15M 2010-09-02 23:59 ispconfig_access_log_2010_09_02
-rw-r--r--   1 root root  15M 2010-09-03 23:59 ispconfig_access_log_2010_09_03
-rw-r--r--   1 root root  15M 2010-09-04 23:59 ispconfig_access_log_2010_09_04
-rw-r--r--   1 root root  15M 2010-09-05 23:59 ispconfig_access_log_2010_09_05
lrwxrwxrwx   1 root root   46 2010-09-05 00:00 ispconfig_access_log-20100905 -> /var/log/httpd/ispconfig_access_log_2010_09_05
-rw-r--r--   1 root root  15M 2010-09-06 23:59 ispconfig_access_log_2010_09_06
-rw-r--r--   1 root root  15M 2010-09-07 23:59 ispconfig_access_log_2010_09_07
-rw-r--r--   1 root root 6.0M 2010-09-08 10:14 ispconfig_access_log_2010_09_08
-rw-r--r--   1 root root    0 2010-09-02 03:27 ssl_access_log
-rw-r--r--   1 root root  570 2010-08-06 19:20 ssl_access_log-20100808
-rw-r--r--   1 root root  823 2010-08-13 17:03 ssl_access_log-20100815
-rw-r--r--   1 root root  583 2010-08-19 18:11 ssl_access_log-20100822
-rw-r--r--   1 root root   63 2010-09-02 01:10 ssl_access_log-20100902
-rw-r--r--   1 root root 3.0K 2010-09-08 09:04 ssl_error_log
-rw-r--r--   1 root root 5.2K 2010-08-13 17:03 ssl_error_log-20100815
-rw-r--r--   1 root root 1.7K 2010-08-19 18:11 ssl_error_log-20100822
-rw-r--r--   1 root root 3.0K 2010-08-25 16:41 ssl_error_log-20100829
-rw-r--r--   1 root root 1.4K 2010-09-02 03:27 ssl_error_log-20100905
-rw-r--r--   1 root root    0 2010-09-02 03:27 ssl_request_log
-rw-r--r--   1 root root  724 2010-08-06 19:20 ssl_request_log-20100808
-rw-r--r--   1 root root 1.1K 2010-08-13 17:03 ssl_request_log-20100815
-rw-r--r--   1 root root  673 2010-08-19 18:11 ssl_request_log-20100822
-rw-r--r--   1 root root   59 2010-09-02 01:10 ssl_request_log-20100902
FC12 / ISPconfig 2.2.37
Reply With Quote
  #5  
Old 9th September 2010, 22:22
cryptic cryptic is offline
Senior Member
 
Join Date: Sep 2006
Posts: 136
Thanks: 5
Thanked 5 Times in 4 Posts
Default

Any ideas?
Reply With Quote
  #6  
Old 10th September 2010, 08:07
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,814
Thanks: 821
Thanked 5,339 Times in 4,188 Posts
Default

The webalizer statistics are working on your server and the traffic statistics for webtraffic too?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 10th September 2010, 08:08
cryptic cryptic is offline
Senior Member
 
Join Date: Sep 2006
Posts: 136
Thanks: 5
Thanked 5 Times in 4 Posts
Default

Yes they are
Reply With Quote
  #8  
Old 13th September 2010, 21:20
cryptic cryptic is offline
Senior Member
 
Join Date: Sep 2006
Posts: 136
Thanks: 5
Thanked 5 Times in 4 Posts
Default

How can I fix this?
Reply With Quote
  #9  
Old 16th September 2010, 07:37
cryptic cryptic is offline
Senior Member
 
Join Date: Sep 2006
Posts: 136
Thanks: 5
Thanked 5 Times in 4 Posts
Default

Hello? It's been a week since my post. This is a huge headache for us.
Reply With Quote
  #10  
Old 16th September 2010, 10:03
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,814
Thanks: 821
Thanked 5,339 Times in 4,188 Posts
 
Default

Which value have you set for the access log purge days in the server settings? The default is 2, if you have set 0 instead, then no files get deleted.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 17:26
Debian 5.0 'hangs' GHz Installation/Configuration 5 1st October 2009 12:57
Apache wont serve my files anymore:( wotIsCmd Server Operation 2 17th July 2009 20:24
The system is currently updating the configuration files. warlock General 8 21st February 2009 18:15
Network questions regarding Ubuntu Server lubod Installation/Configuration 7 3rd January 2007 18:53


All times are GMT +2. The time now is 21:25.


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