Heya! I got a problem with stats.. when you visit (eg) /web19/web/awstats or /stats It asks for pass and so to "Member's Only!". When you enter the correct information you endup with a Forbidden code up your face When i looked up the /stats and /awstats directory theres nothing there except .htaccess :/ What can be wrong, and how can I fix this? I've been trying this whole day to setup different awstats packages but noone seems to be working :/ Also, about webalizer.. I don't think that works either, I don't have a clue where it should be or so, can someone help me? Thanks /pne
With a new site, you will need to wait till 04:00 AM for the stat to be created. So try again tomorrow...
Well, It's been the same since i installed it.. on ALL my sites :/ Been ~25 days now with nothing Edit: w -awstatsprog="/home/admispconfig/ispconfig/web/ispc.awstats/awstats.pl".pl now Running '"/home/admispconfig/ispconfig/web/ispc.awstats/awstats.pl" -update -config=shared -configdir="/etc/awstats"' to update c onfig shared Update for config "/etc/awstats/awstats.shared.conf" With data in log file "/var/log/apache2/access.log"... Phase 1 : First bypass old records, searching new record... Searching new records from beginning of log file... Phase 2 : Now process new records (Flush history on disk after 20000 hosts)... Jumped lines in file: 0 Parsed lines in file: 3838 Found 10 dropped records, Found 0 corrupted records, Found 0 old records, Found 3828 new qualified records. Then it created this file: awstats022007.shared.txt In the same directory as awstats.pl (/home/admispconfig/ispconfig/web/ispc.awstats/) Also i had to use the apache2 log: LogFile="/var/log/apache2/access.log" How can I configure it to run for each user? :S /pne
What's the output of Code: which webalizer ? Do you use the correct username (something like web1_someuser) and password to log in? Don't mix up system users (like web1_someuser) with ISPConfig users (like admin, resellers, clients). ISPConfig users cannot log in to the statistics.
wich webalizer /usr/bin/webalizer I also did that.. Loged into ISPconfig, went to the site and removed "Webalizer Statistics" then after some mins i added it again (Saved etc ofc between). But the /web19/web/awstats and /web19/web/stats is empty. What user & password should i login with? I'm trying web19_name and the password. Sincerly
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 0 4 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/awstats.php &> /dev/null 0 6 * * * /home/admispconfig/ispconfig/web/ispc.awstats/awstats_updateall.pl now -awstatsprog="/home/admispconfig/ispconfig/web/ispc.awstats/awstats.pl"
If this can be any information: Running '"/home/admispconfig/ispconfig/web/ispc.awstats/awstats.pl" -update -config=shared -configdir="/etc/awstats"' to update config shared Update for config "/etc/awstats/awstats.shared.conf" With data in log file "/var/log/apache2/access.log"... Phase 1 : First bypass old records, searching new record... Direct access to last remembered record is out of file. So searching it from beginning of log file... Phase 2 : Now process new records (Flush history on disk after 20000 hosts)... Jumped lines in file: 0 Parsed lines in file: 1399 Found 4 dropped records, Found 0 corrupted records, Found 0 old records, Found 1395 new qualified records. For a crontab process (my log program mails all cronworks to me) Hope that helps something :s
Please run Code: /root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php &> /dev/null /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php &> /dev/null before 12.00h. What's the output?
For 1 minute ago: server1:~# /root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php &> /dev/null server1:~# /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php &> /dev/null server1:~# Cheers Also: How does this Suspend work? I tried changing a friends account to 10 MB traffic, and he had used 11. It was marked red, but the site still worked? Sincerly
The permissions of the files in the site are changed so they where inaccessible by the webserver and admin user.
Hmm.. If I want to use AWStats, what can be the problem in this case? I got a global webalizer that runs. Cheers
Does the site still work? What's the output of Code: crontab -l and Code: ls -la /path/to/web of that web site?
Yeah the site worked as usual :< crontab -l: server1:~# 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 0 4 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/awstats.php &> /dev/null 0 6 * * * /home/admispconfig/ispconfig/web/ispc.awstats/awstats_updateall.pl now -awstatsprog="/home/admispconfig/ispconfig/web/ispc.awstats/awstats.pl" ls -la /var/www/web19: server1:~# ls -la /var/www/web19 total 48 drwxr-xr-x 8 web19_no web19 4096 2007-02-27 14:41 . drwxr-xr-x 52 root root 4096 2007-02-27 17:42 .. drwxrwxr-x 2 web19_no web19 4096 2007-02-04 00:34 cgi-bin -rw------- 1 web19_no web19 24 2007-02-27 14:41 .forward -rw-rw-r-- 1 root web19 23 2007-02-27 04:00 .htpasswd -rw-r--r-- 1 root root 78 2007-02-04 00:51 index.php drwxr-xr-x 2 web19_no web19 4096 2007-02-04 00:34 log lrwxrwxrwx 1 root root 36 2007-02-27 14:41 Maildir -> /var/www/web19/user/web19_no/Maildir drwxrwxrwx 2 web19_no web19 4096 2007-02-04 00:34 phptmp -rw-r--r-- 1 root root 450 2007-02-27 14:41 .procmailrc drwxr-xr-x 2 web19_no web19 4096 2007-02-04 00:34 ssl drwxr-xr-x 3 web19_no web19 4096 2007-02-04 00:34 user lrwxrwxrwx 1 root root 44 2007-02-27 14:41 .vacation.cache -> /var/www/web19/user/web19_no/.vacation.cache drwxrwxr-x 9 web19_no web19 4096 2007-02-16 18:09 web ls -la /var/www/web19/web server1:~# ls -la /var/www/web19/web total 68 drwxrwxr-x 9 web19_no web19 4096 2007-02-16 18:09 . drwxr-xr-x 8 web19_no web19 4096 2007-02-27 14:41 .. drwxr-xr-x 2 web19_no web19 4096 2007-02-04 04:00 awstats -rw-r--r-- 1 web19_no web19 1184 2007-02-10 16:27 *.php drwx---rwx 3 web19_no web19 4096 2007-02-10 16:28 otherdir/ -rw-r--r-- 1 web19_no web19 2130 2007-02-14 21:53 *.php drwxrwxr-x 2 web19_no web19 4096 2007-02-04 01:15 error -rw-r--r-- 1 web19_no web19 793 2007-02-10 16:27 *.js -rw-r--r-- 1 web19_no web19 3319 2007-02-21 21:44 index.php drwxr-xr-x 3 web19_no web19 4096 2007-02-10 17:13 otherdir/ drwxr-xr-x 2 web19_no web19 4096 2007-02-10 16:29 otherdir/ -rw-r--r-- 1 web19_no web19 4297 2007-02-14 22:43 *.gif -rw-r--r-- 1 web19_no web19 1244 2007-02-10 16:27 *.php drwxr-xr-x 2 web19_no web19 4096 2007-02-04 04:00 stats -rw-r--r-- 1 web19_no web19 3493 2007-02-10 16:27 *.css drwxr-xr-x 6 web19_no web19 4096 2007-02-16 18:10 otherdir/ ls -la /var/www/web19/web/awstats: server1:~# ls -la /var/www/web19/web/awstats total 12 drwxr-xr-x 2 web19_no web19 4096 2007-02-04 04:00 . drwxrwxr-x 9 web19_no web19 4096 2007-02-16 18:09 .. -rw-rw-r-- 1 web19_no web19 130 2007-02-04 04:00 .htaccess ls -la /var/www/web19/web/stats: server1:~# ls -la /var/www/web19/web/stats total 12 drwxr-xr-x 2 web19_no web19 4096 2007-02-04 04:00 . drwxrwxr-x 9 web19_no web19 4096 2007-02-16 18:09 .. -rw-rw-r-- 1 web19_no web19 235 2007-02-27 04:00 .htaccess :/ Cheers