Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

/scripts/fixwebalizer* not working correctly

Discussion in 'General Discussion' started by audrey, Aug 1, 2014.

  1. audrey

    audrey Well-Known Member

    Joined:
    Oct 18, 2006
    Messages:
    76
    Likes Received:
    1
    Trophy Points:
    158
    Hi

    On one of my servers
    the
    /scripts/fixwebalizer*
    is not working correctly.
    Please see details below.

    I only have the webalizer statistics set to run on this server.

    This is a server wide issue

    Server is running
    CENTOS 6.4 x86_64 standard – host
    WHM 11.42.1 (build 24)
    Load Averages: 2.60 2.86 3.74

    root@host [~]# /scripts/fixwebalizer*
    Warning: this will destory all previous webalizer data!
    Enter Username to fix webalizer for? XXXXXXX
    removed `/home/ XXXXXXX/tmp/webalizer/webalizer.current'
    removed `/home/ XXXXXXX/tmp/webalizer/webalizer.hist'
    removed `/home/ XXXXXXX/tmp/webalizer/dns_cache.db'
    Log checker loaded ok..
    ==> cPanel Log Daemon version 26.0
    Logs are already being processed, please try again later.

    web host manager says
    XXXXXXX Stats Last Processed at:
    Fri Aug 1 08:22:31 2014 Bandwidth Last Processed at:
    Fri Aug 1 13:16:33 2014 Stats Processing is keeping up

    Schedule Summary
    Stat Type Updated
    Web Traffic Statistics every 24 hours
    Bandwidth Statistics every 24 hours

    Statistics Processing Times - no times are checked for
    log analysis NOT to be performed.

    Thanks in advance for your help

    Take Care
    Audrey
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,617
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you let us know your reasoning for running the "/scripts/fixwebalizer" script? Are you having a specific issue with Webalizer?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. audrey

    audrey Well-Known Member

    Joined:
    Oct 18, 2006
    Messages:
    76
    Likes Received:
    1
    Trophy Points:
    158
    Hi

    Thanks for your help

    Aside from the /scripts/fixwebalizer* - the webalizer works great

    There a couple of reasons that I want to reset the webalizer.

    1- on some sites - the webalizer hasn't worked since 2003
    (these sites have been migrated from other servers)
    and sometimes I want to get them working again on a particular site
    for various reasons.

    2- sometimes on sites with huge tmp files for the webalizer that a specific user doesn't need -
    it usually works best to run /scripts/fixwebalizer* rather than deleting the tmp files manually

    Thanks
    Take Care
    Audrey
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,617
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    You can check to see if there is any activity happening with cpanellogd by reviewing the stats_log:

    Code:
    tail -f /usr/local/cpanel/logs/stats_log
    Also, you can review the current cpanellogd action with a command such as:

    Code:
    ps aux|grep cpanellogd
    You may want to wait for the existing activity to finish before proceeding.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. audrey

    audrey Well-Known Member

    Joined:
    Oct 18, 2006
    Messages:
    76
    Likes Received:
    1
    Trophy Points:
    158
    Hi

    I ran the commands to check that nothing is running.
    Unless I am misreading the results-nothing appears to be running.

    root@host [~]# tail -f /usr/local/cpanel/logs/stats_log
    [2014-08-04 17:40:04 -0400] [sepxferlog]
    [2014-08-04 17:40:05 -0400] [sepxferlog] complete
    [2014-08-04 17:40:05 -0400] Done Checking Logs
    ==> Loaded RRDs: version 1.4.7
    [2014-08-04 17:48:25 -0400] Checking Bandwidth
    [2014-08-04 17:48:25 -0400] I/O: best-effort: prio 4
    [2014-08-04 17:48:25 -0400] Processing bandwidth.
    [2014-08-04 17:48:29 -0400] Done Checking Bandwidth
    ==> Loaded RRDs: version 1.4.7
    ==> Retention days: 15


    root@host [~]# ps aux|grep cpanellogd
    root 16624 0.0 0.0 27164 3444 ? SN Jul22 0:05 cpanellogd - sleeping for logs
    root 22920 0.0 0.0 103248 860 pts/6 S+ 17:55 0:00 grep cpanellogd
    root@host [~]#

    After I ran the above commands- I tried the /scripts/fixwebalizer* script again.
    Same results-
    I got the
    "Logs are already being processed, please try again later" message

    What is strange- is that
    1-one of the sites that I ran the script on-
    (that hasn't worked since 2003) after I ran the /scripts/fixwebalizer* script and after I got the "Logs are already being processed, please try again later" message - the webalizer stats miraculously deleted all old webalizer files and started working again.
    2- Another site that was working - after I ran the /scripts/fixwebalizer* script -it stopped working.
    In both of the above cases, when I ran the /scripts/fixwebalizer* script -I got the
    "Logs are already being processed, please try again later" message

    Thanks again for your help.
    Take Care
    Audrey
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,617
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Feel free to open a support ticket so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice