Issue with Solr
Hello cPanel team!
We have recently installed solr on our servers and it looks like working:
but when I run re-index any mailbox I see next messages:
Logs:
Who knows, is this normal or something wrong? Solr was installed by script /usr/local/cpanel/scripts/install_dovecot_fts System info:
root@server18 [~]# service cpanel-dovecot-solr status
solr (pid 12760) is running...
root@server18 [~]# netstat -tpnl | grep java
tcp 0 0 127.0.0.1:7984 0.0.0.0:* LISTEN 12760/java
tcp 0 0 127.0.0.1:8984 0.0.0.0:* LISTEN 12760/javabut when I run re-index any mailbox I see next messages:
root@server18 [~]# doveadm index -u admin@example.domain INBOX.*
doveadm(admin@example.domain): Error: fts_solr: Lookup failed: 401 Unauthorized
doveadm(admin@example.domain): Error: Mailbox INBOX.spam: Status lookup failed: Internal error occurred. Refer to server log for more information. [2018-09-29 09:21:05]
doveadm(admin@example.domain): Error: fts_solr: Lookup failed: 401 Unauthorized
doveadm(admin@example.domain): Error: Mailbox INBOX.Archive: Status lookup failed: Internal error occurred. Refer to server log for more information. [2018-09-29 09:21:05]
doveadm(admin@example.domain): Error: fts_solr: Lookup failed: 401 Unauthorized
doveadm(admin@example.domain): Error: Mailbox INBOX.Junk: Status lookup failed: Internal error occurred. Refer to server log for more information. [2018-09-29 09:21:05]
doveadm(admin@example.domain): Error: fts_solr: Lookup failed: 401 Unauthorized
doveadm(admin@example.domain): Error: Mailbox INBOX.Sent: Status lookup failed: Internal error occurred. Refer to server log for more information. [2018-09-29 09:21:05]
doveadm(admin@example.domain): Error: fts_solr: Lookup failed: 401 Unauthorized
doveadm(admin@example.domain): Error: Mailbox INBOX.Trash: Status lookup failed: Internal error occurred. Refer to server log for more information. [2018-09-29 09:21:05]
doveadm(admin@example.domain): Error: fts_solr: Lookup failed: 401 Unauthorized
doveadm(admin@example.domain): Error: Mailbox INBOX.Drafts: Status lookup failed: Internal error occurred. Refer to server log for more information. [2018-09-29 09:21:05]
Logs:
root@server18 [/home/cpanelsolr/server/logs]# tail -n 50 solr.log
2018-09-29 01:20:08.697 INFO (main) [ ] o.e.j.s.Server jetty-9.3.14.v20161028
2018-09-29 01:20:09.510 INFO (main) [ ] o.a.s.s.SolrDispatchFilter ___ _ Welcome to Apache Solr" version 6.6.2
2018-09-29 01:20:09.511 INFO (main) [ ] o.a.s.s.SolrDispatchFilter / __| ___| |_ _ Starting in standalone mode on port 8984
2018-09-29 01:20:09.511 INFO (main) [ ] o.a.s.s.SolrDispatchFilter \__ \/ _ \ | '_| Install dir: /home/cpanelsolr
2018-09-29 01:20:09.565 INFO (main) [ ] o.a.s.s.SolrDispatchFilter |___/\___/_|_| Start time: 2018-09-29T01:20:09.515Z
2018-09-29 01:20:09.567 INFO (main) [ ] o.a.s.s.StartupLoggingUtils Property solr.log.muteconsole given. Muting ConsoleAppender named CONSOLE
2018-09-29 01:20:09.661 INFO (main) [ ] o.a.s.c.SolrResourceLoader Using system property solr.solr.home: /home/cpanelsolr/server/solr
2018-09-29 01:20:09.674 INFO (main) [ ] o.a.s.c.SolrXmlConfig Loading container configuration from /home/cpanelsolr/server/solr/solr.xml
2018-09-29 01:20:10.658 INFO (main) [ ] o.a.s.u.UpdateShardHandler Creating UpdateShardHandler HTTP client with params: socketTimeout=600000&connTimeout=60000&retry=true
2018-09-29 01:20:11.063 INFO (main) [ ] o.a.s.c.CorePropertiesLocator Found 1 core definitions underneath /home/cpanelsolr/server/solr
2018-09-29 01:20:11.066 INFO (main) [ ] o.a.s.c.CorePropertiesLocator Cores are: [dovecot]
2018-09-29 01:20:11.075 INFO (coreLoadExecutor-6-thread-1) [ ] o.a.s.c.TransientSolrCoreCacheDefault Allocating transient cache for 2147483647 transient cores
2018-09-29 01:20:11.182 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.c.SolrResourceLoader [dovecot] Added 53 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]
2018-09-29 01:20:11.198 INFO (main) [ ] o.e.j.s.Server Started @3958ms
2018-09-29 01:20:12.325 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.c.SolrConfig Using Lucene MatchVersion: 6.3.0
2018-09-29 01:20:12.549 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.s.IndexSchema [dovecot] Schema name=dovecot
2018-09-29 01:20:12.695 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.
2018-09-29 01:20:12.699 WARN (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.c.SolrResourceLoader Solr loaded a deprecated plugin/analysis class [solr.WordDelimiterFilterFactory]. Please consult documentation how to replace it accordingly.
2018-09-29 01:20:12.728 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.s.IndexSchema Loaded schema dovecot/1.5 with uniqueid field id
2018-09-29 01:20:12.874 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.c.CoreContainer Creating SolrCore 'dovecot' using configuration from instancedir /home/cpanelsolr/server/solr/dovecot, trusted=true
2018-09-29 01:20:12.970 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.c.SolrCore solr.RecoveryStrategy.Builder
2018-09-29 01:20:12.980 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/]
2018-09-29 01:20:13.083 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.r.XSLTResponseWriter xsltCacheLifetimeSeconds=5
2018-09-29 01:20:13.679 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.u.UpdateHandler Using UpdateLog implementation: org.apache.solr.update.UpdateLog
2018-09-29 01:20:13.680 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.u.UpdateLog Initializing UpdateLog: dataDir= defaultSyncLevel=FLUSH numRecordsToKeep=100 maxNumLogsToKeep=10 numVersionBuckets=65536
2018-09-29 01:20:13.695 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.u.CommitTracker Hard AutoCommit: if uncommited for 15000ms;
2018-09-29 01:20:13.696 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.u.CommitTracker Soft AutoCommit: if uncommited for 3000ms;
2018-09-29 01:20:13.798 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.s.SolrIndexSearcher Opening [Searcher@71ea6b35[dovecot] main]
2018-09-29 01:20:13.823 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
2018-09-29 01:20:13.872 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.h.c.SpellCheckComponent Initializing spell checkers
2018-09-29 01:20:13.883 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}
2018-09-29 01:20:13.888 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.h.c.QueryElevationComponent Loading QueryElevation from: /home/cpanelsolr/server/solr/dovecot/conf/elevate.xml
2018-09-29 01:20:13.912 INFO (coreLoadExecutor-6-thread-1) [ x:dovecot] o.a.s.h.ReplicationHandler Commits will be reserved for 10000
2018-09-29 01:20:13.993 INFO (searcherExecutor-7-thread-1-processing-x:dovecot) [ x:dovecot] o.a.s.c.QuerySenderListener QuerySenderListener sending requests to Searcher@71ea6b35[dovecot] main{ExitableDirectoryReader(UninvertingDirectoryReader())}
2018-09-29 01:20:13.993 INFO (searcherExecutor-7-thread-1-processing-x:dovecot) [ x:dovecot] o.a.s.c.QuerySenderListener QuerySenderListener done.
2018-09-29 01:20:13.993 INFO (searcherExecutor-7-thread-1-processing-x:dovecot) [ x:dovecot] o.a.s.h.c.SpellCheckComponent Loading spell index for spellchecker: default
2018-09-29 01:20:13.999 INFO (searcherExecutor-7-thread-1-processing-x:dovecot) [ x:dovecot] o.a.s.c.SolrCore [dovecot] Registered new searcher Searcher@71ea6b35[dovecot] main{ExitableDirectoryReader(UninvertingDirectoryReader())}
2018-09-29 01:20:14.000 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 1612902840664064000
root@server18 [/home/cpanelsolr/server/logs]# tail -n 50 solr_gc.log.0.current
2018-09-29T09:31:29.126+0800: 681.887: Total time for which application threads were stopped: 0.0003861 seconds, Stopping threads took: 0.0001737 seconds
2018-09-29T09:31:29.127+0800: 681.887: Total time for which application threads were stopped: 0.0001293 seconds, Stopping threads took: 0.0000456 seconds
2018-09-29T09:31:30.318+0800: 683.079: Total time for which application threads were stopped: 0.0002576 seconds, Stopping threads took: 0.0001343 seconds
2018-09-29T09:31:30.318+0800: 683.079: Total time for which application threads were stopped: 0.0001164 seconds, Stopping threads took: 0.0000499 seconds
2018-09-29T09:31:30.409+0800: 683.169: Total time for which application threads were stopped: 0.0004449 seconds, Stopping threads took: 0.0001740 seconds
2018-09-29T09:34:31.647+0800: 864.407: Total time for which application threads were stopped: 0.0011106 seconds, Stopping threads took: 0.0003267 seconds
2018-09-29T09:34:31.740+0800: 864.500: Total time for which application threads were stopped: 0.0002540 seconds, Stopping threads took: 0.0000865 seconds
2018-09-29T09:34:32.030+0800: 864.791: Total time for which application threads were stopped: 0.0004282 seconds, Stopping threads took: 0.0002324 seconds
2018-09-29T09:34:32.038+0800: 864.798: Total time for which application threads were stopped: 0.0001863 seconds, Stopping threads took: 0.0001055 seconds
2018-09-29T09:34:32.211+0800: 864.971: Total time for which application threads were stopped: 0.0002485 seconds, Stopping threads took: 0.0000738 seconds
2018-09-29T09:34:32.214+0800: 864.975: Total time for which application threads were stopped: 0.0010237 seconds, Stopping threads took: 0.0008672 seconds
2018-09-29T09:34:32.585+0800: 865.346: Total time for which application threads were stopped: 0.0003606 seconds, Stopping threads took: 0.0002211 seconds
2018-09-29T09:34:32.740+0800: 865.501: Total time for which application threads were stopped: 0.0004041 seconds, Stopping threads took: 0.0001659 seconds
2018-09-29T09:34:32.928+0800: 865.688: Total time for which application threads were stopped: 0.0003132 seconds, Stopping threads took: 0.0001117 seconds
2018-09-29T09:34:33.928+0800: 866.689: Total time for which application threads were stopped: 0.0003179 seconds, Stopping threads took: 0.0001567 seconds
2018-09-29T09:34:33.940+0800: 866.701: Total time for which application threads were stopped: 0.0005531 seconds, Stopping threads took: 0.0001387 seconds
2018-09-29T09:34:34.114+0800: 866.875: Total time for which application threads were stopped: 0.0002732 seconds, Stopping threads took: 0.0000979 seconds
2018-09-29T09:34:34.211+0800: 866.971: Total time for which application threads were stopped: 0.0002729 seconds, Stopping threads took: 0.0001085 seconds
2018-09-29T09:34:35.138+0800: 867.899: Total time for which application threads were stopped: 0.0004901 seconds, Stopping threads took: 0.0002495 seconds
2018-09-29T09:34:36.139+0800: 868.899: Total time for which application threads were stopped: 0.0002004 seconds, Stopping threads took: 0.0000550 seconds
2018-09-29T09:34:36.305+0800: 869.065: Total time for which application threads were stopped: 0.0002923 seconds, Stopping threads took: 0.0000955 seconds
2018-09-29T09:34:42.306+0800: 875.066: Total time for which application threads were stopped: 0.0002951 seconds, Stopping threads took: 0.0001722 seconds
2018-09-29T09:34:46.306+0800: 879.067: Total time for which application threads were stopped: 0.0003585 seconds, Stopping threads took: 0.0001583 seconds
2018-09-29T09:34:47.223+0800: 879.983: Total time for which application threads were stopped: 0.0003111 seconds, Stopping threads took: 0.0001492 seconds
2018-09-29T09:34:48.223+0800: 880.984: Total time for which application threads were stopped: 0.0002487 seconds, Stopping threads took: 0.0001436 seconds
2018-09-29T09:34:49.543+0800: 882.304: Total time for which application threads were stopped: 0.0002292 seconds, Stopping threads took: 0.0001004 seconds
2018-09-29T09:34:50.544+0800: 883.304: Total time for which application threads were stopped: 0.0002437 seconds, Stopping threads took: 0.0001156 seconds
2018-09-29T09:34:52.544+0800: 885.305: Total time for which application threads were stopped: 0.0003884 seconds, Stopping threads took: 0.0001679 seconds
2018-09-29T09:34:54.545+0800: 887.306: Total time for which application threads were stopped: 0.0001709 seconds, Stopping threads took: 0.0000627 seconds
2018-09-29T09:34:55.545+0800: 888.306: Total time for which application threads were stopped: 0.0002979 seconds, Stopping threads took: 0.0001392 seconds
2018-09-29T09:34:58.546+0800: 891.307: Total time for which application threads were stopped: 0.0002320 seconds, Stopping threads took: 0.0001059 seconds
2018-09-29T09:35:00.151+0800: 892.911: Total time for which application threads were stopped: 0.0002379 seconds, Stopping threads took: 0.0000889 seconds
2018-09-29T09:35:02.151+0800: 894.912: Total time for which application threads were stopped: 0.0002834 seconds, Stopping threads took: 0.0000585 seconds
2018-09-29T09:35:03.152+0800: 895.912: Total time for which application threads were stopped: 0.0002356 seconds, Stopping threads took: 0.0000962 seconds
2018-09-29T09:35:05.152+0800: 897.913: Total time for which application threads were stopped: 0.0002604 seconds, Stopping threads took: 0.0000681 seconds
2018-09-29T09:35:06.153+0800: 898.913: Total time for which application threads were stopped: 0.0002038 seconds, Stopping threads took: 0.0000769 seconds
2018-09-29T09:35:07.153+0800: 899.914: Total time for which application threads were stopped: 0.0002350 seconds, Stopping threads took: 0.0001107 seconds
2018-09-29T09:36:34.164+0800: 986.925: Total time for which application threads were stopped: 0.0007610 seconds, Stopping threads took: 0.0003029 seconds
2018-09-29T09:37:22.171+0800: 1034.931: Total time for which application threads were stopped: 0.0005324 seconds, Stopping threads took: 0.0001616 seconds
2018-09-29T09:52:09.333+0800: 1922.094: Total time for which application threads were stopped: 0.0009823 seconds, Stopping threads took: 0.0004534 seconds
2018-09-29T09:56:11.370+0800: 2164.131: Total time for which application threads were stopped: 0.0010486 seconds, Stopping threads took: 0.0003189 seconds
2018-09-29T09:56:28.558+0800: 2181.318: Total time for which application threads were stopped: 0.0003986 seconds, Stopping threads took: 0.0001099 seconds
2018-09-29T10:00:01.586+0800: 2394.347: Total time for which application threads were stopped: 0.0009103 seconds, Stopping threads took: 0.0002602 seconds
2018-09-29T10:01:06.595+0800: 2459.356: Total time for which application threads were stopped: 0.0004887 seconds, Stopping threads took: 0.0001488 seconds
2018-09-29T10:01:09.596+0800: 2462.356: Total time for which application threads were stopped: 0.0001798 seconds, Stopping threads took: 0.0000662 seconds
2018-09-29T10:01:41.600+0800: 2494.361: Total time for which application threads were stopped: 0.0005623 seconds, Stopping threads took: 0.0002746 seconds
2018-09-29T10:12:42.097+0800: 3154.858: Total time for which application threads were stopped: 0.0008270 seconds, Stopping threads took: 0.0003158 seconds
2018-09-29T10:12:42.300+0800: 3155.060: Total time for which application threads were stopped: 0.0003287 seconds, Stopping threads took: 0.0000839 seconds
2018-09-29T10:12:43.312+0800: 3156.073: Total time for which application threads were stopped: 0.0002244 seconds, Stopping threads took: 0.0000823 seconds
Who knows, is this normal or something wrong? Solr was installed by script /usr/local/cpanel/scripts/install_dovecot_fts System info:
root@server18 [~]# cat /etc/redhat-release
CloudLinux Server release 6.10 (Vladimir Lyakhov)
root@server18 [~]# cat /etc/lsb-release
LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch
root@server18 [~]# whmapi1 version
---
data:
version: 11.70.0.57
metadata:
command: version
reason: OK
result: 1
version: 1Please sign in to leave a comment.
Comments
0 comments