View Single Post
  #1  
Old 20th February 2007, 06:38
tsj5j tsj5j is offline
Junior Member
 
Join Date: Feb 2007
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default Traffic Statistics Not Working

Hello,

I am using a hacked version of ISPConfig to make it work with lighttpd.
Currently, everything works fine - except traffic statistics.

It seems that traffic statistics for websites aren't monitored.
I'm sure the sites are being used, and I even made some test downloads.
However, the statistics remained at 0.

I then proceed to check my crontab, and found :
Quote:
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
Seems fine to me. I then tried to run every line in the crontab manually.
The web traffic statistics remained at 0, but the FTP statistics updated.

I went to check the access log files - they were present and recording accurately.
I went to check the webalizer output files (HTML) - those recorded the KB of bandwidth accurately as well.

The only thing is I can't get ISPConfig to get its statistics updated.

QUESTIONS
- What am I doing wrong?
- Which Shell PHP file controls the updating of traffic usage?
Reply With Quote
Sponsored Links