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.

cPHulk Configuration Issue

Discussion in 'General Discussion' started by Osama Tariq, Jan 26, 2016.

  1. Osama Tariq

    Osama Tariq Well-Known Member

    Joined:
    Nov 27, 2014
    Messages:
    187
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Lahore, Pakistan
    cPanel Access Level:
    Root Administrator
    Twitter:
    Getting below error while opening WHM and Cpanel.


    Code:
    cPHulk config: “mark_as_brute” should be >= “max_failures_byip” in /var/cpanel/hulkd/conf for proper cPHulk functioning.
    at /usr/local/cpanel/Cpanel/Config/Hulk/Load.pm line 67.
        Cpanel::Config::Hulk::Load::loadcphulkconf() called at /usr/local/cpanel/Cpanel/Config/ConfigObj/Driver/cPHulkLocalOrigin/META.pm line 54
        Cpanel::Config::ConfigObj::Driver::cPHulkLocalOrigin::META::showcase() called at /usr/local/cpanel/Cpanel/Config/ConfigObj/Interface/Meta.pm line 98
        eval {...} called at /usr/local/cpanel/Cpanel/Config/ConfigObj/Interface/Meta.pm line 95
        Cpanel::Config::ConfigObj::Interface::Meta::load_driver_meta_content(Cpanel::Config::ConfigObj::Interface::Meta=HASH(0x409c5d8), Cpanel::Config::ConfigObj::Driver::cPHulkLocalOrigin=HASH(0x408cb60)) called at /usr/local/cpanel/Cpanel/Config/ConfigObj/Interface/Meta.pm line 50
        Cpanel::Config::ConfigObj::Interface::Meta::set_meta_content_from_driver(Cpanel::Config::ConfigObj::Interface::Meta=HASH(0x409c5d8), Cpanel::Config::ConfigObj::Driver::cPHulkLocalOrigin=HASH(0x408cb60)) called at /usr/local/cpanel/Cpanel/Config/ConfigObj/Interface/Config/v1.pm line 165
        Cpanel::Config::ConfigObj::Interface::Config::v1::meta(Cpanel::Config::ConfigObj::Driver::cPHulkLocalOrigin=HASH(0x408cb60)) called at /usr/local/cpanel/Cpanel/FeatureShowcase.pm line 377
        Cpanel::FeatureShowcase::_filter_is_showcased(Cpanel::Config::ConfigObj::Filter::FilterList=HASH(0x4094d98), undef) called at /usr/local/cpanel/Cpanel/Config/ConfigObj/Filter.pm line 92
        eval {...} called at /usr/local/cpanel/Cpanel/Config/ConfigObj/Filter.pm line 94
        Cpanel::Config::ConfigObj::Filter::filter(Cpanel::Config::ConfigObj::Filter=HASH(0x408c410), "is_showcased", undef, Cpanel::Config::ConfigObj::Filter::FilterList=HASH(0x4094d98)) called at /usr/local/cpanel/Cpanel/FeatureShowcase.pm line 358
        Cpanel::FeatureShowcase::_default_filter_list(Cpanel::FeatureShowcase=HASH(0x37acba8)) called at /usr/local/cpanel/Cpanel/FeatureShowcase.pm line 101
        Cpanel::FeatureShowcase::refine_driver_list_to_showcased(Cpanel::FeatureShowcase=HASH(0x37acba8)) called at /usr/local/cpanel/Cpanel/FeatureShowcase.pm line 92
        Cpanel::FeatureShowcase::new("Cpanel::FeatureShowcase") called at whostmgr/bin/whostmgr10.pl line 284
        main::redirect_to_display_showcased_features("scripts3/feature_showcase") called at whostmgr/bin/whostmgr10.pl line 226
    
     
  2. Osama Tariq

    Osama Tariq Well-Known Member

    Joined:
    Nov 27, 2014
    Messages:
    187
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Lahore, Pakistan
    cPanel Access Level:
    Root Administrator
    Twitter:
    I have fixed it at my own by increasing the value of "mark_as_brute".
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  4. mtylerb

    mtylerb Well-Known Member

    Joined:
    Nov 10, 2007
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Warburg, AB, Canada
    cPanel Access Level:
    Root Administrator
    Could you explain a bit more? I'm getting the same error and it's not allowing me to log into my Web interface at all. Did you do this through SSH? I don't even use CPHulk, so the settings haven't been touched in over a year and a half.
     
  5. Osama Tariq

    Osama Tariq Well-Known Member

    Joined:
    Nov 27, 2014
    Messages:
    187
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Lahore, Pakistan
    cPanel Access Level:
    Root Administrator
    Twitter:
    Yes i have done that via ssh, Post the output of:
    cat /var/cpanel/hulkd/conf
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You can ensure the "mark_as_brute" value is higher than the "max_failures_byip" value in the /var/cpanel/hulkd/conf file. You can edit this file directly from the command line. Note that internal case CPANEL-3881 was opened to ensure this issue is automatically corrected via a maintenance task. You can monitor our change log for the inclusion of this case number:

    54 Change Log - Documentation - cPanel Documentation

    Thank you.
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Internal case CPANEL-3881 was included in cPanel version 54.0.8 to add an automatic maintenance task that corrects this issue:

    Fixed case CPANEL-3881: cPHulk: Repair bad configuration values which block WHM logins.


    Thank you.
     
Loading...

Share This Page