Nov 24, 2015
7
0
1
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
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
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.
 
Nov 24, 2015
7
0
1
Fortaleza
cPanel Access Level
Root Administrator
[email protected] [/]# 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
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
mark_as_brute=50
max_failures_byip=100
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
I am happy to see the issue is now resolved. Thank you for updating us with the outcome.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
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.