Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 31st December 2009, 12:06
savago savago is offline
Member
 
Join Date: May 2008
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to savago
Default No webalizer stat generated

FC 12 perfect setup

no webalizer stats generated

/root/ispconfig/php/php -q /root/ispconfig/scripts/shell/webalizer.php
Error: Can't open log file /var/www/web1/log/web.log (symlink)
Error: Can't open log file /var/www/web6/log/web.log (symlink)
Error: Can't open log file /var/www/web5/log/web.log (symlink)
Reply With Quote
Sponsored Links
  #2  
Old 31st December 2009, 12:19
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,769
Thanks: 840
Thanked 5,608 Times in 4,419 Posts
Default

You have to wait up to 24 hours until new stats get generated and there must have been pages accessed for these sites, otherwise you get the error above as there is no web.log file then.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 4th January 2010, 12:48
savago savago is offline
Member
 
Join Date: May 2008
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to savago
Default

Quote:
Originally Posted by till View Post
You have to wait up to 24 hours until new stats get generated and there must have been pages accessed for these sites, otherwise you get the error above as there is no web.log file then.
I was run crontabs as root:
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 4 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/awstats.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

and see output
/root/ispconfig/php/php -q ..

p.s

/root/ispconfig/php/php -q /root/ispconfig/scripts/shell/ftp_logs.php
grep: /var/log/xferlog.0: No such file or directory

/root/ispconfig/php/php -q /root/ispconfig/scripts/shell/mail_logs.php
grep: /var/log/maillog.0: No such file or directory
/bin/awk
/bin/awk
/bin/awk

Last edited by savago; 4th January 2010 at 12:51.
Reply With Quote
  #4  
Old 4th January 2010, 12:53
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,769
Thanks: 840
Thanked 5,608 Times in 4,419 Posts
Default

Please post the output of:

ls /var/log/
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 4th January 2010, 13:01
savago savago is offline
Member
 
Join Date: May 2008
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to savago
Default

Quote:
Originally Posted by till View Post
Please post the output of:

ls /var/log/
ls -la /var/log/
total 136444
drwxr-xr-x 18 root root 4096 2010-01-04 12:51 .
drwxr-xr-x 24 root root 4096 2009-12-18 23:59 ..
-rw------- 1 root root 76960 2009-12-18 15:42 anaconda.log
-rw------- 1 root root 42749 2009-12-18 15:42 anaconda.syslog
-rw------- 1 root root 24543 2009-12-18 15:42 anaconda.xlog
drwxr-x--- 2 root root 4096 2010-01-03 14:20 audit
drwxr-x--- 2 backuppc backuppc 4096 2009-09-25 17:13 BackupPC
-rw-r--r-- 1 root root 0 2010-01-03 03:13 boot.log
-rw-r--r-- 1 root root 2985 2009-12-19 20:56 boot.log-20091220
-rw-r--r-- 1 root root 2785 2009-12-23 14:08 boot.log-20091227
-rw-r--r-- 1 root root 210 2009-12-30 10:20 boot.log-20100103
-rw------- 1 root utmp 2304 2010-01-03 16:25 btmp
-rw------- 1 root utmp 1659264 2009-12-29 10:44 btmp-20100101
drwxr-xr-x 2 root root 4096 2009-12-18 15:55 ConsoleKit
-rw------- 1 root root 85009 2010-01-04 13:00 cron
-rw------- 1 root root 30634 2009-12-20 03:29 cron-20091220
-rw------- 1 root root 145686 2009-12-27 03:16 cron-20091227
-rw------- 1 root root 423045 2010-01-03 03:13 cron-20100103
drwxr-xr-x 2 lp sys 4096 2009-12-23 13:25 cups
drwxr-xr-x 2 root root 4096 2009-07-25 10:55 dirmngr
-rw-r--r-- 1 root root 30312 2009-12-23 14:08 dmesg
-rw-r--r-- 1 root root 31308 2009-12-23 13:22 dmesg.old
drwx------ 2 root root 4096 2010-01-04 12:49 httpd
-rw-r--r-- 1 root root 13321 2009-12-18 22:50 ispconfig_install.log
-rw-r--r-- 1 root root 5840584 2010-01-04 12:42 lastlog
drwxr-xr-x 2 root root 4096 2009-12-18 15:36 mail
-rw------- 1 root root 1989719 2010-01-04 13:00 maillog
-rw------- 1 root root 1365337 2009-12-20 03:26 maillog-20091220
-rw------- 1 root root 12856950 2009-12-27 03:16 maillog-20091227
-rw------- 1 root root 10862246 2010-01-03 03:13 maillog-20100103
-rw-r--r-- 1 root root 31555374 2010-01-04 12:51 maillog.ispconfigsave
-rw------- 1 root root 101842 2010-01-04 12:55 messages
-rw------- 1 root root 11655330 2009-12-20 03:29 messages-20091220
-rw------- 1 root root 36466820 2009-12-27 03:16 messages-20091227
-rw------- 1 root root 24179136 2010-01-03 03:13 messages-20100103
drwxr-xr-x 2 munin munin 4096 2010-01-04 03:31 munin
-rw-r----- 1 mysql mysql 15969 2009-12-30 09:30 mysqld.log
drwxr-xr-x 2 ntp ntp 4096 2009-12-09 13:49 ntpstats
drwx------ 2 root root 4096 2009-09-16 21:03 ppp
drwxr-xr-x 2 root root 4096 2009-12-18 19:29 prelink
drwxr-x--- 2 root root 4096 2009-12-11 01:41 proftpd
-rw------- 1 root root 24850 2009-12-18 15:42 program.log
drwxr-xr-x 2 root root 4096 2010-01-03 03:13 rkhunter
drwxr-xr-x 2 root root 4096 2010-01-04 00:00 sa
drwx------ 3 root root 4096 2009-12-18 15:36 samba
-rw------- 1 root root 743679 2010-01-04 12:49 secure
-rw------- 1 root root 1608068 2009-12-20 02:05 secure-20091220
-rw------- 1 root root 325907 2009-12-27 02:10 secure-20091227
-rw------- 1 root root 1384892 2010-01-03 02:10 secure-20100103
-rw------- 1 root root 0 2010-01-03 03:13 spooler
-rw------- 1 root root 0 2009-12-18 15:33 spooler-20091220
-rw------- 1 root root 0 2009-12-20 03:29 spooler-20091227
-rw------- 1 root root 0 2009-12-27 03:16 spooler-20100103
drwxr-x--- 2 squid squid 4096 2009-11-23 20:00 squid
-rw------- 1 root root 71050 2009-12-18 15:42 storage.log
-rw------- 1 root root 0 2009-12-18 15:33 tallylog
-rw-r--r-- 1 root root 0 2009-12-18 15:55 wpa_supplicant.log
-rw-rw-r-- 1 root utmp 238464 2010-01-04 12:42 wtmp
-rw-r--r-- 1 root root 0 2010-01-03 03:13 xferlog
-rw-r--r-- 1 root root 267 2009-12-21 03:41 xferlog-20091221.gz
-rw-r--r-- 1 root root 68539 2009-12-27 03:16 xferlog-20091227.gz
-rw-r--r-- 1 root root 13619 2010-01-03 03:13 xferlog-20100103.gz
-rw-r--r-- 1 root root 1097847 2010-01-04 12:50 xferlog.ispconfigsave
-rw------- 1 root root 0 2010-01-01 04:23 yum.log
-rw------- 1 root root 250340 2009-12-30 09:24 yum.log-20100101
Reply With Quote
  #6  
Old 5th January 2010, 14:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

What's the output of
Code:
getenforce
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 6th January 2010, 10:44
savago savago is offline
Member
 
Join Date: May 2008
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to savago
Default

Quote:
Originally Posted by falko View Post
What's the output of
Code:
getenforce
?

# getenforce
Disabled
Reply With Quote
  #8  
Old 7th January 2010, 16:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Can you run
Code:
/root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php
/root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php
?
Do you get any error messages? Do the stats work afterwards?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 8th January 2010, 11:16
savago savago is offline
Member
 
Join Date: May 2008
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to savago
Default

Quote:
Originally Posted by falko View Post
Can you run
Code:
/root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php
/root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php
?
Do you get any error messages? Do the stats work afterwards?
No errors.
Not working.
Reply With Quote
  #10  
Old 9th January 2010, 12:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

Quote:
Originally Posted by savago View Post
Error: Can't open log file /var/www/web1/log/web.log (symlink)
Error: Can't open log file /var/www/web6/log/web.log (symlink)
Error: Can't open log file /var/www/web5/log/web.log (symlink)
Can you check the log directory of all your web sites and check if there's a web.log in it?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Webalizer & Fedora8 : blocked stats Vaddiszno Developers' Forum 2 21st January 2009 20:27
Error on install igbe Installation/Configuration 7 28th February 2007 23:55
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 18:17
Ubuntu Installation Fails - ISPConfig mateo107 Installation/Configuration 5 9th March 2006 08:54
Logging in to isp config Jrdgames General 43 6th March 2006 20:04


All times are GMT +2. The time now is 00:29.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.