Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 13 of 13
  1. #1
    Secret Agent
    Guest

    Default major pain: awstats won't update

    I've been trying to fix awstats on this server that hasn't updated since March 12th.

    First,
    The load average that will cause the server status to appear red (leave blank for default): 5
    Pentium 2.4GHz / 1GB Memory / Minimal Load

    Ran
    /scripts/runweblogs user
    I did this for all 4 accounts

    Account sizes are:
    0
    1100
    406
    1060

    I even ran /scripts/fixcommonproblems, /scripts/runstatsonce

    I also deleted all log files from /tmp for each account as well first to easey on the resources during update.

    It just won't work when I run /scripts/runweblogs, cpu load goes up to about 3-4 and it just either says 'waiting for load to go down...' or just hangs (not freeze though) and does nothing.

    Any suggestions?

  2. #2
    Member
    Join Date
    Mar 2004
    Posts
    84
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    What is the size of your domains log files ?!

    found at : /usr/local/apache/domlogs/yourdomain.com

    do a 'ls -lh /usr/local/apache/domlogs/yourdomain.com' and if it were near 2 Giga, it might be the reason for your problem.
    me@life# cd memories
    me@life# rm -rf bad

  3. #3
    Secret Agent
    Guest

    Default

    Should I simply delete all the logs inside that directory and start fresh?

  4. #4
    Secret Agent
    Guest

    Default

    I deleted the main domain logs (some were huge) but still problem persists odd enough.

    It gets stuck here for more than 10 minutes

    root@server [/usr/local/apache/domlogs]# /scripts/runweblogs user
    Log checker loaded ok..
    ==> Loading Config (cpanellogd) .... Done
    ==> cpaneld(logger) 8.0 Starting (1 processor system).....
    ==> Shared RRDTOOL support enabled
    Processing ryoni84...
    [add subdomain] user olga.domain.com
    [add subdomain] user blog.domain.com
    [add subdomain] user domain.com
    Run Logs user,domain.com,0,domain.com blog.domain.com olga.domain.com
    LANGUAGE: english /usr/local/cpanel/lang/.english

  5. #5
    Member
    Join Date
    Mar 2004
    Posts
    84
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    If it's actually near the 2 Giga limit, you'll have to either rotate your log files or even delete them if you don't need them anymore.
    me@life# cd memories
    me@life# rm -rf bad

  6. #6
    Secret Agent
    Guest

    Default

    I did delete them already and there is nothing now larger than 1MB (other files like ftp logs) but still the problem is there

  7. #7
    Secret Agent
    Guest

    Default

    I tried an account with literally 0MB and it gets stuck here

    Phase 2 : Now process new records (Flush history on disk after 20000 hosts)...
    Waiting for load to go down to continue

    The load cpu is less than 2.0

  8. #8
    Member
    Join Date
    Mar 2004
    Posts
    84
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Does it hang after displaying the last line "i.e LANGUAGE: english /usr/local/cpanel/lang/.english" ? .. If so, have you checked for '/usr/local/cpanel/lang/.english' .. Is it really there ?, Also, you may need to check your log files. I'm not sure where the awstats log 'script log', so I'll take alook and I'll keep you updated
    me@life# cd memories
    me@life# rm -rf bad

  9. #9
    Secret Agent
    Guest

    Default

    Yes it hangs at that line and the file is there also

  10. #10
    Member
    Join Date
    Mar 2004
    Posts
    84
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    By the way, is 'Awstats Reverse Dns Resolution' option checked in WHM->Tweak Settings ?! .. If so, try to uncheck it and try again. 'Still Looking '
    me@life# cd memories
    me@life# rm -rf bad

  11. #11
    Member
    Join Date
    Jun 2004
    Posts
    50

    Default Update WHM

    If you go into whm and tweak settings there should be a line:The load average above the number of cpus at which logs file processing should be suspended (default 0):

    Simply update this to 3 or higher. Logs take a lot of load on the server and can easily jack up a normally 2 or 3 load server to 5 or 6 but based upon your specs that should not be a problem. The default zero seems to suspend this above 2.
    http://UserUnfriendly.com
    Hosting Done Right.

  12. #12
    Secret Agent
    Guest

    Default

    Anyone else know?

  13. #13
    Member
    Join Date
    Mar 2005
    Posts
    19

    Default

    I have been having this problem since the beginning of March. My Cpanel hasn't been updating and same with the stats.

    It just won't work when I run /scripts/runweblogs, cpu load goes up to about 3-4 and it just either says 'waiting for load to go down...' or just hangs (not freeze though) and does nothing.
    The same thing happens for me. I even increased my server load and enabled 'Delete each domain's access logs after stats run' .

Similar Threads & Tags
Similar threads

  1. exim won't restart via cpanel, major exim problems
    By amaltemara in forum E-mail Discussions
    Replies: 3
    Last Post: 06-10-2009, 10:46 AM
  2. Easy Update PAIN
    By dinfiesta in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-12-2007, 01:15 PM
  3. Problem in update of awstats - Problema na atualização do awstats
    By celobusana in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-26-2007, 04:49 PM
  4. Major Webmail Issues After Update
    By celliott in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 12-19-2006, 09:01 AM
  5. awstats won't update
    By Secret Agent in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-31-2005, 12:33 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube