• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

only 1 domain not webalizer updated

H

Herby

Guest
Hi

At the statistics cronjob 1 Domain is not updated.

When I do
/usr/local/psa/admin/sbin/statistics
manually the domainstat also of this domain is updated.

What could cause this?

br,
Herby
 
Hi,

you could use remove
Code:
 >/dev/null 2>&1
from crontab and wait for output, when cronjob is executed next time ...

Regards,

Pink
 
check

/home/httpd/vhosts/1domain/statistics/logs/access_log.processed

and make sure it not over 2 gig ..

Webalizer won't read or have some issues reading log file that is over 2gig ..

Bill
 
@cbill: its far below 2gig

@mr. pink:

this domain is not showing in the logs. It looks the domain doesnt exist.

Curious that it is working with the same command from cron on root shell.

Does any1 know where statistic reads the info which domains should be updated - .conf ??
 
I'm experiencing similar issues

[root@vps1077 root]# ls -alh /home/httpd/vhosts/example.com/statistics/logs/access* | sort -n +4
-rw-r--r-- 1 root root 25K Jun 8 12:03 /home/httpd/vhosts/example.com/statistics/logs/access_log
-rw-r--r-- 1 root root 239M Jun 8 11:53 /home/httpd/vhosts/example.com/statistics/logs/access_log.processed
[root@vps1077 root]#

Domain name changed to protect the innocent.

I've tried updating these stats manually,

[root@vps1077 root]# /usr/local/psa/admin/sbin/statistics --calculate-one --doma in-name=example.com
Webalizer V2.01-10 (Linux 2.6.9-022stab078.21-entnosplit) English
Using logfile STDIN (clf)
DNS Lookup (15): 9 addresses in 0.47 seconds
Webalizer V2.01-10 (Linux 2.6.9-022stab078.21-entnosplit) English
Using logfile STDIN (clf)
DNS Lookup (15): None to process
Webalizer V2.01-10 (Linux 2.6.9-022stab078.21-entnosplit) English
Using logfile STDIN (ftp)
DNS Lookup (15): None to process
Webalizer V2.01-10 (Linux 2.6.9-022stab078.21-entnosplit) English
Using logfile STDIN (ftp)
DNS Lookup (15): None to process
Webalizer V2.01-10 (Linux 2.6.9-022stab078.21-entnosplit) English
Using logfile STDIN (clf)
Using DNS cache file /usr/local/psa/var/webalizer.cache
Creating output in /home/httpd/vhosts/example.com/statistics/webstat
Hostname for reports is 'example.com'
History file not found...
Reading previous run data.. webalizer.current
Error: Unable to restore run data (1)
Webalizer V2.01-10 (Linux 2.6.9-022stab078.21-entnosplit) English
Using logfile STDIN (clf)
Using DNS cache file /usr/local/psa/var/webalizer.cache
Creating output in /home/httpd/vhosts/example.com/statistics/webstat-ss l
Hostname for reports is 'example.com'
History file not found...
Previous run data not found...
No valid records found!
Webalizer V2.01-10 (Linux 2.6.9-022stab078.21-entnosplit) English
Using logfile STDIN (ftp)
Using DNS cache file /usr/local/psa/var/webalizer.cache
Creating output in /home/httpd/vhosts/example.com/statistics/anon_ftpst at
Hostname for reports is 'example.com'
History file not found...
Previous run data not found...
No valid records found!
Webalizer V2.01-10 (Linux 2.6.9-022stab078.21-entnosplit) English
Using logfile STDIN (ftp)
Using DNS cache file /usr/local/psa/var/webalizer.cache
Creating output in /home/httpd/vhosts/example.com/statistics/ftpstat
Hostname for reports is 'example.com'
Reading history file... webalizer.hist
Reading previous run data.. webalizer.current
No valid records found!
[root@vps1077 root]#

Something else I find odd is the fact that the domain bandwidth usage is update to date until June but the webalizer stats have stopped since January
 
Back
Top