• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Probem after upgrading to Plesk 8.4.0

xiri

New Pleskian
I have update my Plesk 8.3.0 to 8.4.0 via Plesk Updater: awstats runs correctly and generates reports. But the update of the statistics is not working?!
does anybody has an idea how to fix this?

thanks and regards
 
i try /usr/local/psa/admin/bin/websrvmng -av
but no effect....

/usr/local/psa/admin/sbin/statistics --calculate-all :

Build main page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=meine.de-http -staticlinks -configdir=/usr/local/psa/etc/awstats -output
Build alldomains page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=meine.de-http -staticlinks -configdir=/usr/local/psa/etc/awstats -output=alldomains
Build allhosts page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=meine.de-http -staticlinks -configdir=/usr/local/psa/etc/awstats -output=allhosts
Build lasthosts page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=meine.de-http -staticlinks -configdir=/usr/local/psa/etc/awstats -output=lasthosts
Build unknownip page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=meine.de-http -staticlinks -configdir=/usr/local/psa/etc/awstats -output=unknownip
Build allrobots page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=meine.de-http -staticlinks -configdir=/usr/local/psa/etc/awstats -output=allrobots
Build lastrobots page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=meine.de-http -staticlinks -configdir=/usr/local/psa/etc/awstats -output=lastrobots
Build session page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=meine.de-http -staticlinks -configdir=/usr/local/psa/etc/awstats -output=session
Build urldetail page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=meine.de-http -staticlinks -configdir=/usr/local/psa/etc/awstats -output=urldetail
Build urlentry page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=meine.de-http -staticlinks -configdir=/usr/local/psa/etc/awstats -output=urlentry
Build urlexit page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=meine.de-http -staticlinks -configdir=/usr/local/psa/etc/awstats -output=urlexit
Build osdetail page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=meine.de-http -staticlinks -configdir=/usr/local/psa/etc/awstats -output=osdetail
Build unknownos page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=meine.de-http -staticlinks -configdir=/usr/local/psa/etc/awstats -output=unknownos
Build browserdetail page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=meine.de-http -staticlinks -configdir=/usr/local/psa/etc/awstats -output=browserdetail
Build unknownbrowser page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=meine.de-http -staticlinks -configdir=/usr/local/psa/etc/awstats -output=unknownbrowser
Build refererse page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=meine.de-http -staticlinks -configdir=/usr/local/psa/etc/awstats -output=refererse
Build refererpages page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=meine.de-http -staticlinks -configdir=/usr/local/psa/etc/awstats -output=refererpages
Build keyphrases page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=meine.de-http -staticlinks -configdir=/usr/local/psa/etc/awstats -output=keyphrases
Build keywords page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=meine.de-http -staticlinks -configdir=/usr/local/psa/etc/awstats -output=keywords
Build errors404 page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=meine.de-http -staticlinks -configdir=/usr/local/psa/etc/awstats -output=errors404
20 files built.
Main HTML page is 'awstats.meine.de-http.html'.
sh: /srv/www/cgi-bin/awstats.pl: No such file or directory
 
it seems stats with webalizer works, but not with awstats...

i have also the sh: /srv/www/cgi-bin/awstats.pl: No such file or directory failure which seems to be an typo, because it should be /srv/www/cgi-bin/awstats/awstats.pl

and a simple symlink of awstats.pl dosent help much it just generates more failures, so i symlinked as workaround also the other Dirs like lib, language and then it works with
/usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=my.domain

however the past days are gone because the logfiles have allready rotated...

Brujo
 
it should be /srv/www/cgi-bin/awstats/awstats.pl

and a simple copy of the files is working - it just generates no new statistics!
can not read the logfile??
 
make sure these values in the config file points to the correct locations, if not fix them and restart psa

Code:
# grep -i awstats /etc/psa/psa.conf
# AWStats
AWSTATS_ETC_D /etc/awstats
AWSTATS_BIN_D /var/www/cgi-bin/awstats
AWSTATS_TOOLS_D /usr/share/awstats
AWSTATS_DOC_D /var/www/html/awstats

service psa stopall
service psa startall
 
SSH newbie needs help

Sorry, I have am still learning ssh.

My server running 8.4 shows

# AWStats
AWSTATS_ETC_D /etc/awstats
AWSTATS_TOOLS_D /usr/share/awstats
AWSTATS_DOC_D /var/www/html/awstats
AWSTATS_BIN_D /usr/share/awstats/wwwroot/cgi-bin

Going by the last post, I need to change the last line to
AWSTATS_BIN_D /var/www/cgi-bin/awstats

How do I do this in ssh?
Thanks!
Brad
 
Please help total Linux/Server/Plesk noob

Hi,

I've been trying to follow this thread (and others) to make my AWStats come back - I've been getting the 404 page not found since upgrading to Plesk 8.3 a few months back and now upgrading to 8.4 in an attempt to fix it. When my AWStats was working (Plesk 8.1 I think) it did not have the frameset where you choose the reporting period in the top frame. Now I get the top frame (choose reporting period dropdown) but the main frame is a 404, so part of me thinks AWStats is just writing the reports into the wrong folder, but I don't know how to verify that - Plesk's FileManager tells me the plesk-stat/webstat folder is empty, so do th reports go into a database somewhere, like a CMS?

Anyway, I see things like "#edit /etc/psa/psa.conf" and I'm wondering what to do with that? I assume I need to type it in to a command prompt somewhere, but where? How do I get to it - in Plesk? My server is a Godaddy virtual dedicated Linux, so it's not in the next room or anything, and I'm a Windows user, not Linux. I tried Windows Remote Desktop with my plesk admin credentials and couldn't get in. Any help, even just keywords to search on, would be appreciated.

Thanks!
 
We had the same problem and we have fixed with your posts, many thanks.

But now we miss the reports for the last months!
Is there a way to generate the last months with awstats?
 
Ok,

for me, changing the AWSTATS_BIN_D /srv/www/cgi-bin to /srv/www/cgi-bin/awstats did the trick for me.
I now can manually calculate the statistics using the command /usr/local/psa/admin/sbin/statistics --calculate-all

Main HTML page is 'awstats.shm-klose.de-anon_ftp.html'.
Create/Update database for config "/usr/local/psa/etc/awstats/awstats.shm-klose.de-ftp.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...
Jumped lines in file: 0
Parsed lines in file: 0
Found 0 dropped records,
Found 0 corrupted records,
Found 0 old records,
Found 0 new qualified records.
Build main page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=shm-klose.de-ftp -staticlinks -configdir=/usr/local/psa/etc/awstats -output
Build alldomains page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=shm-klose.de-ftp -staticlinks -configdir=/usr/local/psa/etc/awstats -output=alldomains
Build allhosts page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=shm-klose.de-ftp -staticlinks -configdir=/usr/local/psa/etc/awstats -output=allhosts
Build lasthosts page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=shm-klose.de-ftp -staticlinks -configdir=/usr/local/psa/etc/awstats -output=lasthosts
Build unknownip page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=shm-klose.de-ftp -staticlinks -configdir=/usr/local/psa/etc/awstats -output=unknownip
Build allrobots page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=shm-klose.de-ftp -staticlinks -configdir=/usr/local/psa/etc/awstats -output=allrobots
Build lastrobots page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=shm-klose.de-ftp -staticlinks -configdir=/usr/local/psa/etc/awstats -output=lastrobots
Build session page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=shm-klose.de-ftp -staticlinks -configdir=/usr/local/psa/etc/awstats -output=session
Build urldetail page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=shm-klose.de-ftp -staticlinks -configdir=/usr/local/psa/etc/awstats -output=urldetail
Build urlentry page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=shm-klose.de-ftp -staticlinks -configdir=/usr/local/psa/etc/awstats -output=urlentry
Build urlexit page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=shm-klose.de-ftp -staticlinks -configdir=/usr/local/psa/etc/awstats -output=urlexit
Build osdetail page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=shm-klose.de-ftp -staticlinks -configdir=/usr/local/psa/etc/awstats -output=osdetail
Build unknownos page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=shm-klose.de-ftp -staticlinks -configdir=/usr/local/psa/etc/awstats -output=unknownos
Build browserdetail page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=shm-klose.de-ftp -staticlinks -configdir=/usr/local/psa/etc/awstats -output=browserdetail
Build unknownbrowser page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=shm-klose.de-ftp -staticlinks -configdir=/usr/local/psa/etc/awstats -output=unknownbrowser
Build refererse page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=shm-klose.de-ftp -staticlinks -configdir=/usr/local/psa/etc/awstats -output=refererse
Build refererpages page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=shm-klose.de-ftp -staticlinks -configdir=/usr/local/psa/etc/awstats -output=refererpages
Build keyphrases page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=shm-klose.de-ftp -staticlinks -configdir=/usr/local/psa/etc/awstats -output=keyphrases
Build keywords page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=shm-klose.de-ftp -staticlinks -configdir=/usr/local/psa/etc/awstats -output=keywords
Build errors404 page: "/srv/www/cgi-bin/awstats/awstats.pl" -config=shm-klose.de-ftp -staticlinks -configdir=/usr/local/psa/etc/awstats -output=errors404
20 files built.
Main HTML page is 'awstats.shm-klose.de-ftp.html'.

unfortunately, there is still nothing displayed but zeros and the AWStats Page keeps telling me:

Last Update: Never updated (See 'Build/Update' on awstats_setup.html page)

The problem seems to be this:
With data in log file "-"...

Any suggestions?

regards
- Alex
 
Amendment:

on another server I additionally have this error:
error: bad top line in state file /usr/local/psa/var/logrotate.status
statistics: Unable to execute logrotate.
statistics: Unable to execute logrotate.
This file containes nothing, while on another server the file has content.
Both servers have PLESK 8.6 installed and logfile rotation is not working since upgrade to 8.4.
 
Back
Top