hi i have installed ispconfig 2 + fedora14 x86_64 all runs ok but webalizer not work, only forcing with : /root/ispconfig/php/php -q /root/ispconfig/scripts/shell/logs.php Warning: asort() expects parameter 1 to be array, null given in /root/ispconfig/scripts/shell/logs.php on line 172 Warning: Invalid argument supplied for foreach() in /root/ispconfig/scripts/shell/logs.php on line 173 and: /root/ispconfig/php/php -q /root/ispconfig/scripts/shell/webalizer.php but lost a lot of days and not make stats automatic. how to correct please? thnks in advance
ls -la wxr-xr-x. 22 root root 4096 feb 3 00:30 . drwxr-xr-x. 24 root root 4096 ene 30 13:37 .. drwxr-xr-x. 2 root root 4096 ago 30 18:37 cgi-bin -rw------- 1 root root 49 ene 30 09:13 .directory drwxr-xr-x. 3 root root 4096 ene 27 07:01 error drwxr-xr-x. 2 root root 4096 feb 6 13:42 html drwxr-xr-x. 3 root root 4096 dic 1 11:55 icons drwxr-xr-x 3 root root 4096 jul 8 2009 localhost drwxr-xr-x 3 root root 4096 feb 3 00:30 xxx.xxx.es drwxr-xr-x. 2 root root 4096 feb 6 13:43 sharedip drwxr-xr-x 2 root root 4096 ene 29 18:30 sqlbackup drwxr-xr-x. 2 webalizer root 4096 feb 1 07:49 usage drwxr-xr-x 8 web10_xxx web10 4096 feb 2 04:01 web10 drwxr-xr-x 8 web11_xxx web11 4096 feb 2 04:00 web11 drwxr-xr-x 8 web12_xxxx web12 4096 feb 1 08:19 web12 drwxr-xr-x 8 web13_xxx web13 4096 ene 30 14:16 web13 drwxr-xr-x 8 web4_xxx web4 4096 feb 8 21:18 web4 drwxr-xr-x 8 web5_xxx web5 4096 feb 2 04:00 web5 drwxr-xr-x 8 web6_xxx web6 4096 ene 30 14:15 web6 drwxr-xr-x 9 web7_xxx web7 4096 ene 30 14:16 web7 drwxr-xr-x 8 web8_xxx web8 4096 ene 30 14:15 web8 lrwxrwxrwx 1 apache web12 14 ene 29 16:58 www.xxxx.org -> /var/www/web12 lrwxrwxrwx 1 apache web10 14 ene 29 20:26 www.xxxx.es -> /var/www/web10 lrwxrwxrwx 1 apache web4 13 ene 29 12:12 www.xxxx.es -> /var/www/web4 lrwxrwxrwx 1 apache web11 14 ene 30 09:05 www.xxxxx.com -> /var/www/web11 lrwxrwxrwx 1 root root 13 ene 29 12:37 www.xxxx.com -> /var/www/web6 lrwxrwxrwx 1 apache web8 13 ene 29 21:25 www.xxxxe.es -> /var/www/web8 lrwxrwxrwx 1 apache web7 13 ene 29 12:30 www.xxxx.eu -> /var/www/web7 lrwxrwxrwx 1 apache web13 14 ene 29 17:01 www.xxxx.es -> /var/www/web13 lrwxrwxrwx 1 apache web5 13 ene 29 12:33 www.xxxx.com -> /var/www/web5
Looks ok. Are there any access logs in the log folders, e.g. /var/www/web4/log/ or /var/www/web12/log/?
access logs drwxr-xr-x 2 web4_xxx web4 4096 feb 2 00:30 . drwxrwxr-x 4 web4_xxx web4 4096 feb 2 00:30 .. -rw-r--r-- 1 web4_xxx web4 1786243 feb 9 22:17 web.log last registre: (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" 66.249.71.55 - - [09/Feb/2011:22:10:15 +0100] "GET /blog/wp-content/gallery/mali/DSC_3318.jpg HTTP/1.1" 200 20012 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" 66.249.71.55 - - [09/Feb/2011:22:10:15 +0100] "GET /blog/wp-content/gallery/mali/DSC_3508.jpg HTTP/1.1" 200 27319 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" 66.249.71.55 - - [09/Feb/2011:22:10:16 +0100] "GET /blog/wp-content/gallery/mali/DSC_3461.jpg HTTP/1.1" 200 15967 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" thank you Falco.
crontab -l 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 thanks very much falco.