Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 12 of 12
  1. #1
    ILM
    ILM is offline
    Member
    Join Date
    Jun 2011
    Posts
    8

    Default cPanel Stats Won't Update

    I'm pulling my hair out!

    All my stats for Webalizer, AWStats and and Analog stats have not updated since 03-Jun-2011. When I got a cPanel license again.

    I have checked WHM and it's set for them to update every 12 hours. I have made all 3 systems Available to Users and Active by Default. When checking WHM logs for the user it says Stats Last Processed at: Fri Jun 17 19:13:14 2011.

    I have been on Tweak Settings and enabled all 3 programs, 'Allow users to update Awstats from cPanel' is also 'on' however in cPanel the 'Update' button does not appear.

    Stats log level has been set a 3, as someone else suggested on this forum to see if there was an issue there. Everything is on default.

    I would really appreciate some help, please remember I am not too good with all the SSH stuff and so would need some guidance on things like that.

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: cPanel Stats Won't Update

    Hello,

    If you run the following command in root SSH, what output do you receive?

    Code:
    /scripts/runweblogs username
    Please replace username with the cPanel username for one of the impacted accounts.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    ILM
    ILM is offline
    Member
    Join Date
    Jun 2011
    Posts
    8

    Default Re: cPanel Stats Won't Update

    How do I do that? I really have no idea with SSH etc.

  4. #4
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: cPanel Stats Won't Update

    You can only do it via SSH, once logged into root SSH on the machine, you would issue the command exactly as I indicated other than replacing username with the username having the issues.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  5. #5
    ILM
    ILM is offline
    Member
    Join Date
    Jun 2011
    Posts
    8

    Default Re: cPanel Stats Won't Update

    I've done that and the cPanel stats have updated (at 19:05BST - so before I ran the command), but they've only logged the last two days..

    [2011-06-22 23:13:39 +0100] Process bandwidth for caught
    [2011-06-22 23:13:39 +0100] Processing exim stats for caught....
    [2011-06-22 23:13:39 +0100] ...Done
    [2011-06-22 23:13:39 +0100] Disk Usage for caught on /dev/sda2 (0/0)
    [2011-06-22 23:13:39 +0100] WEBLANG english
    [2011-06-22 23:13:39 +0100] Archive Status: 0
    [2011-06-22 23:13:39 +0100] About to fork for caught [ALL DOMAINS: *Removed*]
    [2011-06-22 23:13:39 +0100] [webalizer] caught
    [2011-06-22 23:13:39 +0100] [analog] caught
    [2011-06-22 23:13:39 +0100] [awstats] caught
    [2011-06-22 23:13:39 +0100] exec: [/usr/local/cpanel/bin/logrunner 1.0 /usr/local/cpanel/3rdparty/bin/webalizer -F ftp -N 10 -D /home/caught/tmp/webalizerftp/dns_cache.db -R 250 -p -n ftp.caught-offside.com -o /home/caught/tmp/webalizerftp /usr/local/apache/domlogs/ftp.caught-offside.com-ftp_log]
    [2011-06-22 23:13:39 +0100] Webalizer V2.01-10 (Linux 2.6.18-194.26.1.el5) English
    [2011-06-22 23:13:39 +0100] Using logfile /usr/local/apache/domlogs/ftp.caught-offside.com-ftp_log (ftp)
    [2011-06-22 23:13:40 +0100] DNS Lookup (10): 10 addresses in 0.40 seconds
    [2011-06-22 23:13:40 +0100] Using DNS cache file /home/caught/tmp/webalizerftp/dns_cache.db
    [2011-06-22 23:13:40 +0100] Creating output in /home/caught/tmp/webalizerftp
    [2011-06-22 23:13:40 +0100] Hostname for reports is 'ftp.caught-offside.com'
    [2011-06-22 23:13:40 +0100] Reading history file... webalizer.hist
    [2011-06-22 23:13:40 +0100] Reading previous run data.. webalizer.current
    [2011-06-22 23:13:40 +0100] 54765 records (54765 ignored) in 0.27 seconds
    Last edited by ILM; 06-22-2011 at 05:15 PM.

  6. #6
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: cPanel Stats Won't Update

    Putty is a client used to connect to SSH, so correct putty could get you to SSH on the machine if you have that client installed.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  7. #7
    ILM
    ILM is offline
    Member
    Join Date
    Jun 2011
    Posts
    8

    Default Re: cPanel Stats Won't Update

    Yep I ran the command, the results are above.

  8. #8
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: cPanel Stats Won't Update

    After running the command, are stats now updating daily for the user or they have ceased updating again? It is likely not possible to obtain the prior missing days stats if they have been cleared out of the domlogs already.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  9. #9
    ILM
    ILM is offline
    Member
    Join Date
    Jun 2011
    Posts
    8

    Default Re: cPanel Stats Won't Update

    Still not working, I'm getting really frustrated now. They do not update themselves. I can manually update awstats now but it's empty. It says 'Last Update: 11 Jul 2011 - 21:12' however it shows no visitors at all since the last update.

  10. #10
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: cPanel Stats Won't Update

    Please open up a ticket at this point using WHM > Support Center > Contact cPanel or using the link my signature. If you could, please post the ticket number here upon submitting it.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  11. #11
    ILM
    ILM is offline
    Member
    Join Date
    Jun 2011
    Posts
    8

    Default Re: cPanel Stats Won't Update

    Thanks for the help, my host is kindly looking into it as the license is bought through them and if they can not fix the issue I'll create a ticket here.

  12. #12
    ILM
    ILM is offline
    Member
    Join Date
    Jun 2011
    Posts
    8

    Default Re: cPanel Stats Won't Update

    For some reason the logfiles lines in /etc/httpd/conf/httpd.conf were commented for the domain - that's what my host said, all is working now

Similar Threads & Tags
Similar threads

  1. How to update kernel? cPanel won't do it automatically?
    By Kent Brockman in forum Security
    Replies: 6
    Last Post: 01-14-2011, 11:26 AM
  2. Cpanel won't start after v11 update
    By epsol in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 06-07-2007, 02:03 AM
  3. cPanel won't update
    By eglwolf in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 02-28-2007, 08:09 AM
  4. Web Stats won't update
    By jonMEGA in forum cPanel and WHM Discussions
    Replies: 15
    Last Post: 03-28-2005, 01:40 PM
  5. Interchange removal now won\'t let me update cpanel
    By tabernack in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 09-07-2001, 05:42 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube