Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member Rooter's Avatar
    Join Date
    Apr 2003
    Location
    Houston, Texas, U.S.A.
    Posts
    146
    cPanel/Enkompass Access Level

    Root Administrator

    Exclamation Statistics update "cycle" custom values are reset to default upon Tweak Settings save

    I posted a bug report for this issue earlier last month, but I hope that by creating a thread for it more attention will be drawn to the matter. (I searched thoroughly on the forums and could not find the same nor a similar issue.)

    Every time the Tweak Settings page is Saved it resets the "cycle" value used
    for statistics / stats processing frequency / interval so that any custom values setup via WHM's Statistics Software Configuration will be erased and reset to the default of "1"
    (processed every 1 day vs "0.5" for every 12 hours).

    Output after Saving on the Tweak Settings page:

    Settings have been tweaked
    Main >> Security >> Tweak Security
    Your changes have been saved.
    Updating your system to reflect any changes ...
    Updating "cycle" from "0.25" to "1".
    "cycle" was updated.
    Done.
    Restarting cPanel daemons ... Done


    I confirm the bug still exists on at least the following OS and cPanel/WHM build combinations.

    WHM 10.8.0 cPanel 10.8.2-C460
    CentOS 4.3 i686 - WHM X v3.1.0

    WHM 10.8.0 cPanel 10.8.2-C460
    RedHat Enterprise 4 i686 - WHM X v3.1.0

    WHM 10.8.0 cPanel 10.8.2-C460
    RedHat Enterprise 3 i686 - WHM X v3.1.0


    Please see the following Bugzilla report, Bug 4377, to show your support by voting (please?) and for further updates.
    http://bugzilla.cpanel.net/show_bug.cgi?id=4377
    The Root Underground | [TRU] - Houston, Texas, U.S.A.
    TRU Networks Hosting Services www.trunetworks.com
    TRU Domains Registrar Services www.trudomains.com (Reseller/Bulk discounts available.)
    Fried nublets for breakfast, yum... [TRU] Clan Gaming Guild www.truclan.org

  2. #2
    Member
    Join Date
    Mar 2004
    Posts
    710

    Default

    Maybe it has something to do with the statitistics software being hours, not days. You certainly would not want to run it every .25 hours.

    Code:
    Generate statistics every [fill in the blank]  hours.
    is what the box says.
    Lloyd F Tennison

  3. #3
    Member Rooter's Avatar
    Join Date
    Apr 2003
    Location
    Houston, Texas, U.S.A.
    Posts
    146
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb Re: Statistics update "cycle" custom values are reset to default upon Tweak Settings

    Quote Originally Posted by lloyd_tennison
    Maybe it has something to do with the statistics software being hours, not days. You certainly would not want to run it every .25 hours.

    Code:
    Generate statistics every [fill in the blank]  hours.
    is what the box says.
    In this case, a value of "1" equals a stats processing interval of every 24 hours. My value of "0.25" equates to running stats every 6 hours.
    The Root Underground | [TRU] - Houston, Texas, U.S.A.
    TRU Networks Hosting Services www.trunetworks.com
    TRU Domains Registrar Services www.trudomains.com (Reseller/Bulk discounts available.)
    Fried nublets for breakfast, yum... [TRU] Clan Gaming Guild www.truclan.org

  4. #4
    Member
    Join Date
    Mar 2004
    Posts
    710

    Default

    Um, if it is not working for you why are you saying that? If I put a "4" in there it runs every four hours. If I put a "3" in there in runs every three hours.

    No where in cpanellogd does it talk about "days." It talks about "hours."

    Maybe you should try putting a six in it (for six hours) and see if it works. I will bet it does.

    Mine has been running at "3" hours for well over a year.
    Lloyd F Tennison

  5. #5
    Member cpanelinfoseeker's Avatar
    Join Date
    Oct 2002
    Location
    NE Illinois
    Posts
    320

    Default

    Any time you save the "Tweak Settings" page, the value for "Number of days between processing log files and bandwidth usage (default 1, decimal values are ok):" is reset to "1" which is one day.

    The value in "Statistics Software Configuration" is reset to the corresponding number of hours which is 24 for one day.

    What I do is after saving anything in "Tweak Settings" is to go to "Statistics Software Configuration" and reset my hours there. This has been my solution for about 4-6 months now, but it would be nice to have this fixed so it maintains the displayed value, and not reset it to 1 day everytime anything is edited in the "Tweak Settings" page, but I can see some other changes happening more urgently than this.

    Ron

  6. #6
    Member Rooter's Avatar
    Join Date
    Apr 2003
    Location
    Houston, Texas, U.S.A.
    Posts
    146
    cPanel/Enkompass Access Level

    Root Administrator

    Post Re: Statistics update "cycle" custom values are reset to default upon Tweak Settings

    Quote Originally Posted by lloyd_tennison
    Um, if it is not working for you why are you saying that? If I put a "4" in there it runs every four hours. If I put a "3" in there in runs every three hours.

    No where in cpanellogd does it talk about "days." It talks about "hours."

    Maybe you should try putting a six in it (for six hours) and see if it works. I will bet it does.

    Mine has been running at "3" hours for well over a year.
    The issues is not a problem of entering in a custom value on the Statistics Software Configuration page, but rather having the custom value reset every time the Tweak Settings page is saved or updated.

    I enter in a value of 6 (hours) which is then saved in cPanel configuration as "0.25"; what I was referring to was the actual configuration (decimal) value that cPanel saves the custom interval as.

    As cpanelinfoseeker stated, it is not a very urgent issue, but it has been quite some time since the bug was introduced and a permanent fix would be greatly appreciated. A genuine fix to the problem would save precious time for those that have tens or hundreds of servers to manage (i.e. save time when the Tweak Settings page is updated and a custom stats processing interval is used).
    The Root Underground | [TRU] - Houston, Texas, U.S.A.
    TRU Networks Hosting Services www.trunetworks.com
    TRU Domains Registrar Services www.trudomains.com (Reseller/Bulk discounts available.)
    Fried nublets for breakfast, yum... [TRU] Clan Gaming Guild www.truclan.org

  7. #7
    Mal
    Mal is offline
    Member
    Join Date
    Sep 2004
    Posts
    9

    Default

    Am glad I found this thread, I've had my option set to 0.5 for years and today needed to change it to 0.25 but the field no longer accepts decimals.

    It didn't occur to me to look in the "Statistics Software Configuration" page. Anyway, am grateful this has been fixed (not the bug but knowing the other option)... otherwise my website would have been down within hours!

Similar Threads & Tags
Similar threads

  1. Replies: 8
    Last Post: 02-11-2011, 01:39 PM
  2. feature request: have the Mailing Lists default "archive" setting be "private"
    By jpratt in forum Feature Requests for cPanel/WHM
    Replies: 0
    Last Post: 01-17-2011, 04:45 PM
  3. Add "delete list" button in WHM on "Reset a Mailman Password" page
    By cPanelMary in forum Feature Requests for cPanel/WHM
    Replies: 0
    Last Post: 01-08-2011, 12:19 AM
  4. CPanel "default address" not accepting email for "main account"
    By nsdesign in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-08-2005, 05:48 AM
  5. What to put in "Tweak Settings"
    By mydomain in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 08-21-2003, 01:17 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube