Error with cpanel_dovecot_solr_maintenance cron

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
To update, an additional case (CPANEL-12865) will correct an issue where the cpanel-dovecot-solr service attempts to start during the cPanel update process even when the service is disabled in "WHM >> Service Manager". I'll update this thread once the resolution to this issue is published.
An update to address this case was published to the cpanel-plugins YUM repo. Ensure to run the "yum update" command on systems without automatic package updates enabled to update the cpanel-dovecot-solr RPM. Once the update completes, you can see the fix in the RPM change log for the package when running the "rpm -q --changelog cpanel-dovecot-solr" command:

Code:
rpm -q --changelog cpanel-dovecot-solr
* Thu Apr 27 2017 Felipe Gasper <[email protected]> 6.4.0-5.cp1162
- Don’t start the service on RPM upgrade if the service is disabled.
Thank you.
 

arjanvr

Well-Known Member
Dec 13, 2013
113
1
18
cPanel Access Level
Root Administrator
Why do i get this e-mail? Should I worry about something? Never seen this..

Code:
Topic:
"Cron <[email protected]****> /usr/bin/test -e /etc/cpanel-dovecot-solrdisable || /usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_maintenance"

body:
"Cpanel::Exception::HTTP::Server/(XID dqr7km) The response to the <abbr title="Hypertext Transfer Protocol">HTTP</abbr> “GET” request from “http://2VZzd5WfUIoSxWrF:[email protected]:8984/solr/dovecot/update?optimize=true” indicated an error (500, Server Error): <html> <head> <meta http-equiv=…  at /usr/local/cpanel/Cpanel/Exception/CORE.pm line 330.

                Cpanel::Exception::create("HTTP::Server", HASH(0x1a23d48)) called at /usr/local/cpanel/Cpanel/Exception.pm line 46

                Cpanel::Exception::__ANON__(__CPANEL_HIDDEN__, HASH(0x1a23d48)) called at /usr/local/cpanel/Cpanel/HTTP/Client.pm line 118

                Cpanel::HTTP::Client::request(Cpanel::HTTP::Client=HASH(0x171c598), "GET", "http://2VZzd5WfUIoSxWrF:__CPANEL_URLPW_HIDDEN__\@127.0.0.1:8984/solr/"..., HASH(0x1414740)) called at (eval 5) line 6

                HTTP::Tiny::get(Cpanel::HTTP::Client=HASH(0x171c598), "http://2VZzd5WfUIoSxWrF:__CPANEL_URLPW_HIDDEN__\@127.0.0.1:8984/solr/"...) called at /usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_maintenance line 54

                scripts::cpanel_dovecot_solr_maintenance::run("scripts::cpanel_dovecot_solr_maintenance") called at /usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_maintenance line 38"
 
Last edited by a moderator:

arjanvr

Well-Known Member
Dec 13, 2013
113
1
18
cPanel Access Level
Root Administrator
All that did was install a new kernal

"Removed:
kernel.x86_64 0:3.10.0-327.el7

Installed:
kernel.x86_64 0:3.10.0-514.21.1.el7

Complete!"
 

arjanvr

Well-Known Member
Dec 13, 2013
113
1
18
cPanel Access Level
Root Administrator
Am i suppose to run this command?

rpm -q --changelog cpanel-dovecot-solr

Also, i noticed that the email with the message gets sent once a day a few minutes after the backup completes..
 

arjanvr

Well-Known Member
Dec 13, 2013
113
1
18
cPanel Access Level
Root Administrator
Just a quick update.. I asked my supplier and they apearently reinstalled cpanel-dovecot-solr and ran this command which should have fixed it..

# /scripts/restartsrv_base cpanel-dovecot-solr