• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Webstat not updating

Webroy

Regular Pleskian
I have centos 6 with plesk 11.

cat /usr/local/psa/version
11.0.9 CentOS 6 110120608.16

Webstat is not updating anymore. When i run /usr/local/psa/admin/sbin/statistics --calculate-all he does not give any errors.

I rebooted the server and plesk --> no result

when i try:


export STATISTICS_DEBUG=yes
and then run:
/usr/local/psa/admin/sbin/statistics --calculate-all



He gives the errors like:

DNS Lookup (15): Error: Unable to open configuration file /home/httpd/vhosts/domain.com/conf/webalizer.conf
Webalizer V2.21-02 (Linux 2.6.32-358.2.1.el6.x86_64 x86_64) English
Using logfile STDIN (clf)

When i go to the directory the file does exist.

-rw-r--r--. 1 root root 24132 Nov 6 09:48 webalizer.conf

Any ideas what is wrong??
 
I also see these errors:

Error: Can't change directory to /home/httpd/vhosts/domain.com/statistics/webstat
Error: Can't change directory to /home/httpd/vhosts/domain.com/statistics/anon_ftpstat

The /etc/webalizer.conf exist and is not changed for a long while..
 
At the moment the solution should be to disable SELinux on the server:
# setenforce 0

To disable it completely, place in the file "/etc/selinux/config" the following line:
SELINUX=disabled

As an option to try, please do the following:

1) uninstall the package `psa-selinux`;
2) turn off SELinux;
3) install `psa-selinux` package back;
4) turn on SELinux and check how it works.
 
Back
Top