Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Sep 2006
    Posts
    25

    Default update now @ awstat

    How to display
    the update now link in awstat
    ??
    i have enabled this in whm
    whm >> tweack settings >> Allow users to update Awstats from cPanel
    but still the link disappear !!!

  2. #2
    Registered User
    Join Date
    Oct 2006
    Posts
    1

    Default

    Im also looking for this fix. It seems theres a /usr/local/cpanel/etc/awstats.conf file that should enable this but im not sure how to do it. There is a section for this:


    # When this parameter is set to 1, AWStats add a button on report page to
    # allow to "update" statistics from a web browser. Warning, when "update" is
    # made from a browser, AWStats is ran as a CGI by the web server user
    # defined in your web server (user "nobody" by default with Apache, "IUSR_XXX"
    # with IIS), so the "DirData" directory and all already existing history files
    # (awstatsMMYYYY[.xxx].txt) must be writable by this user. Change permissions
    # if required.
    # Warning: Update process can be long so you might experience "time out"
    # browser errors if you don't launch AWStats enough frequently.
    # When set to 0, update is only made when AWStats is ran from the command
    # line interface (or a task scheduler).
    # Possible values: 1 or 0
    # Default: 0
    #

    AllowToUpdateStatsFromBrowser=%BROWSERUPDATE%


    I believe that changing this to 1 will work, but as I have tried it and it hadnt worked I am still looking for a solution

  3. #3
    Member
    Join Date
    Sep 2006
    Posts
    14

    Default

    Hi,

    Try to change particular account awstats conf to get update now stats option

    Edit file /home/username/tmp/awstats/awstats.domainame.com.conf

    set AllowToUpdateStatsFromBrowser=1

  4. #4
    Member
    Join Date
    Jul 2006
    Posts
    90

    Default

    Quote Originally Posted by senthil0787 View Post
    Hi,

    Try to change particular account awstats conf to get update now stats option

    Edit file /home/username/tmp/awstats/awstats.domainame.com.conf

    set AllowToUpdateStatsFromBrowser=1
    this is not permanent,

  5. #5
    Member darren.nolan's Avatar
    Join Date
    Oct 2007
    Posts
    259

    Default

    Did we discover a solution for this? I do not particularly want to enable this open on everyone's account - but if I must I must.

    EDIT: Found a post by WebScHoLaR trying chattr +i on the file. Will see how that goes. Thanks WebScHoLaR.
    Last edited by darren.nolan; 11-29-2007 at 10:20 PM.

  6. #6
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2002
    Posts
    686
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    I think the bug goes a bit deeper than this

    running WHM 11.11.0 cPanel 11.15.0-C18335

    and on some sites we see no stats update button despite settings being AllowToUpdateStatsFromBrowser=1

  7. #7
    Member darren.nolan's Avatar
    Join Date
    Oct 2007
    Posts
    259

    Default

    I've had success with the above post

Similar Threads & Tags
Similar threads

  1. WEBALIZER don't update, awstat e analog OK
    By ciaociao in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 07-28-2007, 03:04 AM
  2. How can I update Awstat version?
    By AlexAT in forum cPanel and WHM Discussions
    Replies: 14
    Last Post: 09-12-2006, 08:41 PM
  3. Awstat...
    By Ehsans in forum New User Questions
    Replies: 2
    Last Post: 08-23-2006, 10:09 AM
  4. problem with Awstat
    By papadega3000 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-02-2006, 11:49 PM
  5. AWSTAT Not updating
    By mohit in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-13-2005, 09:42 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube