• 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

Big problem while migrate domains - statistics shows error 500

F

frank-maik

Guest
i have a big problem

i have migrated several domains form plesk 7.5 to plesk 8.3 (other server)

from this time on absolutely no statistics (awstats or webalizer) are shown -> error 500

i just discovered that the server resetted for all domains the rights for several folders of each domain (httpdocs,httpsdocs,statistics etc.) - all "read"-rights were eliminated for this folders. as i setted it now to enabled again the site is ok but no ststistics -> error 500

waht could this be ? is there a possibility to solve this ?
 
Please, make sure that these domains are resolved to one of IP addresses belong to Plesk server.

1) If you recently upgraded apache make sure that you did not replace the psa provided suexec with the one that came with httpd-suexec.

if you did, its easy to fix

# chattr -i /usr/sbin/suexec
# cp --reply=y /usr/local/psa/suexec/psa-suexec /usr/sbin/suexec
# chown root:apache /usr/sbin/suexec
# chmod 4510 /usr/sbin/suexec

2) Also, make sute that AWstats directory staructure that is set in Plesk configuration file is correct:
#grep -i awstats /etc/psa/psa.conf
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

# find / -name 'awstats'
/var/www/cgi-bin/awstats
/var/www/html/awstats
/var/lib/awstats
/etc/awstats
/etc/cron.daily/awstats
/usr/share/awstats
/usr/local/psa/etc/awstats

If some of paths in /etc/psa/psa.conf is incorrect, setup right paths and run statistics calculation for one of the domain manually:

# /usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=domain.com > /tmp/stat_log 2>&

After finishing, you can check /tmp/stat_log to see if there are any error messages during statistics calculation.
 
Back
Top