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.

How do i runweblogs for all accounts?

Discussion in 'General Discussion' started by Snowman30, Mar 25, 2004.

  1. Snowman30

    Snowman30 Well-Known Member
    PartnerNOC

    Joined:
    Apr 7, 2002
    Messages:
    681
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    Ive been having a lot of trouble with stats not updating and have been getting constant [cpuwatchcheck] Cpu/Server Overload on a server

    ive increased extracpus and run /scripts/runlogsnow

    but how do i get all accounts stats to update? /scripts/runweblogsnow asks for the account name and a * doesnt seem to work

    any ideas?
     
  2. cyon

    cyon Well-Known Member
    PartnerNOC

    Joined:
    Jan 15, 2003
    Messages:
    320
    Likes Received:
    0
    Trophy Points:
    16
  3. Curious Too

    Curious Too Well-Known Member

    Joined:
    Aug 31, 2001
    Messages:
    427
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    /scripts/runlogsnow
     
  4. Snowman30

    Snowman30 Well-Known Member
    PartnerNOC

    Joined:
    Apr 7, 2002
    Messages:
    681
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
  5. Curious Too

    Curious Too Well-Known Member

    Joined:
    Aug 31, 2001
    Messages:
    427
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Actually, /scripts/runweblogs asks for the individual username

    /scripts/runlogsnow will run all the logs at once.

    root@ns [/var/log]# /scripts/runweblogs
    Log checker loaded ok..
    What user's logs did you want to update?

    root@ns [/var/log]# /scripts/runlogsnow
    Restting Logs for merve...Done
    Restting Logs for support...Done
    Restting Logs for verveads...Done
    Restting Logs for genea...Done
    Restting Logs for dailydsh...Done
    Restting Logs for ottawa...Done
    ==> Loading Config (cpanellogd) .... Done
    ==> cpaneld(logger) 8.0 Starting (4 processor system).....
    ==> Shared RRDTOOL support enabled
     
    #5 Curious Too, Mar 26, 2004
    Last edited: Mar 26, 2004
  6. Planet_Master

    Planet_Master Well-Known Member

    Joined:
    Apr 18, 2002
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    New Yorker
    If you want to process all logs on the server and update everyones stats programs including Urchin do the following in root shell:

    /scripts/runlogsnow
    then
    tail -f /usr/local/cpanel/logs/stats_log

    It will take awhile depending on the log sizes and amount of accounts but it does everything.
     
Loading...

Share This Page