Symptoms
Frequent notifications are received regarding cpanel-dovecot-solr restarting. A 404 error is cited in the notification:
Cpanel::Exception::HTTP::Server/(XID xq9rhh) The response to the <abbr title="Hypertext Transfer
Protocol">HTTP</abbr> “GET” request from
“http://IjFtk1HeL98AMMDQ:__HIDDEN__@127.0.0.1:8984/solr/admin/info/properties” indicated an error
(404, Not Found)
Description
Checking the Solr service using systemd may show the service as online:
# systemctl status cpanel_dovecot_solr
● cpanel-dovecot-solr.service - Solr for cPanel Dovecot
Loaded: loaded (/etc/systemd/system/cpanel-dovecot-solr.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2021-05-26 21:04:41 UTC; 15min ago
The issue is an inability to connect to the service locally using cPanel service monitoring utilities.
Workaround
We recommend reinstalling Solr as a first step.
1) Uninstall Solr:
/usr/local/cpanel/scripts/uninstall_dovecot_fts
2) After the uninstallation is complete, reinstall Solr:
/usr/local/cpanel/scripts/install_dovecot_fts