• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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