• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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