This is still a pain. Either the script should be more robust (it's a pretty long, but it shouldn't be too hard ot find the 30 second wait that you can increase) or try to figure out why it takes 30 seconds for your Solr to start.
the "-f" option can help you watch things go by and perhaps give you a clue. The other manifestation is when you say "Darn, let me try that again" and see a message about "Solr already running on port ####". Best, Erick On Tue, Jun 28, 2016 at 8:01 AM, Mary Anne Smart <masm...@umail.iu.edu> wrote: > It didn't even occur to me that Solr might be running anyway; looks like it > is. > > Thanks, > Mary Anne > > On Tue, Jun 28, 2016 at 10:50 AM, Erick Erickson <erickerick...@gmail.com> > wrote: > >> Hmm, that log file isn't very useful, this is puzzling. Is Solr running >> anyway? Can you connect to localhost:2181/solr? >> >> Are you sure you're pasting the correct Solr log BTW? >> >> Best, >> Erick >> >> On Tue, Jun 28, 2016 at 6:32 AM, Mary Anne Smart <masm...@umail.iu.edu> >> wrote: >> > I've downloaded solr and updated my java version to Java 8. However, >> when I try to start solr with bin/solr start, I get the following error: >> > >> > Marys-MacBook-Air:solr-5.3.1 masmart$ bin/solr start >> > Waiting up to 30 seconds to see Solr running on port 8983 [-] Still not >> seeing Solr listening on 8983 after 30 seconds! >> > 2016-06-28 12:43:58.062 INFO (main) [ ] o.e.j.u.log Logging >> initialized @508ms >> > 2016-06-28 12:43:58.331 INFO (main) [ ] o.e.j.s.Server >> jetty-9.2.11.v20150529 >> > 2016-06-28 12:43:58.349 WARN (main) [ ] o.e.j.s.h.RequestLogHandler >> !RequestLog >> > 2016-06-28 12:43:58.351 INFO (main) [ ] o.e.j.d.p.ScanningAppProvider >> Deployment monitor >> [file:/Users/masmart/Downloads/SOLR_STUFF/solr-5.3.1/server/contexts/] at >> interval 0 >> > 2016-06-28 12:43:58.971 INFO (main) [ ] >> o.e.j.w.StandardDescriptorProcessor NO JSP Support for /solr, did not find >> org.apache.jasper.servlet.JspServlet >> > 2016-06-28 12:43:58.987 WARN (main) [ ] o.e.j.s.SecurityHandler >> ServletContext@o.e.j.w.WebAppContext@146ba0ac{/solr,file:/Users/masmart/Downloads/SOLR_STUFF/solr-5.3.1/server/solr-webapp/webapp/,STARTING}{/Users/masmart/Downloads/SOLR_STUFF/solr-5.3.1/server/solr-webapp/webapp} >> has uncovered http methods for path: / >> > 2016-06-28 12:43:58.997 INFO (main) [ ] o.a.s.s.SolrDispatchFilter >> SolrDispatchFilter.init(): WebAppClassLoader=239465106@e45f292 >> > 2016-06-28 12:43:59.024 INFO (main) [ ] o.a.s.c.SolrResourceLoader >> JNDI not configured for solr (NoInitialContextEx) >> > 2016-06-28 12:43:59.024 INFO (main) [ ] o.a.s.c.SolrResourceLoader >> using system property solr.solr.home: >> /Users/masmart/Downloads/SOLR_STUFF/solr-5.3.1/server/solr >> > 2016-06-28 12:43:59.027 INFO (main) [ ] o.a.s.c.SolrResourceLoader >> new SolrResourceLoader for directory: >> '/Users/masmart/Downloads/SOLR_STUFF/solr-5.3.1/server/solr/' >> > 2016-06-28 12:43:59.268 INFO (main) [ ] o.a.s.c.SolrXmlConfig Loading >> container configuration from >> /Users/masmart/Downloads/SOLR_STUFF/solr-5.3.1/server/solr/solr.xml >> > 2016-06-28 12:43:59.420 INFO (main) [ ] o.a.s.c.CoresLocator >> Config-defined core root directory: >> /Users/masmart/Downloads/SOLR_STUFF/solr-5.3.1/server/solr >> > 2016-06-28 12:43:59.466 INFO (main) [ ] o.a.s.c.CoreContainer New >> CoreContainer 1165303897 >> > 2016-06-28 12:43:59.467 INFO (main) [ ] o.a.s.c.CoreContainer Loading >> cores into CoreContainer >> [instanceDir=/Users/masmart/Downloads/SOLR_STUFF/solr-5.3.1/server/solr/] >> > 2016-06-28 12:43:59.467 INFO (main) [ ] o.a.s.c.CoreContainer loading >> shared library: >> /Users/masmart/Downloads/SOLR_STUFF/solr-5.3.1/server/solr/lib >> > 2016-06-28 12:43:59.467 WARN (main) [ ] o.a.s.c.SolrResourceLoader >> Can't find (or read) directory to add to classloader: lib (resolved as: >> /Users/masmart/Downloads/SOLR_STUFF/solr-5.3.1/server/solr/lib). >> > 2016-06-28 12:43:59.486 INFO (main) [ ] >> o.a.s.h.c.HttpShardHandlerFactory created with socketTimeout : >> 600000,connTimeout : 60000,maxConnectionsPerHost : 20,maxConnections : >> 10000,corePoolSize : 0,maximumPoolSize : 2147483647,maxThreadIdleTime : >> 5,sizeOfQueue : -1,fairnessPolicy : false,useRetries : false, >> > 2016-06-28 12:43:59.810 INFO (main) [ ] o.a.s.u.UpdateShardHandler >> Creating UpdateShardHandler HTTP client with params: >> socketTimeout=600000&connTimeout=60000&retry=true >> > 2016-06-28 12:43:59.813 INFO (main) [ ] o.a.s.l.LogWatcher SLF4J impl >> is org.slf4j.impl.Log4jLoggerFactory >> > 2016-06-28 12:43:59.814 INFO (main) [ ] o.a.s.l.LogWatcher >> Registering Log Listener [Log4j (org.slf4j.impl.Log4jLoggerFactory)] >> > 2016-06-28 12:43:59.816 INFO (main) [ ] o.a.s.c.CoreContainer >> Security conf doesn't exist. Skipping setup for authorization module. >> > 2016-06-28 12:43:59.816 INFO (main) [ ] o.a.s.c.CoreContainer No >> authentication plugin used. >> > >> > >> > Thank you >> > >> > Sent from my iPhone >>