The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

AWStats not running for some users

Discussion in 'General Discussion' started by Blue|Fusion, Feb 1, 2006.

  1. Blue|Fusion

    Blue|Fusion Well-Known Member

    Joined:
    Sep 12, 2004
    Messages:
    378
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Cleveland, Ohio
    Hello,

    I feel like I'm having a stupid moment or something, because I can't figure this one out for the life of me (I always seem to say that 5 minutes before figuring it out on my own). Anyway, for some time now, AWStats has not been updating on all accounts.

    I've checked to make sure all users are to have AWStats ran, checked the permissions and ownership of the files relating to this, and then some.

    To try to fix the error, I've ran the following (not in any particular order):
    /scripts/upcp --force
    /scripts/runlogsnow
    /scripts/fixeverything
    /scripts/runweblogs username
    (recompiled perl 5.8.7 and some perl modules)

    Despite all that, I still get the following error, on accounts that never had AWStats ran:
    Accounts that had AWStats ran in the past have not been updated since July of 2005. In the accounts that show the error above, do not have the awstats directory in the user's tmp/ durectory, no any awstats configuration files created.

    Here's the output from /scripts/runweblogs username:
    I tried cPanel 10.8.1-C112 and R-113, both with the same results. Running CentOS 3.6.

    Any help or advice greatly appreciated!
     
  2. Blue|Fusion

    Blue|Fusion Well-Known Member

    Joined:
    Sep 12, 2004
    Messages:
    378
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Cleveland, Ohio
    Speak of the devil...
    Cut my time in half to 2 minutes :-D

    Was a problem with /var/cpanel/users/account problem. For some reason, despite being checked in WHM, AWSTATS was not in the STATGENS field. I ran /scripts/runlogsnow and worked fine.

    Hope someone else can use this info if necessary. :rolleyes:
     
  3. Vinayak

    Vinayak Well-Known Member

    Joined:
    Jun 27, 2003
    Messages:
    267
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Bharat
    cPanel Access Level:
    Root Administrator
    For those who want the same to be don via WHM,

    Go to
    Interactive Knowledge Base

    Type in "Analog" (without quotes) in Enter Issue hit return.

    It will give you the problem and solution to fix it.

    One Click and you will be done.
     
  4. nyjimbo

    nyjimbo Well-Known Member

    Joined:
    Jan 25, 2003
    Messages:
    1,125
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    New York
    We're getting the same thing here.

    :(
     
  5. jimmyp

    jimmyp Registered

    Joined:
    Nov 9, 2005
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Lincs UK
    The WHM Interactive Knowledge Base option mentioned above runs /scripts/fixsubdomainlogs (but the accounts do not have subdomains)

    and then I manually ran /scripts/runweblogs once for each problem account. Can take some time for busy accounts.

    I think its the runweblogs which actually created the initial files, but the Statistics Software Configuration in the users CPanel account was still showing crosses for Analog, Awstats and Webalizer.

    In WHM I went to Statistics Software Configuration, then in User Permissions selected the user accounts in question and gave permission to change the choice of stats to run, then configured each account so they had them turned on. Hopefully this will have enabled everything properly for the cron job for daily/month end updates and archiving.
    :)

    I do not yet know whether this has permanently fixed the problem ready the next new user account I create !
     
    #5 jimmyp, Mar 30, 2006
    Last edited: Mar 30, 2006
  6. naveen3

    naveen3 Active Member

    Joined:
    Jan 28, 2005
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    this resloved my issue

    having same issue, after shiffing server
    this commond resloved my probel.
    chmod -R 755 /usr/local/apache/domlogs/
     
  7. Solokron

    Solokron Well-Known Member

    Joined:
    Aug 8, 2003
    Messages:
    849
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Seattle
    cPanel Access Level:
    DataCenter Provider
    That's exactly what I needed. The previous server had Urchin and the config was set for that which caused other stats not to be ran.

     
  8. hdctest

    hdctest Member

    Joined:
    Nov 9, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    /scripts/runweblogs

    fixed for me.

    Thanks
     
  9. flash7

    flash7 Well-Known Member

    Joined:
    Feb 16, 2004
    Messages:
    203
    Likes Received:
    0
    Trophy Points:
    16
    Last stable version of AWStats is 6.5 - 2006-04-05

    In cPanel is 6.4 (build 1.814) :rolleyes:
     
  10. randomuser

    randomuser Well-Known Member

    Joined:
    Jun 25, 2005
    Messages:
    147
    Likes Received:
    0
    Trophy Points:
    16
    If web stats stop working everyone on the server, check to make sure cpanellogd is running:

    # ps aux | grep cpanellogd

    If not, try restarting the cpanel service, which should start the logging service:

    # /etc/rc.d/init.d/cpanel restart

    Or, check WHM -> Tweak Settings and make sure stats are enabled. This should be reflected in /var/cpanel/cpanel.config similiar to this:

    # egrep 'awstats|webalizer|analog' /var/cpanel/cpanel.config
    skipanalog=0
    skipawstats=0
    skipwebalizer=0

    which would indicate those stats programs are enabled, and cpanellogd should update those stats.
     
Loading...

Share This Page