Knowledgebase


Portal Home > Knowledgebase > Hosting FAQ's > How to enable update now button awstats?

How to enable update now button awstats?

There are two different ways to enable this option:

1] First method is Via WHM control panel
2] Second method is Via SSH Root Login

First method: Via WHM control panel

Step 1: Login to your server using the root password.
Step 2: Go to Server Configuration >> Tweak Settings
Step 3: The reload of the page will present you with several options such as cPAddons, Display, Domains, Logging, Mail, Notifications, PHP, Redirection, SQL, Security, Software, Stats Programs, etc…
Step 4: Hit the “Stats and Logs” to get the options listed under it.
Step 5: Search for “Allows users to update AWstats from cPanel” on the page and select the “On” button on the right side of the page and save the settings.

Second method: via SSH Root Login

Step 1: Login to your server using the root password.
Step 2: Specify the following path to open the users Awstats directory.

#/home/cpaneluser/tmp/awstats/

Step 3: In the above directory, search for “awstats.yourdomain.com.conf” file and edit the file using an editor. We have used vi editor.

#vi awstats.yourdomain.com.conf

Step 4: Find the following line in that file and change the value from zero (0) to (1) to enable the “Update now” option. Note that the value “1″ enables the option and value “0″ disables the option.

AllowToUpdateStatsFromBrowser=0

To enable change the value to “1″.

Step 5: Enter the following command to save the settings and quit the editor:

 

esc :wq!

 

Step 6: You need to run the following script for changes to take effect:

#/scripts/runweblogs username


Also Read