hello, stats not works when i create a domain and i use them ispconfig not create me the log file(web.log) in /var/www/webx/log/web.log i think that this is the cause why stats not work.
Its copied around 2 o 3 am, did you wait? try to restart the crond deamon. I wait 48hs. I restart crond daemon I try exec all crontab and nothing stats not works files are not create in any sites.
Are you using 2.2.6? I have the same error, but did not really care about because I'm waiting for having enought time on thinking about integration of awstats..
No, i not have any error No, i not have any error when i exec /root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php /var/www/webx/log/web.log is not created. any idea? thx
re: How long is the apache log file? is it bigger than 2Gb? How long is the apache log file? is it bigger than 2Gb? no, i have only 3 domains.
Is the log file where ISP says it is ? check your Administrator/Configuration/http/log file option inside your ISPConfig. Did you check your log size? i have some domains where each log file is about 4 o 5 gb, and they are not too big sites..
Well the log in /var/log/http/ispconfig.log is fine. in /home/www/webx/log/web.log exists with content. But if I access www.domain.tld/stats/ I get an 404 error
re: in /home/www/webx/log/web.log exists with content. in /home/www/webx/log/web.log exists with content. no, when i add a site /var/www/webx/log/ i havent got anything. web.log not exist.
But if you add it you have to wait 24h for the cronjob to start, if I remember that right from the manual...
re: But if you add it you have to wait 24h for the cronjob to start, if I remember th i wait 48 hs. and i try exec cronjob manually. But web.log is not created
re: The logfile is only created if someone accessed this website. Now appear web.log. The trafic is working, but ftp traffip appear in web traffic. when i put a file by ftp acums all in web traffic and fto is 0. i try exec crontab again but nothing. Wich is the problem? THX
Make sure that ISPConfig uses the correct FTP log file in Management -> Server -> Settings. Also make sure you really uploaded your file using FTP. Are you sure you didn't upload it through some sort of web interface?
Calling some the PHP binary in the ISPConfig setup vs. calling the system one is generally a really bad idea... find your php file with: # locate php Then set that up in your cronjob. EG: Gentoo's is /usr/bin/php
I recommend to not use the system php as this is not nescessrily compatible with the ISPConfig scripts.