Error with cpanel_dovecot_solr_maintenance cron

mvandemar

Well-Known Member
Jun 17, 2006
171
47
178
I just logged in to my whm for the first time in about a week. There were a bunch of new options available from the last update, which I went ahead and enabled (nothing extraordinary), and then I got what I had assumed was my normal "someone has logged in to your whm" email. However, this one had an error instead:

Subject: Cron <[email protected]> /usr/bin/test -e /etc/cpanel-dovecot-solrdisable || /usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_commit

Code:
Cpanel::Exception::HTTP::Network/(XID jhp2j7) The system failed to send an <abbr title="Hypertext Transfer Protocol">HTTP</abbr> “GET” request to “http://tGqFdkwql36XYs8d:[email protected]:8984/solr/dovecot/update?commmit=true” because of an error: Could not connect to '127.0.0.1:8984': Connection timed out

 at /usr/local/cpanel/Cpanel/Exception/CORE.pm line 330.
   Cpanel::Exception::create("HTTP::Network", HASH(0x9d9158)) called at /usr/local/cpanel/Cpanel/Exception.pm line 46
   Cpanel::Exception::__ANON__(__CPANEL_HIDDEN__, HASH(0x9d9158)) called at /usr/local/cpanel/Cpanel/HTTP/Client.pm line 102
   Cpanel::HTTP::Client::request(Cpanel::HTTP::Client=HASH(0x976240), "GET", "http://tGqFdkwql36XYs8d:__CPANEL_URLPW_HIDDEN__\@127.0.0.1:8984/solr/"..., HASH(0xf20bd8)) called at (eval 5) line 6
   HTTP::Tiny::get(Cpanel::HTTP::Client=HASH(0x976240), "http://tGqFdkwql36XYs8d:__CPANEL_URLPW_HIDDEN__\@127.0.0.1:8984/solr/"...) 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
Any idea what is up with that? Or why some of the characters are coming through looking like bad utf8 conversions?

-Michael
 

mvandemar

Well-Known Member
Jun 17, 2006
171
47
178
Just got this which appears to be a related followup:

The service “cpanel-dovecot-solr” appears to be down.

Confirmed it is down in the Service Status tab.

-Michael
 

mvandemar

Well-Known Member
Jun 17, 2006
171
47
178
I don't know if it helps any, but I ran the pending updates and attempted to manually restart the services. There was a lot of output I don't recognize, and even though it says "Ok" at the end it is still failing (and I am still getting emails about it):

Code:
[~]# service cpanel-dovecot-solr restart
Stopping Apache Solr for cPanel Dovecot:                   [FAILED]
No Solr nodes found to stop.


Starting Apache Solr for cPanel Dovecot: Archiving 1 old GC log files to /home/cpanelsolr/server/logs/archived
Archiving 1 console log files to /home/cpanelsolr/server/logs/archived
Rotating solr logs, keeping a max of 9 generations
Waiting up to 180 seconds to see Solr running on port 8984 [/]  Still not seeing Solr listening on 8984 after 180 seconds!
2017-04-18 21:22:01.341 INFO  (main) [   ] o.a.s.c.SolrResourceLoader Using system property solr.solr.home: /home/cpanelsolr/server/solr
2017-04-18 21:22:01.348 INFO  (main) [   ] o.a.s.c.SolrXmlConfig Loading container configuration from /home/cpanelsolr/server/solr/solr.xml
2017-04-18 21:22:01.744 INFO  (main) [   ] o.a.s.u.UpdateShardHandler Creating UpdateShardHandler HTTP client with params: socketTimeout=600000&connTimeout=60000&retry=true
2017-04-18 21:22:01.817 INFO  (main) [   ] o.a.s.c.CorePropertiesLocator Found 1 core definitions underneath /home/cpanelsolr/server/solr
2017-04-18 21:22:01.823 INFO  (main) [   ] o.a.s.c.CorePropertiesLocator Cores are: [dovecot]
2017-04-18 21:22:01.934 INFO  (coreLoadExecutor-6-thread-1) [   x:dovecot] o.a.s.c.SolrResourceLoader [dovecot] Added 51 libs to classloader, from paths: [/home/cpanelsolr/contrib/clustering/lib, /home/cpanelsolr/contrib/extraction/lib, /home/cpanelsolr/contrib/langid/lib, /home/cpanelsolr/contrib/velocity/lib, /home/cpanelsolr/dist]
2017-04-18 21:22:02.008 INFO  (main) [   ] o.e.j.s.Server Started @1882ms
2017-04-18 21:22:02.166 INFO  (coreLoadExecutor-6-thread-1) [   x:dovecot] o.a.s.c.SolrConfig Using Lucene MatchVersion: 6.3.0
2017-04-18 21:22:02.391 INFO  (coreLoadExecutor-6-thread-1) [   x:dovecot] o.a.s.s.IndexSchema [dovecot] Schema name=dovecot
2017-04-18 21:22:02.441 WARN  (coreLoadExecutor-6-thread-1) [   x:dovecot] o.a.s.c.SolrResourceLoader Solr loaded a deprecated plugin/analysis class [solr.SynonymFilterFactory]. Please consult documentation how to replace it accordingly.
2017-04-18 21:22:02.464 INFO  (coreLoadExecutor-6-thread-1) [   x:dovecot] o.a.s.s.IndexSchema Loaded schema dovecot/1.5 with uniqueid field id
2017-04-18 21:22:02.541 INFO  (coreLoadExecutor-6-thread-1) [   x:dovecot] o.a.s.c.CoreContainer Creating SolrCore 'dovecot' using configuration from instancedir /home/cpanelsolr/server/solr/dovecot
2017-04-18 21:22:02.598 INFO  (coreLoadExecutor-6-thread-1) [   x:dovecot] o.a.s.c.SolrCore [[dovecot] ] Opening new SolrCore at [/home/cpanelsolr/server/solr/dovecot], dataDir=[/home/cpanelsolr/server/solr/dovecot/data/]
2017-04-18 21:22:02.601 INFO  (coreLoadExecutor-6-thread-1) [   x:dovecot] o.a.s.c.JmxMonitoredMap JMX monitoring is enabled. Adding Solr mbeans to JMX Server: [email protected]
2017-04-18 21:22:02.669 INFO  (coreLoadExecutor-6-thread-1) [   x:dovecot] o.a.s.r.XSLTResponseWriter xsltCacheLifetimeSeconds=5
2017-04-18 21:22:03.047 INFO  (coreLoadExecutor-6-thread-1) [   x:dovecot] o.a.s.u.UpdateHandler Using UpdateLog implementation: org.apache.solr.update.UpdateLog
2017-04-18 21:22:03.048 INFO  (coreLoadExecutor-6-thread-1) [   x:dovecot] o.a.s.u.UpdateLog Initializing UpdateLog: dataDir= defaultSyncLevel=FLUSH numRecordsToKeep=100 maxNumLogsToKeep=10 numVersionBuckets=65536
2017-04-18 21:22:03.062 INFO  (coreLoadExecutor-6-thread-1) [   x:dovecot] o.a.s.u.CommitTracker Hard AutoCommit: if uncommited for 15000ms;
2017-04-18 21:22:03.062 INFO  (coreLoadExecutor-6-thread-1) [   x:dovecot] o.a.s.u.CommitTracker Soft AutoCommit: if uncommited for 3000ms;
2017-04-18 21:22:03.124 INFO  (coreLoadExecutor-6-thread-1) [   x:dovecot] o.a.s.s.SolrIndexSearcher Opening [[email protected][dovecot] main]
2017-04-18 21:22:03.134 INFO  (coreLoadExecutor-6-thread-1) [   x:dovecot] o.a.s.r.ManagedResourceStorage File-based storage initialized to use dir: /home/cpanelsolr/server/solr/dovecot/conf
2017-04-18 21:22:03.154 INFO  (coreLoadExecutor-6-thread-1) [   x:dovecot] o.a.s.h.c.SpellCheckComponent Initializing spell checkers
2017-04-18 21:22:03.163 INFO  (coreLoadExecutor-6-thread-1) [   x:dovecot] o.a.s.s.DirectSolrSpellChecker init: {name=default,field=_text_,classname=solr.DirectSolrSpellChecker,distanceMeasure=internal,accuracy=0.5,maxEdits=2,minPrefix=1,maxInspections=5,minQueryLength=4,maxQueryFrequency=0.01}
2017-04-18 21:22:03.166 INFO  (coreLoadExecutor-6-thread-1) [   x:dovecot] o.a.s.h.c.QueryElevationComponent Loading QueryElevation from: /home/cpanelsolr/server/solr/dovecot/conf/elevate.xml
2017-04-18 21:22:03.181 INFO  (coreLoadExecutor-6-thread-1) [   x:dovecot] o.a.s.h.ReplicationHandler Commits will be reserved for  10000
2017-04-18 21:22:03.201 INFO  (searcherExecutor-7-thread-1-processing-x:dovecot) [   x:dovecot] o.a.s.c.QuerySenderListener QuerySenderListener sending requests to [email protected][dovecot] main{ExitableDirectoryReader(UninvertingDirectoryReader())}
2017-04-18 21:22:03.201 INFO  (searcherExecutor-7-thread-1-processing-x:dovecot) [   x:dovecot] o.a.s.c.QuerySenderListener QuerySenderListener done.
2017-04-18 21:22:03.202 INFO  (searcherExecutor-7-thread-1-processing-x:dovecot) [   x:dovecot] o.a.s.h.c.SpellCheckComponent Loading spell index for spellchecker: default
2017-04-18 21:22:03.207 INFO  (searcherExecutor-7-thread-1-processing-x:dovecot) [   x:dovecot] o.a.s.c.SolrCore [dovecot] Registered new searcher [email protected][dovecot] main{ExitableDirectoryReader(UninvertingDirectoryReader())}
2017-04-18 21:22:03.215 INFO  (coreLoadExecutor-6-thread-1) [   x:dovecot] o.a.s.u.UpdateLog Could not find max version in index or recent updates, using new clock 1565052657430691840
                                                           [  OK  ]
-Michael
 

mvandemar

Well-Known Member
Jun 17, 2006
171
47
178
Also, I turned off monitoring for cpanel-dovecot-solr but I am still getting that first email every 10 minutes. Any idea on how to turn those off as well?

-Michael
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello,

Please running the following command and let us know if the issue persists:

Code:
yum clean all; yum reinstall cpanel-dovecot-solr
If so, please post the output from the following commands:

Code:
cat /usr/local/cpanel/version
netstat -npl | grep :8984
/scripts/restartsrv_base cpanel-dovecot-solr --status
Thank you.
 

mvandemar

Well-Known Member
Jun 17, 2006
171
47
178
It does not look like it worked. It took a very long time to install (~10 minutes), and it's hanging on restarting that service when I re-enabled monitoring, and the emails resumed right away. Here are the outputs:

Code:
[email protected] [~]# cat /usr/local/cpanel/version
11.64.0.13
[email protected] [~]# netstat -npl | grep :8984
[email protected] [~]# /scripts/restartsrv_base cpanel-dovecot-solr --status
cpanel-dovecot-solr (/bin/bash /etc/init.d/cpanel-dovecot-solr start) running as root with PID 11357 (process table check method)
[email protected] [~]#
Also, in the services monitoring panel, where it took forever for the service to start, it showed this:

Code:
restart:/sbin/service cpanel-dovecot-solr restart Stopping Apache Solr for cPanel Dovecot: [ OK ] No Solr nodes found to stop. Starting Apache Solr for cPanel Dovecot: Archiving 1 old GC log files to /home/cpanelsolr/server/logs/archived Archiving 1 console log files to /home/cpanelsolr/server/logs/archived Rotating solr logs, keeping a max of 9 generations Waiting up to 180 seconds to see Solr running on port 8984 [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] [-] [\] [|] [/] Still not seeing Solr listening on 8984 after 180 seconds! 2017-04-19 19:55:46.207 INFO (main) [ ] o.a.s.c.CorePropertiesLocator Cores are: [dovecot] 2017-04-19 19:55:46.386 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.c.SolrResourceLoader [dovecot] Added 51 libs to classloader, from paths: [/home/cpanelsolr/contrib/clustering/lib, /home/cpanelsolr/contrib/extraction/lib, /home/cpanelsolr/contrib/langid/lib, /home/cpanelsolr/contrib/velocity/lib, /home/cpanelsolr/dist] 2017-04-19 19:55:46.410 INFO (main) [ ] o.e.j.s.Server Started @2251ms 2017-04-19 19:55:46.631 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.c.SolrConfig Using Lucene MatchVersion: 6.3.0 2017-04-19 19:55:46.923 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.s.IndexSchema [dovecot] Schema name=dovecot 2017-04-19 19:55:46.969 WARN (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.c.SolrResourceLoader Solr loaded a deprecated plugin/analysis class [solr.SynonymFilterFactory]. Please consult documentation how to replace it accordingly. 2017-04-19 19:55:46.992 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.s.IndexSchema Loaded schema dovecot/1.5 with uniqueid field id 2017-04-19 19:55:47.068 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.c.CoreContainer Creating SolrCore 'dovecot' using configuration from instancedir /home/cpanelsolr/server/solr/dovecot 2017-04-19 19:55:47.117 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.c.SolrCore [[dovecot] ] Opening new SolrCore at [/home/cpanelsolr/server/solr/dovecot], dataDir=[/home/cpanelsolr/server/solr/dovecot/data/] 2017-04-19 19:55:47.120 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.c.JmxMonitoredMap JMX monitoring is enabled. Adding Solr mbeans to JMX Server: [email protected] 2017-04-19 19:55:47.191 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.r.XSLTResponseWriter xsltCacheLifetimeSeconds=5 2017-04-19 19:55:47.603 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.u.UpdateHandler Using UpdateLog implementation: org.apache.solr.update.UpdateLog 2017-04-19 19:55:47.603 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.u.UpdateLog Initializing UpdateLog: dataDir= defaultSyncLevel=FLUSH numRecordsToKeep=100 maxNumLogsToKeep=10 numVersionBuckets=65536 2017-04-19 19:55:47.617 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.u.CommitTracker Hard AutoCommit: if uncommited for 15000ms; 2017-04-19 19:55:47.617 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.u.CommitTracker Soft AutoCommit: if uncommited for 3000ms; 2017-04-19 19:55:47.693 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.s.SolrIndexSearcher Opening [[email protected][dovecot] main] 2017-04-19 19:55:47.704 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.r.ManagedResourceStorage File-based storage initialized to use dir: /home/cpanelsolr/server/solr/dovecot/conf 2017-04-19 19:55:47.726 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.h.c.SpellCheckComponent Initializing spell checkers 2017-04-19 19:55:47.761 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.s.DirectSolrSpellChecker init: {name=default,field=_text_,classname=solr.DirectSolrSpellChecker,distanceMeasure=internal,accuracy=0.5,maxEdits=2,minPrefix=1,maxInspections=5,minQueryLength=4,maxQueryFrequency=0.01} 2017-04-19 19:55:47.766 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.h.c.QueryElevationComponent Loading QueryElevation from: /home/cpanelsolr/server/solr/dovecot/conf/elevate.xml 2017-04-19 19:55:47.787 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.h.ReplicationHandler Commits will be reserved for 10000 2017-04-19 19:55:47.811 INFO (searcherExecutor-7-thread-1-processing-x:dovecot) [ x:dovecot] o.a.s.c.QuerySenderListener QuerySenderListener sending requests to [email protected][dovecot] main{ExitableDirectoryReader(UninvertingDirectoryReader())} 2017-04-19 19:55:47.811 INFO (searcherExecutor-7-thread-1-processing-x:dovecot) [ x:dovecot] o.a.s.c.QuerySenderListener QuerySenderListener done. 2017-04-19 19:55:47.811 INFO (searcherExecutor-7-thread-1-processing-x:dovecot) [ x:dovecot] o.a.s.h.c.SpellCheckComponent Loading spell index for spellchecker: default 2017-04-19 19:55:47.816 INFO (searcherExecutor-7-thread-1-processing-x:dovecot) [ x:dovecot] o.a.s.c.SolrCore [dovecot] Registered new searcher [email protected][dovecot] main{ExitableDirectoryReader(UninvertingDirectoryReader())} 2017-04-19 19:55:47.822 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.u.UpdateLog Could not find max version in index or recent updates, using new clock 1565137827604201472 2017-04-19 20:00:49.100 INFO (Thread-0) [ ] o.a.s.c.CoreContainer Shutting down CoreContainer instance=1043208434 2017-04-19 20:00:49.103 INFO (coreCloseExecutor-12-thread-1) [ x:dovecot] o.a.s.c.SolrCore [dovecot] CLOSING SolrCore [email protected] 2017-04-19 20:00:49.143 INFO (coreCloseExecutor-12-thread-1) [ x:dovecot] o.a.s.m.SolrMetricManager Closing metric reporters for: solr.core.dovecot 2017-04-19 20:00:49.146 INFO (Thread-0) [ ] o.a.s.m.SolrMetricManager Closing metric reporters for: solr.node [ OK ] Waiting for “cpanel-dovecot-solr” to restart ……waiting for “cpanel-dovecot-solr” to initialize …………………………………finished.
I just checked Service Status, and it is showing cpanel-dovecot-solr as down again.

-Michael
 

cPanelMichael

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

mvandemar

Well-Known Member
Jun 17, 2006
171
47
178
Opening one now, but just fyi, when I try to download the terms I am getting a 500 internal server error:

Code:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
This is from:

- Removed, all fixed -

I tried twice.

-Michael
 
Last edited by a moderator:

rip_curl

Well-Known Member
Jan 30, 2005
82
1
158
I've resolved this. I had noexec for /home directory and solr doesn't start from there.
 
Last edited:
  • Like
Reactions: Infopro

Michaelit

Well-Known Member
Aug 5, 2015
86
9
58
Greece
cPanel Access Level
Root Administrator
Hello to all!
I face exactly the same issue however i get a really strange issue.
The subject: Cron /usr/bin/test -e /etc/cpanel-dovecot-solrdisable || /usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_maintenance

The message:
Code:
Cpanel::Exception::HTTP::Server/(XID 8x238k) The response to the <abbr title="Hypertext Transfer Protocol">HTTP</abbr> “GET” request from “http://RuWQIMy7WGL0E1fr:[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(0x1582348)) called at /usr/local/cpanel/Cpanel/Exception.pm line 46
   Cpanel::Exception::__ANON__(__CPANEL_HIDDEN__, HASH(0x1582348)) called at /usr/local/cpanel/Cpanel/HTTP/Client.pm line 118
   Cpanel::HTTP::Client::request(Cpanel::HTTP::Client=HASH(0x125a598), "GET", "http://RuWQIMy7WGL0E1fr:__CPANEL_URLPW_HIDDEN__\@127.0.0.1:8984/solr/"..., HASH(0x157f248)) called at (eval 5) line 6
   HTTP::Tiny::get(Cpanel::HTTP::Client=HASH(0x125a598), "http://RuWQIMy7WGL0E1fr:__CPANEL_URLPW_HIDDEN__\@127.0.0.1:8984/solr/"...) called at /usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_maintenance line 53
   scripts::cpanel_dovecot_solr_maintenance::run("scripts::cpanel_dovecot_solr_maintenance") called at /usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_maintenance line 37
I visit the service status and i can see that cpanel-dovecot-solr is up and running....

When i visit the service manager disable it and enable once again it returns me the error:
Code:
p0f stopped successfully.

restart:/sbin/service cpanel-dovecot-solr restart Stopping Apache Solr for cPanel Dovecot: [FAILED] No Solr nodes found to stop. Starting Apache Solr for cPanel Dovecot: Archiving 1 old GC log files to /home/cpanelsolr/server/logs/archived Archiving 1 console log files to /home/cpanelsolr/server/logs/archived Rotating solr logs, keeping a max of 9 generations Waiting up to 180 seconds to see Solr running on port 8984 [|] [/] [-] [\] [|] [/] Started Solr server on port 8984 (pid=4856). Happy searching! [ OK ] Waiting for “cpanel-dovecot-solr” to restart ……waiting for “cpanel-dovecot-solr” to initialize ………finished.

Service Status
solr (pid 4856) is running...

(XID y8m25w) The service “cpanel-dovecot-solr” failed to start with the message: solr (pid 4856) is running...

cpanel-dovecot-solr has failed. Please contact your system administrator if the service does not automagically recover.

(XID shakum) The “mailman” service is not configured: there are no configured mailing lists

Waiting for “tailwatchd” to restart ………waiting for “tailwatchd” to initialize ………finished.
I visit service status page once again and the service is up and running!

When i visit the /etc/fstab file i get the following lines:
Code:
none    /dev/pts        devpts  rw,gid=5,mode=620       0       0
mount /dev/loop0 -o noexec,nosuid,rw /dev/tmpFS /tmp
mount /dev/loop0 /dev/tmpFS -o noexec,nosuid,rw
I removed noexec flag and i restart gracefully the server without any solution.

I have already run the commands before apply any change:
Code:
yum clean all; yum reinstall cpanel-dovecot-solr
The result of this command:
Code:
cat /usr/local/cpanel/version
is: 11.64.0.15

and this one:
Code:
 netstat -npl | grep :8984
/scripts/restartsrv_base cpanel-dovecot-solr --statustcp
is:
0 0 ::ffff:127.0.0.1:8984 :::* LISTEN 4856/java


Please help me. As an alternative option could i disable this service?

Thank you in advance.
 
Last edited by a moderator:

Infopro

Well-Known Member
May 20, 2003
17,075
524
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
You should be able to disable the service here, bottom of page in Additional Services section:
WebHost Manager »Service Configuration »Service Manager
Uncheck the two boxes and save.

Or you can completely uninstall it from here:
WebHost Manager »cPanel »Manage Plugins
 

PPNSteve

Well-Known Member
Mar 13, 2003
426
11
168
Somewhere in Ilex Forest
cPanel Access Level
Root Administrator
Twitter
How is this resolved? I'm not seeing a solution other than disabling/uninstalling it.

Code:
Cpanel::Exception::HTTP::
Network/(XID 4k5y53) The system failed to send an <abbr title="Hypertext Transfer Protocol">HTTP</abbr> “GET” request to “http://pQ9dUSZCPDMyLLPY:[email protected]:8984/solr/dovecot/update?commmit=true” because of an error: Timed out while waiting for socket to become ready for reading

 at /usr/local/cpanel/Cpanel/Exception/CORE.pm line 330.
        Cpanel::Exception::create("HTTP::Network", HASH(0x20a3438)) called at /usr/local/cpanel/Cpanel/Exception.pm line 46
        Cpanel::Exception::__ANON__(__CPANEL_HIDDEN__, HASH(0x20a3438)) called at /usr/local/cpanel/Cpanel/HTTP/Client.pm line 102
        Cpanel::HTTP::Client::request(Cpanel::HTTP::Client=HASH(0x1a3d098), "GET", "http://pQ9dUSZCPDMyLLPY:__CPANEL_URLPW_HIDDEN__\@127.0.0.1:8984/solr/"..., HASH(0x20a31e0)) called at (eval 5) line 6
        HTTP::Tiny::get(Cpanel::HTTP::Client=HASH(0x1a3d098), "http://pQ9dUSZCPDMyLLPY:__CPANEL_URLPW_HIDDEN__\@127.0.0.1:8984/solr/"...) 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
 

celiac101

Well-Known Member
Dec 19, 2012
145
5
68
cPanel Access Level
Website Owner
For a few days now, I am receiving the following emails regarding a failed Dovecot update. I am not sure what I need to do to fix it:

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


Cpanel::Exception::HTTP::Server/(XID krtzyg) The response to the <abbr title="Hypertext Transfer Protocol">HTTP</abbr> “GET” request from “http://Jb0rZXvtcD9rw1gA:[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(0x1b4f320)) called at /usr/local/cpanel/Cpanel/Exception.pm line 46
        Cpanel::Exception::__ANON__(__CPANEL_HIDDEN__, HASH(0x1b4f320)) called at /usr/local/cpanel/Cpanel/HTTP/Client.pm line 118
        Cpanel::HTTP::Client::request(Cpanel::HTTP::Client=HASH(0x1250c70), "GET", "http://Jb0rZXvtcD9rw1gA:__CPANEL_URLPW_HIDDEN__\@127.0.0.1:8984/solr/"..., HASH(0x1b4c528)) called at (eval 5) line 6
        HTTP::Tiny::get(Cpanel::HTTP::Client=HASH(0x1250c70), "http://Jb0rZXvtcD9rw1gA:__CPANEL_URLPW_HIDDEN__\@127.0.0.1:8984/solr/"...) called at /usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_maintenance line 53
        scripts::cpanel_dovecot_solr_maintenance::run("scripts::cpanel_dovecot_solr_maintenance") called at /usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_maintenance line 37
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello Everyone!

The cpanel-dovecot-solr service failures (or failures with the associated cron jobs) are not attributable to a single cause, and depend on what's happening on the affected system. For instance, the original poster submitted a support ticket and we were able to determine the issue was related to a custom grsec kernel.

More recently, an update to the cpanel-dovecot-solr RPM addressed an issue where Chkservd did not accept the HTTP 302 response code, leading to "Timed out while waiting for socket to become ready for reading" error messages:

Code:
# rpm -q cpanel-dovecot-solr --changelog|grep chkservd
- Update chkservd driver to check for HTTP 302
I encourage anyone else experiencing an issue to open a support ticket so we can take a closer look at the affected system and determine what's happening.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello,

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.

Thank you.