Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm using solr 4.6.0 on CentOS 6.5 and installed it after this tutorial.

http://andres.jaimes.net/878/setup-lucene-solr-centos-tomcat/

I started it and I have the problem that it loads forever in the logging tab and doesn't display any output. Here's a screenshot of that behaviour:

http://i.imgur.com/wGKWTJk.png

The logfile says:


Jan 2, 2014 5:41:02 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Jan 2, 2014 5:41:02 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jan 2, 2014 5:41:02 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 497 ms
Jan 2, 2014 5:41:02 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jan 2, 2014 5:41:02 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.24
Jan 2, 2014 5:41:02 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
Jan 2, 2014 5:41:02 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
Jan 2, 2014 5:41:03 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive solr.war
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/share/java/tomcat6/slf4j-simple-1.7.5.jar.old.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/share/java/tomcat6/slf4j-nop-1.7.5.jar.old.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/share/java/tomcat6/slf4j-jcl-1.7.5.jar.old.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/share/java/tomcat6/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/share/java/tomcat6/slf4j-jdk14-1.7.5.jar.old.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.SimpleLoggerFactory]
[main] INFO org.apache.solr.servlet.SolrDispatchFilter - SolrDispatchFilter.init()
[main] INFO org.apache.solr.core.SolrResourceLoader - Using JNDI solr.home: /home/solr
[main] INFO org.apache.solr.core.SolrResourceLoader - new SolrResourceLoader for directory: '/home/solr/'
[main] INFO org.apache.solr.core.ConfigSolr - Loading container configuration from /home/solr/solr.xml
[main] INFO org.apache.solr.core.ConfigSolrXml - Config-defined core root directory:
[main] INFO org.apache.solr.core.CoreContainer - New CoreContainer 1405356727
[main] INFO org.apache.solr.core.CoreContainer - Loading cores into CoreContainer [instanceDir=/home/solr/]
[main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory - Setting socketTimeout to: 0
[main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory - Setting urlScheme to: http://
[main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory - Setting connTimeout to: 0
[main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory - Setting maxConnectionsPerHost to: 20
[main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory - Setting corePoolSize to: 0
[main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory - Setting maximumPoolSize to: 2147483647
[main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory - Setting maxThreadIdleTime to: 5
[main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory - Setting sizeOfQueue to: -1
[main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory - Setting fairnessPolicy to: false
[main] INFO org.apache.solr.logging.LogWatcher - SLF4J impl is org.slf4j.impl.SimpleLoggerFactory
[main] INFO org.apache.solr.logging.LogWatcher - No LogWatcher configured
[main] INFO org.apache.solr.core.CoresLocator - Looking for core definitions underneath /home/solr
[main] INFO org.apache.solr.core.CoresLocator - Found core collection1 in /home/solr/collection1/
[main] INFO org.apache.solr.core.CoresLocator - Found 1 core definitions
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.CoreContainer - Creating SolrCore 'collection1' using instanceDir: /home/solr/collection1
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.SolrResourceLoader - new SolrResourceLoader for directory: '/home/solr/collection1/'
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.update.SolrIndexConfig - IndexWriter infoStream solr logging is enabled
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.SolrConfig - Using Lucene MatchVersion: LUCENE_46
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.Config - Loaded SolrConfig: solrconfig.xml
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.schema.IndexSchema - Reading Solr Schema from schema.xml
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.schema.IndexSchema - [collection1] Schema name=example
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.schema.IndexSchema - unique key field: id
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.schema.FileExchangeRateProvider - Reloading exchange rates from file currency.xml
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.schema.FileExchangeRateProvider - Reloading exchange rates from file currency.xml
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.SolrCore - solr.NRTCachingDirectoryFactory
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.SolrCore - [collection1] Opening new SolrCore at /home/solr/collection1/, dataDir=/home/solr/collection1/data/
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.JmxMonitoredMap - JMX monitoring is enabled. Adding Solr mbeans to JMX Server: com.sun.jmx.mbeanserver.JmxMBeanServer@6b7de5ce
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.SolrCore - [collection1] Added SolrEventListener for newSearcher: org.apache.solr.core.QuerySenderListener{queries=[]}
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.SolrCore - [collection1] Added SolrEventListener for firstSearcher: org.apache.solr.core.QuerySenderListener{queries=[{q=static firstSearcher warming in solrconfig.xml}]}
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.CachingDirectoryFactory - return new directory for /home/solr/collection1/data
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.SolrCore - New index directory detected: old=null new=/home/solr/collection1/data/index/
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.CachingDirectoryFactory - return new directory for /home/solr/collection1/data/index
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.SolrCore - created json: solr.JSONResponseWriter
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.SolrCore - adding lazy queryResponseWriter: solr.VelocityResponseWriter
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.SolrCore - created velocity: solr.VelocityResponseWriter
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.SolrCore - created xslt: solr.XSLTResponseWriter
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.response.XSLTResponseWriter - xsltCacheLifetimeSeconds=5
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.SolrCore - no updateRequestProcessorChain defined as default, creating implicit default
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.RequestHandlers - created /select: solr.SearchHandler
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.RequestHandlers - created /query: solr.SearchHandler
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.RequestHandlers - created /get: solr.RealTimeGetHandler
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.RequestHandlers - created /browse: solr.SearchHandler
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.RequestHandlers - created /update: solr.UpdateRequestHandler
[coreLoadExecutor-3-thread-1] WARN org.apache.solr.core.SolrResourceLoader - Solr loaded a deprecated plugin/analysis class [solr.JsonUpdateRequestHandler]. Please consult documentation how to replace it accordingly.
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.RequestHandlers - created /update/json: solr.JsonUpdateRequestHandler
[coreLoadExecutor-3-thread-1] WARN org.apache.solr.core.SolrResourceLoader - Solr loaded a deprecated plugin/analysis class [solr.CSVRequestHandler]. Please consult documentation how to replace it accordingly.
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.RequestHandlers - created /update/csv: solr.CSVRequestHandler
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.RequestHandlers - adding lazy requestHandler: solr.extraction.ExtractingRequestHandler
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.RequestHandlers - created /update/extract: solr.extraction.ExtractingRequestHandler
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.RequestHandlers - adding lazy requestHandler: solr.FieldAnalysisRequestHandler
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.RequestHandlers - created /analysis/field: solr.FieldAnalysisRequestHandler
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.RequestHandlers - adding lazy requestHandler: solr.DocumentAnalysisRequestHandler
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.RequestHandlers - created /analysis/document: solr.DocumentAnalysisRequestHandler
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.RequestHandlers - created /admin/: solr.admin.AdminHandlers
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.RequestHandlers - created /admin/ping: solr.PingRequestHandler
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.RequestHandlers - created /debug/dump: solr.DumpRequestHandler
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.RequestHandlers - created /replication: solr.ReplicationHandler
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.RequestHandlers - adding lazy requestHandler: solr.SearchHandler
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.RequestHandlers - created /spell: solr.SearchHandler
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.RequestHandlers - adding lazy requestHandler: solr.SearchHandler
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.RequestHandlers - created /tvrh: solr.SearchHandler
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.RequestHandlers - adding lazy requestHandler: org.apache.solr.handler.js.JavaScriptRequestHandler
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.RequestHandlers - created /js: org.apache.solr.handler.js.JavaScriptRequestHandler
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.RequestHandlers - adding lazy requestHandler: solr.SearchHandler
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.RequestHandlers - created /terms: solr.SearchHandler
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.RequestHandlers - adding lazy requestHandler: solr.SearchHandler
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.RequestHandlers - created /elevate: solr.SearchHandler
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.handler.loader.XMLLoader - xsltCacheLifetimeSeconds=60
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.handler.loader.XMLLoader - xsltCacheLifetimeSeconds=60
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.handler.loader.XMLLoader - xsltCacheLifetimeSeconds=60
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.SolrCore - Hard AutoCommit: if uncommited for 15000ms;
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.SolrCore - Soft AutoCommit: disabled
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.update.LoggingInfoStream - [IFD][coreLoadExecutor-3-thread-1]: init: current segments file is "segments_1"; deletionPolicy=org.apache.solr.core.IndexDeletionPolicyWrapper@48c8e47d
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.update.LoggingInfoStream - [IFD][coreLoadExecutor-3-thread-1]: init: load commit "segments_1"
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.SolrCore - SolrDeletionPolicy.onInit: commits: num=1
    commit{dir=NRTCachingDirectory(org.apache.lucene.store.MMapDirectory@/home/solr/collection1/data/index lockFactory=org.apache.lucene.store.NativeFSLockFactory@46f9c2dc; maxCacheMB=48.0 maxMergeSizeMB=4.0),segFN=segments_1,generation=1}
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.SolrCore - newest commit generation = 1
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.update.LoggingInfoStream - [IFD][coreLoadExecutor-3-thread-1]: now checkpoint "" [0 segments ; isCommit = false]
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.update.LoggingInfoStream - [IFD][coreLoadExecutor-3-thread-1]: 0 msec to checkpoint
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.update.LoggingInfoStream - [IW][coreLoadExecutor-3-thread-1]: init: create=false
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.update.LoggingInfoStream - [IW][coreLoadExecutor-3-thread-1]:
dir=NRTCachingDirectory(org.apache.lucene.store.MMapDirectory@/home/solr/collection1/data/index lockFactory=org.apache.lucene.store.NativeFSLockFactory@46f9c2dc; maxCacheMB=48.0 maxMergeSizeMB=4.0)
index=
version=4.6.0 1543363 - simon - 2013-11-19 11:05:50
matchVersion=LUCENE_46
analyzer=null
ramBufferSizeMB=100.0
maxBufferedDocs=-1
maxBufferedDeleteTerms=-1
mergedSegmentWarmer=null
readerTermsIndexDivisor=1
termIndexInterval=32
delPolicy=org.apache.solr.core.IndexDeletionPolicyWrapper
commit=null
openMode=APPEND
similarity=org.apache.lucene.search.similarities.DefaultSimilarity
mergeScheduler=ConcurrentMergeScheduler: maxThreadCount=1, maxMergeCount=2, mergeThreadPriority=-1
default WRITE_LOCK_TIMEOUT=1000
writeLockTimeout=1000
codec=Lucene46
infoStream=org.apache.solr.update.LoggingInfoStream
mergePolicy=[TieredMergePolicy: maxMergeAtOnce=10, maxMergeAtOnceExplicit=30, maxMergedSegmentMB=5120.0, floorSegmentMB=2.0, forceMergeDeletesPctAllowed=10.0, segmentsPerTier=10.0, maxCFSSegmentSizeMB=8.796093022207999E12, noCFSRatio=0.0
indexerThreadPool=org.apache.lucene.index.ThreadAffinityDocumentsWriterThreadPool@7d2f0adc
readerPooling=false
perThreadHardLimitMB=1945
useCompoundFile=false

[coreLoadExecutor-3-thread-1] INFO org.apache.solr.update.LoggingInfoStream - [IW][coreLoadExecutor-3-thread-1]: flush at getReader
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.update.LoggingInfoStream - [DW][coreLoadExecutor-3-thread-1]: coreLoadExecutor-3-thread-1 startFullFlush
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.update.LoggingInfoStream - [DW][coreLoadExecutor-3-thread-1]: anyChanges? numDocsInRam=0 deletes=false hasTickets:false pendingChangesInFullFlush: false
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.update.LoggingInfoStream - [IW][coreLoadExecutor-3-thread-1]: apply all deletes during flush
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.update.LoggingInfoStream - [BD][coreLoadExecutor-3-thread-1]: prune sis=org.apache.lucene.index.SegmentInfos@4a58115f minGen=9223372036854775807 packetCount=0
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.update.LoggingInfoStream - [IW][coreLoadExecutor-3-thread-1]: return reader version=1 reader=StandardDirectoryReader(segments_1:1:nrt)
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.update.LoggingInfoStream - [DW][coreLoadExecutor-3-thread-1]: coreLoadExecutor-3-thread-1 finishFullFlush success=true
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.update.LoggingInfoStream - [IW][coreLoadExecutor-3-thread-1]: getReader took 2 msec
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.search.SolrIndexSearcher - Opening Searcher@114af64 main
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.handler.component.SpellCheckComponent - Initializing spell checkers
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.spelling.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}
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.handler.component.SpellCheckComponent - No queryConverter defined, using default converter
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.handler.component.QueryElevationComponent - Loading QueryElevation from: /home/solr/collection1/conf/elevate.xml
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.handler.ReplicationHandler - Commits will be reserved for  10000
[searcherExecutor-4-thread-1] INFO org.apache.solr.core.SolrCore - QuerySenderListener sending requests to Searcher@114af64 main{StandardDirectoryReader(segments_1:1:nrt)}
[searcherExecutor-4-thread-1] INFO org.apache.solr.core.SolrCore - [collection1] webapp=null path=null params={event=firstSearcher&q=static+firstSearcher+warming+in+solrconfig.xml&distrib=false} hits=0 status=0 QTime=46
[searcherExecutor-4-thread-1] INFO org.apache.solr.core.SolrCore - QuerySenderListener done.
[searcherExecutor-4-thread-1] INFO org.apache.solr.handler.component.SpellCheckComponent - Loading spell index for spellchecker: default
[searcherExecutor-4-thread-1] INFO org.apache.solr.handler.component.SpellCheckComponent - Loading spell index for spellchecker: wordbreak
[searcherExecutor-4-thread-1] INFO org.apache.solr.core.SolrCore - [collection1] Registered new searcher Searcher@114af64 main{StandardDirectoryReader(segments_1:1:nrt)}
[coreLoadExecutor-3-thread-1] INFO org.apache.solr.core.CoreContainer - registering core: collection1
[main] INFO org.apache.solr.servlet.SolrDispatchFilter - user.dir=/usr/share/tomcat6
[main] INFO org.apache.solr.servlet.SolrDispatchFilter - SolrDispatchFilter.init() done
Jan 2, 2014 5:41:05 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory sample
Jan 2, 2014 5:41:05 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Jan 2, 2014 5:41:05 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Jan 2, 2014 5:41:05 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jan 2, 2014 5:41:06 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Jan 2, 2014 5:41:06 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/14  config=null
Jan 2, 2014 5:41:06 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3372 ms
[http-8080-1] INFO org.apache.solr.servlet.SolrDispatchFilter - [admin] webapp=null path=/admin/cores params={indexInfo=false&_=1388655832107&wt=json} status=0 QTime=3
[http-8080-1] INFO org.apache.solr.servlet.SolrDispatchFilter - [admin] webapp=null path=/admin/info/system params={_=1388655832160&wt=json} status=0 QTime=20
[http-8080-1] INFO org.apache.solr.servlet.SolrDispatchFilter - [admin] webapp=null path=/admin/info/logging params={_=1388655834182&since=0&wt=json} status=0 QTime=1
[http-8080-1] INFO org.apache.solr.servlet.SolrDispatchFilter - [admin] webapp=null path=/admin/info/logging params={_=1388656008564&since=0&wt=json} status=0 QTime=1
[http-8080-1] INFO org.apache.solr.servlet.SolrDispatchFilter - [admin] webapp=null path=/admin/info/logging params={_=1388656011796&wt=json} status=0 QTime=0

I'd appreciate if somebody has an idea how to fix that. Thanks

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.