Omg very stupid, I always do a su when i log in :S really strange I didn't did it then.. feel n00bish :S ah well, very happy that it's fix0red! I presume that stats are now automatically maintained and i do not have to run these scripts again? grz and thnx a lot (again)!
Dear Falko, I observed the compilation of statistics the last few days, but they aren't compiled over night... Do you have any suggestion on what to do? grz, p.s when I run the scripts manually ( log and webalizer ) then everything is fine...
contrab -l: 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 05 02 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/backup.php &> /dev/null a cat /var/log/syslog | grep error doesn't give any feedback... thanks for helping!
after the last time I ran both scripts (log.php and webalizer.php) all seems to be fine Ah well it's working tnx again...
When I do the command i get... s1:~ # /root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php Warning: readlink(): Invalid argument in /root/ispconfig/scripts/shell/logs.php on line 125 Warning: readlink(): Invalid argument in /root/ispconfig/scripts/shell/logs.php on line 125 _______________________________ My stats dont work... HELP 403 Error stats.. GURRRRR
Unbeliveable but true: Code: /etc/init.d/cron stop pkill cron crontab -e ... and save it again. /etc/init.d/cron start Didn't helped me. But DELETING of crontab file and writing new one RESOLVED crontab & statistcs issue? Finally, I don't have to run manually those scripts for refreshing statictics every day. BTW this can be added and thus help you to see if script is executing: 00 4 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php 2>&1 | mail -s "webalizer is proceessing logs" [email protected] Code: 30 0 * * * /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 00 4 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php [B]2>&1 | mail -s "webalizer is proceessing logs" [email protected][/B] 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
This worked for me After running the 2 suggested commands it seems to work I can see my stats. Very cool. If it seems to not work after a few days I guess it'lll be back to the forums... peace Michael p.s. thanks for the info till & falko...
hi there, after moving to a new server, it seems stats are not generated, I had a look inside my webxxx/log/ folders and it seems the log.php script is running and splitting the logs so that each web now has its logs inside its log folder, but for a newly created site (a weeke ago) the stats folder is not being created and for the older sites the stats are not compiled, it still shows me stats from july ... here is some sample commands I tried: stop cron edit crontab save restart cron did not help the prompt returned 2-3 seconds after I ran the webalizer script...
Please I need some help. its 3.rd august and I have no stats for this month. any feedback you can give? what can I do to debug this problem?
yes I have and there are also logs inside the webXXX fodlers, meaning it seems like the logs are getting splitte ok, its just that no stats are processed by webalizer!?