Bobcares

AWStats is not calculated with CentOS 7 on Plesk | Resolved

by | Mar 5, 2023

Are you wondering what to do when AWStats is not calculated with CentOS 7 on Plesk? Our Plesk Support team is here to lend a hand with your queries and issues.

AWStats is not calculated with CentOS 7 on Plesk

If your AWStats are not being calculated on the Plesk server after updating the AWStats package awstats-7.8-2.el7, you are in the right place.

AWStats can be described as an open-source web analytics tool. It generates advanced streaming, web, FTP, or mail server statistics. Furthermore, it graphically analyzes these statistics in a user-friendly interface.

For instance, AWStats offers useful information about website visitors, like which pages are more popular, the geographical location of site visitors, the search engines or keywords used by site visitors to find the website, browsers and operating systems used by them, and so on. This information comes in handy to understand user behavior and identify areas of improvement.

The AWStats is not calculated with CentOS 7 on Plesk error is due to the enabled SELinux preventing access to the awstat.pl script.

AWStats is not calculated with CentOS 7 on Plesk

In fact, this is classified as bug PPPM-13727.

We can overcome this bug till it is fixed by recalculating the statistic manually. This is done by setting up a cron job to do the task.

Let’s take a look at how to do this:

  1. To begin with, we have to log into Plesk.
  2. Next, we have to head to Scheduled Tasks (Cron Jobs) under Tools & settings.
  3. Then, click the Add Task option.
  4. Finally, we have to set the task type to Run a command and then add the following:

    /usr/local/psa/admin/bin/php '/usr/local/psa/admin/plib/DailyMaintainance/task-script.php' 'ExecuteWebStatistics' '--period=daily'

According to our experts, we can also go around the bug by disabling SELinux. Let us know in the comments if you need help disabling SELinux temporarily.

[Need assistance with a different issue? Our team is available 24/7.]

Conclusion

To sum up, our Support Techs demonstrated what to do when AWStats is not calculated with CentOS 7 on Plesk. We also got a quick look at AWStats and their uses.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.