Webhosting Blog

About

This blog is a small attempt to solve your daily problems encountered in web hosting.

6 responses

  1. Pankaj

    Hi,

    I have a problem related to Awstats ,Linux / cpanel server. The stats for one of the domain have gone missing …..stats prior to 7th sep 2010 are missing……

    Is there a way of getting them back…..If yes how do I get them back ?

    Thanks…

    September 29, 2010 at 5:16 am

    • Hello Pankaj. Yes, you can update the awstats for the domain manually from the shell.
      For this you can login to the shell as root user and issue the following command:
      # /scripts/runweblogs [username]

      Replace [username] with the domain owner name. This will help to update the stats manually for all the domains under the primary domain with the primary domain.

      Also you can manually try to update the stats from cPanel >> Logs >> Awstats >> Select domain >> Now when you open AwStats in cPanel there will be a link next to the date that says “Update now”. You may click this link to immediately parse the raw access logs and generate your statistics.

      September 29, 2010 at 5:31 pm

  2. As per my understanding, it is not possible to retrieve awstats prior to the date when # /scripts/runweblogs [username] is run on the server. One way to retrieve prior logs is to utilize the log file at following path. But unfortunately don’t know how to utilize it.

    /home/username/tmp/awstats

    December 27, 2010 at 7:24 pm

  3. Mangesh

    I think your domlogs are deleted during cpanel users log rotation, so its impossible to recover
    stats of prior date

    January 4, 2011 at 5:38 am

    • Yes Mangesh, you are right.

      January 5, 2011 at 5:51 am

  4. It is appropriate time to make some plans for the future and it’s time to be happy. I have read this post and if I could I desire to suggest you some interesting things or advice. Perhaps you can write next articles referring to this article. I wish to read more things about it! web hosting | cpanel hosting |

    June 28, 2011 at 1:50 am

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s