CSF, cPanel & cpanel_dovecot_solr
Posted: 11 Oct 2017, 04:42
It seems that installing CSF on cPanel v66.0.24 causes cpanel_dovecot_solr not to connect to cron 'maintenance' scriptt.
It throws 401 error and this is what you get:
The cPanel Team has tested this out with the same result.
Opening up the ports didn't resolve the issue.
It throws 401 error and this is what you get:
Code: Select all
$ sudo /usr/bin/test -e /etc/cpanel-dovecot-solrdisable ||
/usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_commit
Cpanel::Exception::HTTP::Network/(XID n7ux4c) The system failed to send an <abbr title="Hypertext Transfer Protocol">HTTP</abbr> “GET” request to “http://%SOLR_USER%:__HIDDEN__@127.0.0.1:8984/solr/dovecot/update?commmit=true” because of an error: Could not connect to '127.0.0.1:8984': Connection refused
at /usr/local/cpanel/Cpanel/Exception/CORE.pm line 330.
Cpanel::Exception::create("HTTP::Network", HASH(0x1a63540)) called at /usr/local/cpanel/Cpanel/Exception.pm line 46
Cpanel::Exception::__ANON__(__CPANEL_HIDDEN__, HASH(0x1a63540)) called at /usr/local/cpanel/Cpanel/HTTP/Client.pm line 102
Cpanel::HTTP::Client::request(Cpanel::HTTP::Client=HASH(0x18709d8), "GET", "http://%SOLR_USER%:__CPANEL_URLPW_HIDDEN__\@127.0.0.1:8984/solr/dovecot/up"..., HASH(0x1fd0950)) called at (eval 5) line 6
HTTP::Tiny::get(Cpanel::HTTP::Client=HASH(0x18709d8), "http://%SOLR_USER%:__CPANEL_URLPW_HIDDEN__\@127.0.0.1:8984/solr/dovecot/up"...) called at /usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_commit line 55
scripts::cpanel_dovecot_solr_commit::run("scripts::cpanel_dovecot_solr_commit") called at /usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_commit line 37
The cPanel Team has tested this out with the same result.
Opening up the ports didn't resolve the issue.