AWstats isn't updating stats.

Fred.

Verified User
Joined
Sep 5, 2009
Messages
220
I just installed this server and it seems like it never worked.

I did

Code:
cd /usr/local/directadmin/custombuild
./build set awstats yes
./build awstats

But still no luck.

If I do a manual run of awstats_process.sh it's generating the files, but I don't see anything changing on the AWstats page.
 
I know that too.
With just I actually mean 3 weeks ago. :p

Not sure what I have to do because even the manual run doesn't work.
 
Hello Fred,

please make sure you have awstats=1 in your directadmin.conf and restart directadmin.
 
Hi Alex,

awstats=1 is in directadmin.conf


I just noticed it's trying to access httpd logs while I use nginx. The configuration files are wrong.
I think this happened because I copied my old stats (from my old server) to that folder.
Is it possible to re-generate those files? If I delete them is DA re-generating them?

If I click on update on the AwStats page I get this.
Code:
Error: Couldn't open server log file "/var/log/httpd/domains/example.com.log" : Permission denied 

Setup ('/home/admin/domains/example.com/awstats/.data/awstats.example.com.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
 
I got it.

Deleted the .conf file in awstats/.data

and then run

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

It's working perfect now.
 
Back
Top