Output from my /var/log/chef/solr.log:
[Mon, 09 Apr 2012 12:45:04 -0400] INFO: About to change privilege to chef:chef
[Mon, 09 Apr 2012 12:45:04 -0400] INFO: Daemonizing..
[Mon, 09 Apr 2012 12:45:04 -0400] INFO: Forked, in 895. Priveleges: 107 115
[Mon, 09 Apr 2012 12:45:04 -0400] INFO: Starting Solr with java
-Xmx256M -Xms256M -Dsolr.data.dir=/var/cache/chef/solr/data
-Dsolr.solr.home=/var/lib/chef/solr
-DSTART=/var/lib/chef/solr/solr-jetty/etc/start.config -jar
/var/lib/chef/solr/solr-jetty/start.jar
1 [main] INFO org.mortbay.log - Logging to
org.slf4j.impl.SimpleLogger(org.mortbay.log) via
org.mortbay.log.Slf4jLog
196 [main] INFO org.mortbay.log - jetty-6.1.22
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/usr/share/java/slf4j-simple-1.5.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/var/lib/chef/solr/solr-jetty/webapps/solr/WEB-INF/lib/slf4j-jdk14.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See SLF4J Error Codes for an explanation.
Apr 9, 2012 12:45:17 PM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: No /solr/home in JNDI
Apr 9, 2012 12:45:17 PM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: using system property solr.solr.home: /var/lib/chef/solr
Apr 9, 2012 12:45:17 PM org.apache.solr.core.SolrResourceLoader
INFO: Solr home set to '/var/lib/chef/solr/'
Apr 9, 2012 12:45:17 PM org.apache.solr.servlet.SolrDispatchFilter init
INFO: SolrDispatchFilter.init()
Apr 9, 2012 12:45:17 PM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: No /solr/home in JNDI
Apr 9, 2012 12:45:17 PM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: using system property solr.solr.home: /var/lib/chef/solr
Apr 9, 2012 12:45:17 PM org.apache.solr.core.CoreContainer$Initializer
initialize
INFO: looking for solr.xml: /var/lib/chef/solr/solr.xml
Apr 9, 2012 12:45:17 PM org.apache.solr.core.SolrResourceLoader
INFO: Solr home set to '/var/lib/chef/solr/'
Apr 9, 2012 12:45:17 PM org.apache.solr.core.SolrConfig
INFO: Loaded SolrConfig: solrconfig.xml
Apr 9, 2012 12:45:17 PM org.apache.solr.core.SolrCore
INFO: Opening new SolrCore at /var/lib/chef/solr/,
dataDir=/var/cache/chef/solr/data/
Apr 9, 2012 12:45:17 PM org.apache.solr.schema.IndexSchema readSchema
INFO: Reading Solr Schema
Apr 9, 2012 12:45:17 PM org.apache.solr.schema.IndexSchema readSchema
INFO: Schema name=chef
Apr 9, 2012 12:45:17 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created string: org.apache.solr.schema.StrField
Apr 9, 2012 12:45:17 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created boolean: org.apache.solr.schema.BoolField
Apr 9, 2012 12:45:17 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created integer: org.apache.solr.schema.IntField
Apr 9, 2012 12:45:17 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created long: org.apache.solr.schema.LongField
Apr 9, 2012 12:45:17 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created float: org.apache.solr.schema.FloatField
Apr 9, 2012 12:45:17 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created double: org.apache.solr.schema.DoubleField
Apr 9, 2012 12:45:18 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created sint: org.apache.solr.schema.SortableIntField
Apr 9, 2012 12:45:18 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created slong: org.apache.solr.schema.SortableLongField
Apr 9, 2012 12:45:18 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created sfloat: org.apache.solr.schema.SortableFloatField
Apr 9, 2012 12:45:18 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created sdouble: org.apache.solr.schema.SortableDoubleField
Apr 9, 2012 12:45:18 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created stuff: org.apache.solr.schema.TextField
Apr 9, 2012 12:45:18 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created date: org.apache.solr.schema.DateField
Apr 9, 2012 12:45:18 PM org.apache.solr.schema.IndexSchema readSchema
INFO: default search field is content
Apr 9, 2012 12:45:18 PM org.apache.solr.schema.IndexSchema readSchema
INFO: query parser default operator is OR
Apr 9, 2012 12:45:18 PM org.apache.solr.schema.IndexSchema readSchema
INFO: unique key field: X_CHEF_id_CHEF_X
Apr 9, 2012 12:45:18 PM org.apache.solr.core.JmxMonitoredMap
INFO: No JMX servers found, not exposing Solr information with JMX.
Apr 9, 2012 12:45:18 PM org.apache.solr.core.RequestHandlers
initHandlersFromConfig
INFO: created standard: solr.SearchHandler
Apr 9, 2012 12:45:18 PM org.apache.solr.core.RequestHandlers
initHandlersFromConfig
INFO: created /update: solr.XmlUpdateRequestHandler
Apr 9, 2012 12:45:18 PM org.apache.solr.core.RequestHandlers
initHandlersFromConfig
INFO: created /update/javabin: solr.BinaryUpdateRequestHandler
Apr 9, 2012 12:45:18 PM org.apache.solr.core.RequestHandlers
initHandlersFromConfig
INFO: created /analysis/document: solr.DocumentAnalysisRequestHandler
Apr 9, 2012 12:45:18 PM org.apache.solr.core.RequestHandlers
initHandlersFromConfig
INFO: created /analysis/field: solr.FieldAnalysisRequestHandler
Apr 9, 2012 12:45:18 PM org.apache.solr.core.RequestHandlers
initHandlersFromConfig
INFO: adding lazy requestHandler: solr.CSVRequestHandler
Apr 9, 2012 12:45:18 PM org.apache.solr.core.RequestHandlers
initHandlersFromConfig
INFO: created /update/csv: solr.CSVRequestHandler
Apr 9, 2012 12:45:18 PM org.apache.solr.core.RequestHandlers
initHandlersFromConfig
INFO: created /admin/: org.apache.solr.handler.admin.AdminHandlers
Apr 9, 2012 12:45:18 PM org.apache.solr.core.RequestHandlers
initHandlersFromConfig
INFO: created /admin/ping: PingRequestHandler
Apr 9, 2012 12:45:18 PM org.apache.solr.core.RequestHandlers
initHandlersFromConfig
INFO: created /debug/dump: solr.DumpRequestHandler
Apr 9, 2012 12:45:18 PM org.apache.solr.search.SolrIndexSearcher
INFO: Opening Searcher@64a7c45e main
Apr 9, 2012 12:45:18 PM
org.apache.solr.update.DirectUpdateHandler2$CommitTracker
INFO: AutoCommit: if uncommited for 10000ms; if 100 uncommited docs
Apr 9, 2012 12:45:18 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.QueryComponent@1dc18a4c
Apr 9, 2012 12:45:18 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.FacetComponent@d5e92d7
Apr 9, 2012 12:45:18 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.MoreLikeThisComponent@3bfa681c
Apr 9, 2012 12:45:18 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.HighlightComponent@34c92507
Apr 9, 2012 12:45:18 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:org.apache.solr.handler.component.StatsComponent@19e09a4
Apr 9, 2012 12:45:18 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding debug
component:org.apache.solr.handler.component.DebugComponent@2e8aeed0
Apr 9, 2012 12:45:18 PM org.apache.solr.core.SolrCore registerSearcher
INFO: Registered new searcher Searcher@64a7c45e main
Apr 9, 2012 12:45:18 PM org.apache.solr.core.CoreContainer register
INFO: registering core:
Apr 9, 2012 12:45:18 PM org.apache.solr.servlet.SolrDispatchFilter init
INFO: user.dir=/var/lib/chef/solr/solr-jetty
Apr 9, 2012 12:45:18 PM org.apache.solr.servlet.SolrDispatchFilter init
INFO: SolrDispatchFilter.init() done
Apr 9, 2012 12:45:18 PM org.apache.solr.servlet.SolrServlet init
INFO: SolrServlet.init()
Apr 9, 2012 12:45:18 PM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: No /solr/home in JNDI
Apr 9, 2012 12:45:18 PM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: using system property solr.solr.home: /var/lib/chef/solr
Apr 9, 2012 12:45:18 PM org.apache.solr.servlet.SolrServlet init
INFO: SolrServlet.init() done
Apr 9, 2012 12:45:18 PM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: No /solr/home in JNDI
Apr 9, 2012 12:45:18 PM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: using system property solr.solr.home: /var/lib/chef/solr
Apr 9, 2012 12:45:18 PM org.apache.solr.servlet.SolrUpdateServlet init
INFO: SolrUpdateServlet.init() done
13144 [main] WARN org.mortbay.log - failed
org.mortbay.jetty.NCSARequestLog@28ae4646: java.io.IOException: Cannot
write log directory /var/log/chef
13144 [main] WARN org.mortbay.log - failed RequestLogHandler@4987b287:
java.io.IOException: Cannot write log directory /var/log/chef
13144 [main] WARN org.mortbay.log - failed HandlerCollection@6bd9e2c7:
java.io.IOException: Cannot write log directory /var/log/chef
13144 [main] WARN org.mortbay.log - Error starting handlers
java.io.IOException: Cannot write log directory /var/log/chef
at org.mortbay.util.RolloverFileOutputStream.setFile(RolloverFileOutputStream.java:217)
at org.mortbay.util.RolloverFileOutputStream.(RolloverFileOutputStream.java:164)
at org.mortbay.jetty.NCSARequestLog.doStart(NCSARequestLog.java:428)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:117)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:224)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.mortbay.start.Main.invokeMain(Main.java:194)
at org.mortbay.start.Main.start(Main.java:534)
at org.mortbay.start.Main.start(Main.java:441)
at org.mortbay.start.Main.main(Main.java:119)
13164 [main] INFO org.mortbay.log - Started SocketConnector@127.0.0.1:8983
On Mon, Apr 9, 2012 at 2:04 PM, Bryan McLellan btm@loftninjas.org wrote:
On Mon, Apr 9, 2012 at 12:36 PM, Paul Welch pwelch2004@gmail.com wrote:
If im not mistaken it looks like an issue talking to Solr. However, I
am not sure why it would work on initial install but stop working
later...
Anything interesting in the solr log? Usually /var/log/chef/solr.log.
Bryan
--
Paul Welch
pwelch2004@gmail.com
+1.352.327.8087