Results 1 to 3 of 3

Thread: Awstats not update

  1. #1
    Member
    Join Date
    Nov 2003
    Posts
    366

    Default Awstats not update

    hello

    Awstats not update

    All settings under WHM is ok but all users statistic is old

    I try under WHM to force update but nothing happen

    Also try under ssh:
    /usr/bin/perl /usr/local/cpanel/3rdparty/bin/awstats.pl -config=mydomain.com -LogFile=/usr/local/apache/domlogs/mydomain.com -update

    return error:
    Error: Couldn't open config file "awstats.mydomain.com.conf" nor "awstats.conf" after searching in path "/usr/local/cpanel/3rdparty/bin,/root/tmp/awstats/,/etc/opt/awstats,/etc/awstats,/etc,/usr/local/etc/awstats": No such file or directory

    --

    The file is under /home/mysite/tmp/awstats/ .. as always

    There is other domain that "haven't" conf file .. because awstats is ever started :/

    --

    I have already try with force upcp .. nothing

    any suggest ?
    --

  2. #2
    Member aapkapratik's Avatar
    Join Date
    Oct 2009
    Posts
    24

    Default

    In my opinion you should try the following steps. It worked in my case


    First check wheter the function of your cPanel user accounts to update Awstats manually is enabled or not.

    Login to WHM, then select Server Configuration ->> Tweak Settings.
    Scroll down to Stats and Logs.
    Check the box "Allow users to update Awstats from cPanel"


    Actully the update link for Awstats should be present in

    cPanel>>Logs >>Awstats option will show "Update Now" next to "Last Update".

    If The Link Doesn't Appear in cPanel :-

    You can also verify that the setting is actually enabled, by checking the AWStats Configuration File for a particular user.

    1. Login via SSH as root
    2. cd /home/username/tmp/awstats
    3. grep AllowToUpdateStatsFromBrowser awstats.example.com.conf
    4. It should be set to AllowToUpdateStatsFromBrowser=1
    5. If not, edit the file and save.
    6. restart cpanel : service cpanel restart


    Updating AWstats Manually through Shell :-

    You can use SSH to update the stats by issuing the following command:

    /scripts/runweblogs [username]

    where [username] is the cPanel username you wish to update.
    Last edited by aapkapratik; 07-06-2010 at 04:39 AM.
    Pr@T!K R@W@L,
    "Simple, Capable, Ready for the Future"
    http://etechsupport.net, http://esds.co.in
    ESDS Software Solution Pvt.ltd.

  3. #3
    Member
    Join Date
    Nov 2003
    Posts
    366

    Default

    Hello

    I have solved with this:

    1. kill update process (still run but not work)
    2. de-select awstats as active statistic software and save
    3. select awstats as active statistic software and save
    4. run single user update from WHM

    now seems work

    I really don't understand what exactly was wrong

    Thanks
    --

Similar Threads

  1. Update in AWStats?
    By paulm in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 07-23-2007, 02:49 PM
  2. Problem in update of awstats - Problema na atualização do awstats
    By celobusana in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 02-26-2007, 04:49 PM
  3. HOW TO: Update to Awstats 6.5
    By typhon in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 04-21-2006, 02:45 AM
  4. awstats doesnt update
    By SEJ in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 03-10-2004, 08:14 AM