AWStats is an acronym for Advanced Web Statistics. It displays traffic statistics to your website in other words who is accessing your website, from what part, how many visits exactly similar to google analytics. The information is displayed in graphs and tables, and divided into monthly, daily, and hourly averages.
In order to access AWStats from the cPanel, you are provided with an icon in your cPanel interface.
But sometimes what happens an icon for the awstat is missing from your cPanel. This problem can not be fixed right from your cPanel interface and you need to have a root access to the server to execute following command.
If you are getting the above error then just remove the domain.com entries from the below files :
check the zone file of the domain whether it is exist or not.
And if still doesn’t help then try enabling this option from WHM
Main >> Server Configuration >> Tweak Settings
Allow Creation of Parked/Addon Domains that are not registered
and then edit the cpanel.config file
root@server[#] vi /var/cpanel/cpanel.config
Recently i wanted to terminate one of customer’s account and restore once again. So i used
After terminating the account, in order to restore i used following script.
But the script halted during the process with following error on the screen.
Account Creation Status: failed Sorry, a mysql user with the name xxxx already exists
The error clearly means that the account was not terminate properly and I would need to find out what entry remained in the server that resulting in the error.
After a bit of research I found an user entry in following files.
After removing these entries, execute the following command.
userdel -f username
It worked and I could successfully restore user using the script.