Awstats non updated anymore

Derevko

Verified User
Joined
Feb 18, 2012
Messages
40
Hi,

After migrate to a new server awstats is not updated anymore.
If I run manually the awstats_process.sh for a domain it works, but it seems that it is not run in cron.
Any hint?
 
Please try:
Code:
cd /usr/local/directadmin/custombuild
./build set awstats yes
./build awstats
 
You should check cron logs for dataskq entries (the cronjob itself is located in /etc/cron.d/directadmin_cron).
 
You should check cron logs for dataskq entries (the cronjob itself is located in /etc/cron.d/directadmin_cron).

I din't find anything relevant :( It works only if I run /usr/local/directadmin/scripts/awstats_process.sh USER DOMAIN
 
Hello,

I believe, there is no separate crontab task for awstats, I don't have at least:

Code:
[root@server scripts]# grep aws /var/spool/cron/*
[root@server scripts]# grep aws -R /etc/cron*

Just make sure to have awstats=1:

Code:
[root@server scripts]#/usr/local/directadmin/directadmin c | grep awst
awstats=1

and restart directadmin. As processing awtats is a part nightly tally cronjob:

Code:
10 0 * * * root echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue

So you should check /var/log/directadmin/errortaskq.log for errors.

And of course you could try and run tally process in a debug mode:

Code:
echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq d800 | tee /usr/local/directadmin/dataskq.out

Related: http://www.directadmin.com/features.php?id=894
 
And of course you could try and run tally process in a debug mode:

Code:
echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq d800 | tee /usr/local/directadmin/dataskq.out

Done, but there isn't anything related to awstats in /usr/local/directadmin/dataskq.out ... Any hint?
 
Done, but there isn't anything related to awstats in /usr/local/directadmin/dataskq.out ... Any hint?

Another strange thing is that some users are missing in the log, and so they are not processed...?
 
Do you have awstats=1 in directadmin.conf ?

Code:
[root@server scripts]#/usr/local/directadmin/directadmin c | grep awst
awstats=1
 
I'm a little puzzled... why some users are missing in the "Tally all" procedure?
 
I just noted that a lot of users are missing from /usr/local/directadmin/data/users/admin/users.list
Could be this the cause of the issue?
How can I regenerate that file?
 
Back
Top