Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 13 of 13
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    May 2002
    Posts
    122

    Default Awstats stopped working

    AWstats on a couple of my servers stopped working nightly. I can force an update manually for the accounts by executing /scripts/runweblogs

    I submitted a ticket 3 days ago with no response.
    AlphaOmegaHosting.Com
    Shared - Windows - Dedicated - Server Management
    High Quality Dell Servers located at Peer1 Datacenter

  2. #2
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    In /usr/local/cpanel
    cat cpanellogd and make sure that $skipawstats = 0; If it is set to 1 awstats will be skipped.
    Regards,
    David
    Forum Moderator

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    May 2002
    Posts
    122

    Default

    Oddly enough, one of my servers that awstats IS working on is also set to skip=1
    AlphaOmegaHosting.Com
    Shared - Windows - Dedicated - Server Management
    High Quality Dell Servers located at Peer1 Datacenter

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    May 2002
    Posts
    122

    Default

    I get this in the log file

    Error: Couldn't open config file &awstats.acoustic.com.conf& nor &awstats.conf& : No such file or directory
    Setup (Config file, web server or permissions) may be wrong.
    See AWStats documentation in 'docs' directory for informations on how to setup awstats.

    but the file is there in the /home/acoustic/tmp/awstats dir
    AlphaOmegaHosting.Com
    Shared - Windows - Dedicated - Server Management
    High Quality Dell Servers located at Peer1 Datacenter

  5. #5
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    Are the permissions okay?

    700 user:user awstats - directory

    644 user:user for the files in awstats.
    Regards,
    David
    Forum Moderator

  6. #6
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    May 2002
    Posts
    122

    Default

    yep
    AlphaOmegaHosting.Com
    Shared - Windows - Dedicated - Server Management
    High Quality Dell Servers located at Peer1 Datacenter

  7. #7
    Member
    Join Date
    Jan 2003
    Posts
    15

    Default

    I have correct settings in cpanellogd but it still will not run, pain.

    I have set stats to be run twice a day by using setting 0.5 for half day is this correct?

  8. #8
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    May 2002
    Posts
    122

    Default

    I believe I have found a workaround for this (thanks Burst.net).

    1. Turn off awstats in &Tweak settings&
    2. in ssh run /scripts/upcp
    3. Turn on awstats in &Tweak settings&
    4. in ssh run /scripts/upcp
    AlphaOmegaHosting.Com
    Shared - Windows - Dedicated - Server Management
    High Quality Dell Servers located at Peer1 Datacenter

  9. #9
    Registered User
    Join Date
    Sep 2001
    Posts
    31

    Default Other Options?

    When I cat cpanellogd it shows skip_awstats = 1;

    But it shows this on the other server that is still processing Awstats correctly.

    Also, these vaules do not weem to change no matter what tweaking I do through WHM

    I also tries this last fix that was posted, and it does not seem to have any effect.

    Other ideas?

  10. #10
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    May 2002
    Posts
    122

    Default

    When I did both the editing of the file to make skipawstats = 0 and the disable, upcp, enable, upcp, it seems to have fixed it.

    Check /usr/local/cpanel/logs/stats_log to see if it is either getting an error or not running at all.
    AlphaOmegaHosting.Com
    Shared - Windows - Dedicated - Server Management
    High Quality Dell Servers located at Peer1 Datacenter

  11. #11
    Registered User
    Join Date
    Sep 2001
    Posts
    31

    Default

    I just went into SSH and changed this.

    Will it simply be changed back every time I tweak settings?

  12. #12
    Registered User
    Join Date
    Sep 2001
    Posts
    31

    Default This seems to be a tweak issue

    Okay, I have tried a number of configurations, and it seems to me that:

    1. Webalizer will not run more than once per day (frequency = 1) by using WHM settings
    2. skipawstats is not related to whether or not Awstats will run
    3. runlogsnow no longer works correctly
    4. once you have setup a .5 or .25 for frequency, Awstats will ignore any logs that were &processed& while Awstats was not operating correctly

    Has anyone been successful at getting Awstats to run more than once per day?

    How exactly did you do it?

    Glenn

  13. #13
    Member
    Join Date
    Sep 2002
    Posts
    14

    Default

    Never mind got it sorted

Similar Threads & Tags
Similar threads

  1. Awstats stopped working from 11.28.48
    By johnburk in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 04-30-2012, 12:14 PM
  2. awstats just stopped working!?!
    By wowway1 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-11-2004, 01:37 PM
  3. AWStats stopped working after upgrading to CPanel 6.0
    By golloween in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-11-2003, 10:02 AM
  4. AWStats has stopped
    By Snowman in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-07-2003, 04:26 PM
  5. awstats stopped working
    By mrprez in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-30-2002, 10:00 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube