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.

Errors in WHM

Discussion in 'Discussões em Português' started by Erialdo Júnior, Jan 14, 2016.

  1. Erialdo Júnior

    Joined:
    Nov 24, 2015
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Fortaleza
    cPanel Access Level:
    Root Administrator
    Apos a atualizacao do cPanel p/ nova versao 54 quando tento acessar o whm o erro abaixo é mostrado.

    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(0x35c0bf0), Cpanel::Config::ConfigObj::Driver::cPHulkLocalOrigin=HASH(0x3e5e680)) 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(0x35c0bf0), Cpanel::Config::ConfigObj::Driver::cPHulkLocalOrigin=HASH(0x3e5e680)) 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(0x3e5e680)) called at /usr/local/cpanel/Cpanel/FeatureShowcase.pm line 377
    Cpanel::FeatureShowcase::_filter_is_showcased(Cpanel::Config::ConfigObj::Filter::FilterList=HASH(0x3e64d50), 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(0x3e5df48), "is_showcased", undef, Cpanel::Config::ConfigObj::Filter::FilterList=HASH(0x3e64d50)) called at /usr/local/cpanel/Cpanel/FeatureShowcase.pm line 358
    Cpanel::FeatureShowcase::_default_filter_list(Cpanel::FeatureShowcase=HASH(0x3580028)) called at /usr/local/cpanel/Cpanel/FeatureShowcase.pm line 101
    Cpanel::FeatureShowcase::refine_driver_list_to_showcased(Cpanel::FeatureShowcase=HASH(0x3580028)) 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
    
     
    #1 Erialdo Júnior, Jan 14, 2016
    Last edited by a moderator: Jan 14, 2016
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    652
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please post the output from the following command:

    Code:
    cat /var/cpanel/hulkd/conf
    Thank you.

    Translation:

    Olá :)

    Por favor, poste a saída do seguinte comando:

    Code:
    cat /var/cpanel/hulkd/conf
    Obrigado.
     
  3. Erialdo Júnior

    Joined:
    Nov 24, 2015
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Fortaleza
    cPanel Access Level:
    Root Administrator
    root@servidor [/]# cat /var/cpanel/hulkd/conf
    Code:
    ip_based_protection=1
    brute_force_period_sec=300
    ip_brute_force_period_sec=3600
    lookback_time=21600
    username_based_protection_local_origin=0
    notify_on_brute=0
    notify_on_root_login=0
    max_failures=20
    ip_brute_force_period_mins=60
    mark_as_brute=50
    lookback_period_min=360
    username_based_protection=0
    block_brute_force_with_firewall=0
    notify_on_root_login_for_known_netblock=0
    brute_force_period_mins=5
    block_excessive_brute_force_with_firewall=0
    command_to_run_on_brute_force=
    command_to_run_on_excessive_brute_force=
    max_failures_byip=100
    
     
    #3 Erialdo Júnior, Jan 14, 2016
    Last edited by a moderator: Jan 14, 2016
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    652
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Please ensure the "mark_as_brute" value is higher than the "max_failures_byip" value. You can edit this file directly from the command line.

    Thank you.
     
  5. Erialdo Júnior

    Joined:
    Nov 24, 2015
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Fortaleza
    cPanel Access Level:
    Root Administrator
    Thx Michael, solved
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    652
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    652
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    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