• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

AWStats ignores LogFile-Path

K

kkk kkk

Guest
Hello,

at first, I'm German. So I hope I can communicate with you without any problems.

All right: I got a problem with the AWStats which came with Plesk. AWStats logged a long time. But suddenly it stopped. Now, I want to delete ALL statistics and build them completely new.

Therefore I deleted following dirs and files:

/srv/www/vhosts/<DOMAIN>/statistics/* (all, but /logs-Dir)
/var/lib/awstats/*

My AWStats-Conf seems to be in /usr/psa/etc/awstats/awstats.<DOMAIN>-http.conf

But whatever I enter in this file, even if I enter "LogFile=/aöldkjasödlkjö", the statistics were built successfully, but with the wrong data.

To build the stats, I run

/usr/local/psa/admin/sbin/statistics --calculate-one --domain-name="<domainname.tld>"

and that is the output... have a special look at the LogFile-Path in one of the first lines:

/usr/local/psa/admin/sbin/statistics --calculate-one --domain-name="<domainname.tld>"
Create/Update database for config "/usr/local/psa/etc/awstats/awstats.<domainname.tld>-http.conf" by AWStats version 6.6 (build 1.887)
From data in log file "-"...
Phase 1 : First bypass old records, searching new record...
Searching new records from beginning of log file...

But the stats were build correctly with the actual data for the present day. Hm.. correct... I don't know - they were build with some data for this day. Don't know if they are complete, correct or false...

What is wrong in my conf?

Thank
 
sorry for pushing the post to top. But at my clock it's 9 PM.

Does anyone have an idea what could be wrong?

Thanks!
 
Back
Top