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
  #11  
Old 5th December 2005, 21:33
kuyaedz kuyaedz is offline
Junior Member
 
Join Date: Nov 2005
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to kuyaedz
Default

...its been four days since I edited the cronjob with no change. Any other suggestions?
Reply With Quote
Sponsored Links
  #12  
Old 5th December 2005, 21:40
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,457
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
Default

Did you have still cron errors in your syslog?

You can try to execute the scripts manually:

/root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php

and after it has finished:

/root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php

Did you get errors?
Reply With Quote
  #13  
Old 5th December 2005, 22:15
kuyaedz kuyaedz is offline
Junior Member
 
Join Date: Nov 2005
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to kuyaedz
Default

this is the output of grep -i cron /var/log/syslog

Code:
Dec  5 06:39:01 localhost /USR/SBIN/CRON[11804]: (root) CMD (  [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
Dec  5 06:39:01 localhost /USR/SBIN/CRON[11806]: (root) CMD (  [ -d /var/lib/php4 ] && find /var/lib/php4/ -type f -cmin +$(/usr/lib/php4/maxlifetime) -print0 | xargs -r -0 rm)
Dec  5 07:09:01 localhost /USR/SBIN/CRON[12204]: (root) CMD (  [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
Dec  5 07:09:01 localhost /USR/SBIN/CRON[12206]: (root) CMD (  [ -d /var/lib/php4 ] && find /var/lib/php4/ -type f -cmin +$(/usr/lib/php4/maxlifetime) -print0 | xargs -r -0 rm)
Dec  5 07:17:01 localhost /USR/SBIN/CRON[12326]: (root) CMD (   run-parts --report /etc/cron.hourly)
Dec  5 07:39:01 localhost /USR/SBIN/CRON[12621]: (root) CMD (  [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
Dec  5 07:39:01 localhost /USR/SBIN/CRON[12623]: (root) CMD (  [ -d /var/lib/php4 ] && find /var/lib/php4/ -type f -cmin +$(/usr/lib/php4/maxlifetime) -print0 | xargs -r -0 rm)
Dec  5 08:00:02 localhost /USR/SBIN/CRON[12967]: (list) CMD ([ -x /usr/lib/mailman/cron/checkdbs ] && /usr/lib/mailman/cron/checkdbs)
Dec  5 08:09:01 localhost /USR/SBIN/CRON[13399]: (root) CMD (  [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
Dec  5 08:09:01 localhost /USR/SBIN/CRON[13400]: (root) CMD (  [ -d /var/lib/php4 ] && find /var/lib/php4/ -type f -cmin +$(/usr/lib/php4/maxlifetime) -print0 | xargs -r -0 rm)
Dec  5 08:17:01 localhost /USR/SBIN/CRON[13545]: (root) CMD (   run-parts --report /etc/cron.hourly)
Dec  5 08:39:01 localhost /USR/SBIN/CRON[13835]: (root) CMD (  [ -d /var/lib/php4 ] && find /var/lib/php4/ -type f -cmin +$(/usr/lib/php4/maxlifetime) -print0 | xargs -r -0 rm)
Dec  5 08:39:01 localhost /USR/SBIN/CRON[13836]: (root) CMD (  [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
Dec  5 09:00:01 localhost /USR/SBIN/CRON[14182]: (list) CMD ([ -x /usr/lib/mailman/cron/disabled ] && /usr/lib/mailman/cron/disabled)
Dec  5 09:09:01 localhost /USR/SBIN/CRON[14312]: (root) CMD (  [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
Dec  5 09:09:01 localhost /USR/SBIN/CRON[14314]: (root) CMD (  [ -d /var/lib/php4 ] && find /var/lib/php4/ -type f -cmin +$(/usr/lib/php4/maxlifetime) -print0 | xargs -r -0 rm)
Dec  5 09:17:01 localhost /USR/SBIN/CRON[14428]: (root) CMD (   run-parts --report /etc/cron.hourly)
Dec  5 09:39:01 localhost /USR/SBIN/CRON[14703]: (root) CMD (  [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
Dec  5 09:39:01 localhost /USR/SBIN/CRON[14705]: (root) CMD (  [ -d /var/lib/php4 ] && find /var/lib/php4/ -type f -cmin +$(/usr/lib/php4/maxlifetime) -print0 | xargs -r -0 rm)
Dec  5 10:09:01 localhost /USR/SBIN/CRON[15144]: (root) CMD (  [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
Dec  5 10:09:01 localhost /USR/SBIN/CRON[15146]: (root) CMD (  [ -d /var/lib/php4 ] && find /var/lib/php4/ -type f -cmin +$(/usr/lib/php4/maxlifetime) -print0 | xargs -r -0 rm)
Dec  5 10:17:01 localhost /USR/SBIN/CRON[15273]: (root) CMD (   run-parts --report /etc/cron.hourly)
Dec  5 10:39:01 localhost /USR/SBIN/CRON[15590]: (root) CMD (  [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
Dec  5 10:39:01 localhost /USR/SBIN/CRON[15591]: (root) CMD (  [ -d /var/lib/php4 ] && find /var/lib/php4/ -type f -cmin +$(/usr/lib/php4/maxlifetime) -print0 | xargs -r -0 rm)
Dec  5 11:09:01 localhost /USR/SBIN/CRON[15979]: (root) CMD (  [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
Dec  5 11:09:01 localhost /USR/SBIN/CRON[15981]: (root) CMD (  [ -d /var/lib/php4 ] && find /var/lib/php4/ -type f -cmin +$(/usr/lib/php4/maxlifetime) -print0 | xargs -r -0 rm)
Dec  5 11:17:01 localhost /USR/SBIN/CRON[16093]: (root) CMD (   run-parts --report /etc/cron.hourly)
Dec  5 11:39:01 localhost /USR/SBIN/CRON[16403]: (root) CMD (  [ -d /var/lib/php4 ] && find /var/lib/php4/ -type f -cmin +$(/usr/lib/php4/maxlifetime) -print0 | xargs -r -0 rm)
Dec  5 11:39:01 localhost /USR/SBIN/CRON[16401]: (root) CMD (  [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
Dec  5 12:00:01 localhost /USR/SBIN/CRON[16734]: (list) CMD ([ -x /usr/lib/mailman/cron/senddigests ] && /usr/lib/mailman/cron/senddigests)
Dec  5 12:09:01 localhost /USR/SBIN/CRON[16851]: (root) CMD (  [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
Dec  5 12:09:01 localhost /USR/SBIN/CRON[16852]: (root) CMD (  [ -d /var/lib/php4 ] && find /var/lib/php4/ -type f -cmin +$(/usr/lib/php4/maxlifetime) -print0 | xargs -r -0 rm)
Dec  5 12:17:01 localhost /USR/SBIN/CRON[17020]: (root) CMD (   run-parts --report /etc/cron.hourly)
Dec  5 12:39:01 localhost /USR/SBIN/CRON[17344]: (root) CMD (  [ -d /var/lib/php4 ] && find /var/lib/php4/ -type f -cmin +$(/usr/lib/php4/maxlifetime) -print0 | xargs -r -0 rm)
Dec  5 12:39:01 localhost /USR/SBIN/CRON[17345]: (root) CMD (  [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
Dec  5 13:09:01 localhost /USR/SBIN/CRON[17758]: (root) CMD (  [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
Dec  5 13:09:01 localhost /USR/SBIN/CRON[17760]: (root) CMD (  [ -d /var/lib/php4 ] && find /var/lib/php4/ -type f -cmin +$(/usr/lib/php4/maxlifetime) -print0 | xargs -r -0 rm)
Dec  5 13:17:01 localhost /USR/SBIN/CRON[17871]: (root) CMD (   run-parts --report /etc/cron.hourly)
Dec  5 13:39:01 localhost /USR/SBIN/CRON[18156]: (root) CMD (  [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
Dec  5 13:39:01 localhost /USR/SBIN/CRON[18158]: (root) CMD (  [ -d /var/lib/php4 ] && find /var/lib/php4/ -type f -cmin +$(/usr/lib/php4/maxlifetime) -print0 | xargs -r -0 rm)
...I could use any help ya'll can offer. I'm lost at this point.

EDIT: running the command manually generated the /stats/ and I now have access to the logs. Am I going to need to do this manually from now on?

Last edited by kuyaedz; 5th December 2005 at 23:12.
Reply With Quote
  #14  
Old 5th December 2005, 23:48
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,726 Times in 2,565 Posts
Default

We need an excerpt of /var/log/syslog from the time between 0.00h and 4.30h because that's the time where the statistics should be generated.
__________________
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
  #15  
Old 6th December 2005, 11:06
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,457
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
Default

Quote:
Am I going to need to do this manually from now on?
No. If it works when you execute it manually, then you have still a cron error. Please post an excerpt of the syslog from the timespan where the cronjob is run like falko posted above.
Reply With Quote
  #16  
Old 6th December 2005, 16:15
kuyaedz kuyaedz is offline
Junior Member
 
Join Date: Nov 2005
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to kuyaedz
Default

This is everything from the /var/log/syslog between 00:00h & 04:39h... Thanks again for the help, I hope we can figure something out here.

Code:
Dec  6 00:05:36 localhost -- MARK --
Dec  6 00:09:01 localhost /USR/SBIN/CRON[27079]: (root) CMD (  [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
Dec  6 00:09:01 localhost /USR/SBIN/CRON[27081]: (root) CMD (  [ -d /var/lib/php4 ] && find /var/lib/php4/ -type f -cmin +$(/usr/lib/php4/maxlifetime) -print0 | xargs -r -0 rm)
Dec  6 00:17:01 localhost /USR/SBIN/CRON[27191]: (root) CMD (   run-parts --report /etc/cron.hourly)
Dec  6 00:39:01 localhost /USR/SBIN/CRON[27460]: (root) CMD (  [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
Dec  6 00:39:01 localhost /USR/SBIN/CRON[27461]: (root) CMD (  [ -d /var/lib/php4 ] && find /var/lib/php4/ -type f -cmin +$(/usr/lib/php4/maxlifetime) -print0 | xargs -r -0 rm)
Dec  6 01:05:37 localhost -- MARK --
Dec  6 01:09:01 localhost /USR/SBIN/CRON[27836]: (root) CMD (  [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
Dec  6 01:09:01 localhost /USR/SBIN/CRON[27837]: (root) CMD (  [ -d /var/lib/php4 ] && find /var/lib/php4/ -type f -cmin +$(/usr/lib/php4/maxlifetime) -print0 | xargs -r -0 rm)
Dec  6 01:17:01 localhost /USR/SBIN/CRON[27947]: (root) CMD (   run-parts --report /etc/cron.hourly)
Dec  6 01:39:01 localhost /USR/SBIN/CRON[28215]: (root) CMD (  [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
Dec  6 01:39:01 localhost /USR/SBIN/CRON[28217]: (root) CMD (  [ -d /var/lib/php4 ] && find /var/lib/php4/ -type f -cmin +$(/usr/lib/php4/maxlifetime) -print0 | xargs -r -0 rm)
Dec  6 02:05:37 localhost -- MARK --
Dec  6 02:09:01 localhost /USR/SBIN/CRON[28593]: (root) CMD (  [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
Dec  6 02:09:01 localhost /USR/SBIN/CRON[28595]: (root) CMD (  [ -d /var/lib/php4 ] && find /var/lib/php4/ -type f -cmin +$(/usr/lib/php4/maxlifetime) -print0 | xargs -r -0 rm)
Dec  6 02:17:01 localhost /USR/SBIN/CRON[28706]: (root) CMD (   run-parts --report /etc/cron.hourly)
Dec  6 02:39:01 localhost /USR/SBIN/CRON[28974]: (root) CMD (  [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
Dec  6 02:39:01 localhost /USR/SBIN/CRON[28975]: (root) CMD (  [ -d /var/lib/php4 ] && find /var/lib/php4/ -type f -cmin +$(/usr/lib/php4/maxlifetime) -print0 | xargs -r -0 rm)
Dec  6 03:05:37 localhost -- MARK --
Dec  6 03:09:01 localhost /USR/SBIN/CRON[29350]: (root) CMD (  [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
Dec  6 03:09:02 localhost /USR/SBIN/CRON[29351]: (root) CMD (  [ -d /var/lib/php4 ] && find /var/lib/php4/ -type f -cmin +$(/usr/lib/php4/maxlifetime) -print0 | xargs -r -0 rm)
Dec  6 03:17:01 localhost /USR/SBIN/CRON[29459]: (root) CMD (   run-parts --report /etc/cron.hourly)
Dec  6 03:27:01 localhost /USR/SBIN/CRON[29582]: (list) CMD ([ -x /usr/lib/mailman/cron/nightly_gzip ] && /usr/lib/mailman/cron/nightly_gzip)
Dec  6 03:39:01 localhost /USR/SBIN/CRON[29730]: (root) CMD (  [ -d /var/lib/php4 ] && find /var/lib/php4/ -type f -cmin +$(/usr/lib/php4/maxlifetime) -print0 | xargs -r -0 rm)
Dec  6 03:39:01 localhost /USR/SBIN/CRON[29731]: (root) CMD (  [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
Dec  6 04:05:37 localhost -- MARK --
Dec  6 04:09:01 localhost /USR/SBIN/CRON[30107]: (root) CMD (  [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
Dec  6 04:09:01 localhost /USR/SBIN/CRON[30109]: (root) CMD (  [ -d /var/lib/php4 ] && find /var/lib/php4/ -type f -cmin +$(/usr/lib/php4/maxlifetime) -print0 | xargs -r -0 rm)
Dec  6 04:17:01 localhost /USR/SBIN/CRON[30219]: (root) CMD (   run-parts --report /etc/cron.hourly)
Dec  6 04:39:01 localhost /USR/SBIN/CRON[30486]: (root) CMD (  [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
Dec  6 04:39:01 localhost /USR/SBIN/CRON[30487]: (root) CMD (  [ -d /var/lib/php4 ] && find /var/lib/php4/ -type f -cmin +$(/usr/lib/php4/maxlifetime) -print0 | xargs -r -0 rm)
Reply With Quote
  #17  
Old 6th December 2005, 16:28
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,726 Times in 2,565 Posts
Default

Hm, everything's ok in the log... Can you examine /var/log/messages instead?
__________________
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
  #18  
Old 6th December 2005, 16:31
kuyaedz kuyaedz is offline
Junior Member
 
Join Date: Nov 2005
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to kuyaedz
Default

Output of /var/log/messages between 00:00 and 04:45...

Dec 6 00:05:36 localhost -- MARK --
Dec 6 00:25:36 localhost -- MARK --
Dec 6 00:45:36 localhost -- MARK --
Dec 6 01:05:37 localhost -- MARK --
Dec 6 01:25:37 localhost -- MARK --
Dec 6 01:45:37 localhost -- MARK --
Dec 6 02:05:37 localhost -- MARK --
Dec 6 02:25:37 localhost -- MARK --
Dec 6 02:45:37 localhost -- MARK --
Dec 6 03:05:37 localhost -- MARK --
Dec 6 03:25:37 localhost -- MARK --
Dec 6 03:45:37 localhost -- MARK --
Dec 6 04:05:37 localhost -- MARK --
Dec 6 04:25:37 localhost -- MARK --
Dec 6 04:45:37 localhost -- MARK --
Reply With Quote
  #19  
Old 6th December 2005, 19:02
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,726 Times in 2,565 Posts
Default

When you run
Code:
crontab -e
as root, do you see the webalizer.php and logs.php cron jobs?
__________________
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
  #20  
Old 6th December 2005, 19:05
kuyaedz kuyaedz is offline
Junior Member
 
Join Date: Nov 2005
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to kuyaedz
 
Default

This is my crontab -e...

Code:
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
EDIT: running each of these commands manually doesn't seem to return any errors. The stats update. Do you see a reason why these aren't actually getting done on their own?

Last edited by kuyaedz; 7th December 2005 at 02:06.
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
Webalizer doesn't work :( DarkBen Installation/Configuration 22 13th January 2008 14:04
webalizer and logrotate damaskinos Server Operation 4 24th November 2005 23:16
Webalizer: /stats is there but Apache cannot see/access? kanal42 Installation/Configuration 3 26th October 2005 13:55
concerning webalizer Ovidiu Installation/Configuration 1 12th October 2005 12:34
web.log and webalizer Lobanak Installation/Configuration 4 11th September 2005 19:24


All times are GMT +2. The time now is 06:51.


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