cpanel_dovecot_solr_commit: No such file or directory
Since an update yesterday I am getting emails every few minutes with the Subject of:
Cron /usr/bin/test -e /etc/cpanel-dovecot-solrdisable || /usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_commit
and the message content of:
/bin/sh: /usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_commit: No such file or directory
Any ideas of what I should do?
-
/bin/sh: /usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_commit: No such file or directory
Hello @Buzz50, The "/usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_commit" file should exist on the system, even after disabling the cpanel-dovecot-solr service via "WHM >> Service Manager". Did you manually remove this file from the system? If so, try running the following command to ensure this file exists:yum clean all ; yum reinstall cpanel-dovecot-solr
Thank you.0 -
I'm getting the exact same error after the update on one of my servers. I ran the code suggested and got: Package(s) cpanel-dovecot-solr available, but not installed. Error: Nothing to do Two other servers updated without a problem. 0 -
Package(s) cpanel-dovecot-solr available, but not installed.
Hello John, Please post the output from the following command on the affected system:grep exclude /etc/yum.conf
Thank you.0 -
Hi Michael, I am having the same issue, except the thing is emailing me every 10 minutes that /bin/sh: /usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_commit: No such file or directory. This all started after I updated and rebooted the server. Here are my results: root@hidden [~]# yum clean all ; yum reinstall cpanel-dovecot-solr Loaded plugins: fastestmirror, security Cleaning repos: cpanel-addons-production-feed MariaDB100 base cpanel-plugins : extras updates Cleaning up Everything Cleaning up list of fastest mirrors Loaded plugins: fastestmirror, security Setting up Reinstall Process No Match for argument: cpanel-dovecot-solr Determining fastest mirrors * cpanel-addons-production-feed: 208.43.108.66 * base: ftpmirror.your.org * extras: mirror.5ninesolutions.com * updates: mirrors.advancedhosters.com cpanel-addons-production-feed | 2.9 kB 00:00 ... cpanel-addons-production-feed/primary_db | 4.8 kB 00:00 MariaDB100 | 2.9 kB 00:00 MariaDB100/primary_db | 22 kB 00:00 base | 3.7 kB 00:00 base/primary_db | 4.7 MB 00:00 cpanel-plugins | 2.9 kB 00:00 ... cpanel-plugins/primary_db | 33 kB 00:00 extras | 3.4 kB 00:00 extras/primary_db | 37 kB 00:00 updates | 3.4 kB 00:00 updates/primary_db | 803 kB 00:00 Package(s) cpanel-dovecot-solr available, but not installed. Error: Nothing to do root@hidden [~]# grep exclude /etc/yum.conf exclude=bind-chroot courier* dovecot* exim* filesystem httpd* mod_ssl* mydns* mysql* nsd* p0f perl* php* proftpd* pure-ftpd* spamassassin* squirrelmail* 0 -
Hello, Try enabling the Solr plugin again via: "WHM Home " cPanel " Manage Plugins" This should install the updated RPM, which includes a resolution to address an issue where cron scripts were not disabled when the service was disabled in "WHM >> Service Manager". You should see output like this after the plugin installation completes: # rpm -q cpanel-dovecot-solr --changelog|grep cron - Disable cron scripts when the service is disabled in service manager
Additionally, you should see the cron job for the service looks like this:# cat /etc/cron.d/cpanel-dovecot-solr 21 3 * * * root /usr/bin/test -e /etc/cpanel-dovecot-solrdisable || /usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_maintenance */10 * * * * root /usr/bin/test -e /etc/cpanel-dovecot-solrdisable || /usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_commit
Then, if you prefer to disable the service, unselect it via "WHM >> Service Manager" under "Additional Services". Upon doing so, the /etc/cpanel-dovecot-solrdisable file should exist on your system:# ls -al /etc/cpanel-dovecot-solrdisable -rw-r--r-- 1 root root 0 Apr 26 08:37 /etc/cpanel-dovecot-solrdisable
At this point, the cron job will detect that Solr is disabled and you should no longer see failed notifications related the cron job for this service. Thank you.0 -
I wish I could say it worked, but I am still getting the same email's 2 of them per hour, Any additional idea's? This stuff is is causing my monitor software to send alerts when nothing is wrong. 0 -
I wish I could say it worked, but I am still getting the same email's 2 of them per hour, Any additional idea's? This stuff is is causing my monitor software to send alerts when nothing is wrong.
Hello, Could you open a support ticket using the link in my signature so we can take a closer look at the affected system? You can post the ticket number here so we can update this thread with the outcome. Thank you.0 -
Was there a resolution to this as I am getting the same issue? 0 -
New Was there a resolution to this as I am getting the same issue?
Could you confirm the specific issue and error message you are encountering? Thank you.0
Please sign in to leave a comment.
Comments
9 comments