lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Furkan KAMACI <furkankam...@gmail.com>
Subject Re: Solr -The connection has timed out
Date Tue, 31 Dec 2013 08:48:45 GMT
Hi;

Beside the other error lines did you realize that log lines:

*java.net.BindException: Address already in use*

Could you check that is there any other application that is using 8983 port?

Thanks;
Furkan KAMACI


2013/12/31 rakesh <rakesh3939@yahoo.com>

> Finally able to get the full log details
>
> ERROR - 2013-12-30 15:13:00.811; org.apache.solr.core.SolrCore;
> [collection1] Solr index directory
>
> '/ctgapps/apache-solr-4.6.0/solr-4.6.0/example/solr/collection1/data/index/'
> is locked.  Throwing exception
> INFO  - 2013-12-30 15:13:00.812; org.apache.solr.core.SolrCore;
> [collection1]  CLOSING SolrCore org.apache.solr.core.SolrCore@de26e52
> INFO  - 2013-12-30 15:13:00.812; org.apache.solr.update.SolrCoreState;
> Closing SolrCoreState
> INFO  - 2013-12-30 15:13:00.813;
> org.apache.solr.update.DefaultSolrCoreState; SolrCoreState ref count has
> reached 0 - closing IndexWriter
> INFO  - 2013-12-30 15:13:00.813; org.apache.solr.core.SolrCore;
> [collection1] Closing main searcher on request.
> INFO  - 2013-12-30 15:13:00.814;
> org.apache.solr.core.CachingDirectoryFactory; Closing
> NRTCachingDirectoryFactory - 2 directories currently being tracked
> INFO  - 2013-12-30 15:13:00.814;
> org.apache.solr.core.CachingDirectoryFactory; looking to close
> /ctgapps/apache-solr-4.6.0/solr-4.6.0/example/solr/collection1/data/index
>
> [CachedDir<<refCount=0;path=/ctgapps/apache-solr-4.6.0/solr-4.6.0/example/solr/collection1/data/index;done=false>>]
> INFO  - 2013-12-30 15:13:00.814;
> org.apache.solr.core.CachingDirectoryFactory; Closing directory:
> /ctgapps/apache-solr-4.6.0/solr-4.6.0/example/solr/collection1/data/index
> INFO  - 2013-12-30 15:13:00.815;
> org.apache.solr.core.CachingDirectoryFactory; looking to close
> /ctgapps/apache-solr-4.6.0/solr-4.6.0/example/solr/collection1/data
>
> [CachedDir<<refCount=0;path=/ctgapps/apache-solr-4.6.0/solr-4.6.0/example/solr/collection1/data;done=false>>]
> INFO  - 2013-12-30 15:13:00.815;
> org.apache.solr.core.CachingDirectoryFactory; Closing directory:
> /ctgapps/apache-solr-4.6.0/solr-4.6.0/example/solr/collection1/data
> ERROR - 2013-12-30 15:13:00.817; org.apache.solr.core.CoreContainer; Unable
> to create core: collection1
> org.apache.solr.common.SolrException: Index locked for write for core
> collection1
> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:834)
> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:625)
> at
> org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:557)
> at org.apache.solr.core.CoreContainer.create(CoreContainer.java:592)
> at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:271)
> at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:263)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
> Caused by: org.apache.lucene.store.LockObtainFailedException: Index locked
> for write for core collection1
> at org.apache.solr.core.SolrCore.initIndex(SolrCore.java:491)
> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:755)
> ... 13 more
> ERROR - 2013-12-30 15:13:00.819; org.apache.solr.common.SolrException;
> null:org.apache.solr.common.SolrException: Unable to create core:
> collection1
> at
> org.apache.solr.core.CoreContainer.recordAndThrow(CoreContainer.java:977)
> at org.apache.solr.core.CoreContainer.create(CoreContainer.java:601)
> at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:271)
> at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:263)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
> Caused by: org.apache.solr.common.SolrException: Index locked for write for
> core collection1
> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:834)
> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:625)
> at
> org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:557)
> at org.apache.solr.core.CoreContainer.create(CoreContainer.java:592)
> ... 10 more
> Caused by: org.apache.lucene.store.LockObtainFailedException: Index locked
> for write for core collection1
> at org.apache.solr.core.SolrCore.initIndex(SolrCore.java:491)
> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:755)
> ... 13 more
>
> INFO  - 2013-12-30 15:13:00.820;
> org.apache.solr.servlet.SolrDispatchFilter;
> user.dir=/ctgapps/apache-solr-4.6.0/solr-4.6.0/example
> INFO  - 2013-12-30 15:13:00.820;
> org.apache.solr.servlet.SolrDispatchFilter;
> SolrDispatchFilter.init() done
> WARN  - 2013-12-30 15:13:00.856;
> org.eclipse.jetty.util.component.AbstractLifeCycle; FAILED
> SocketConnector@0.0.0.0:8983: java.net.BindException: Address already in
> use
> java.net.BindException: Address already in use
> at java.net.PlainSocketImpl.socketBind(Native Method)
> at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
> at java.net.ServerSocket.bind(ServerSocket.java:328)
> at java.net.ServerSocket.<init>(ServerSocket.java:194)
> at java.net.ServerSocket.<init>(ServerSocket.java:150)
> at
>
> org.eclipse.jetty.server.bio.SocketConnector.newServerSocket(SocketConnector.java:96)
> at
> org.eclipse.jetty.server.bio.SocketConnector.open(SocketConnector.java:85)
> at
>
> org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:316)
> at
>
> org.eclipse.jetty.server.bio.SocketConnector.doStart(SocketConnector.java:156)
> at
>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> at org.eclipse.jetty.server.Server.doStart(Server.java:291)
> at
>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1259)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1182)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.jetty.start.Main.invokeMain(Main.java:473)
> at org.eclipse.jetty.start.Main.start(Main.java:615)
> at org.eclipse.jetty.start.Main.main(Main.java:96)
> WARN  - 2013-12-30 15:13:00.856;
> org.eclipse.jetty.util.component.AbstractLifeCycle; FAILED
> org.eclipse.jetty.server.Server@3951f910: java.net.BindException: Address
> already in use
> java.net.BindException: Address already in use
> at java.net.PlainSocketImpl.socketBind(Native Method)
> at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
> at java.net.ServerSocket.bind(ServerSocket.java:328)
> at java.net.ServerSocket.<init>(ServerSocket.java:194)
> at java.net.ServerSocket.<init>(ServerSocket.java:150)
> at
>
> org.eclipse.jetty.server.bio.SocketConnector.newServerSocket(SocketConnector.java:96)
> at
> org.eclipse.jetty.server.bio.SocketConnector.open(SocketConnector.java:85)
> at
>
> org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:316)
> at
>
> org.eclipse.jetty.server.bio.SocketConnector.doStart(SocketConnector.java:156)
> at
>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> at org.eclipse.jetty.server.Server.doStart(Server.java:291)
> at
>
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1259)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1182)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.jetty.start.Main.invokeMain(Main.java:473)
> at org.eclipse.jetty.start.Main.start(Main.java:615)
> at org.eclipse.jetty.start.Main.main(Main.java:96)
> INFO  - 2013-12-30 15:20:50.535; org.eclipse.jetty.server.Server; Graceful
> shutdown SocketConnector@0.0.0.0:8983
> INFO  - 2013-12-30 15:20:50.538; org.eclipse.jetty.server.Server; Graceful
> shutdown
>
> o.e.j.w.WebAppContext{/solr,file:/ctgapps/apache-solr-4.6.0/solr-4.6.0/example/solr-webapp/webapp/},/ctgapps/apache-solr-4.6.0/solr-4.6.0/example/webapps/solr.war
> INFO  - 2013-12-30 15:20:51.539; org.apache.solr.core.CoreContainer;
> Shutting down CoreContainer instance=646107664
> INFO  - 2013-12-30 15:20:51.540; org.apache.solr.core.SolrCore;
> [collection1]  CLOSING SolrCore org.apache.solr.core.SolrCore@7f9360e7
> INFO  - 2013-12-30 15:20:51.541;
> org.apache.solr.update.DirectUpdateHandler2; closing
> DirectUpdateHandler2{commits=5,autocommit
> maxTime=15000ms,autocommits=0,soft
>
> autocommits=0,optimizes=0,rollbacks=0,expungeDeletes=0,docsPending=0,adds=0,deletesById=0,deletesByQuery=0,errors=0,cumulative_adds=6,cumulative_deletesById=0,cumulative_deletesByQuery=3,cumulative_errors=0}
> INFO  - 2013-12-30 15:20:51.543; org.apache.solr.update.SolrCoreState;
> Closing SolrCoreState
> INFO  - 2013-12-30 15:20:51.546;
> org.apache.solr.update.DefaultSolrCoreState; SolrCoreState ref count has
> reached 0 - closing IndexWriter
> INFO  - 2013-12-30 15:20:51.546;
> org.apache.solr.update.DefaultSolrCoreState; closing IndexWriter with
> IndexWriterCloser
> INFO  - 2013-12-30 15:20:51.557; org.apache.solr.core.SolrCore;
> [collection1] Closing main searcher on request.
> INFO  - 2013-12-30 15:20:51.562;
> org.apache.solr.core.CachingDirectoryFactory; Closing
> NRTCachingDirectoryFactory - 2 directories currently being tracked
> INFO  - 2013-12-30 15:20:51.563;
> org.apache.solr.core.CachingDirectoryFactory; looking to close
> /ctgapps/apache-solr-4.6.0/solr-4.6.0/example/solr/collection1/data
>
> [CachedDir<<refCount=0;path=/ctgapps/apache-solr-4.6.0/solr-4.6.0/example/solr/collection1/data;done=false>>]
> INFO  - 2013-12-30 15:20:51.563;
> org.apache.solr.core.CachingDirectoryFactory; Closing directory:
> /ctgapps/apache-solr-4.6.0/solr-4.6.0/example/solr/collection1/data
> INFO  - 2013-12-30 15:20:51.563;
> org.apache.solr.core.CachingDirectoryFactory; looking to close
> /ctgapps/apache-solr-4.6.0/solr-4.6.0/example/solr/collection1/data/index
>
> [CachedDir<<refCount=0;path=/ctgapps/apache-solr-4.6.0/solr-4.6.0/example/solr/collection1/data/index;done=false>>]
> INFO  - 2013-12-30 15:20:51.564;
> org.apache.solr.core.CachingDirectoryFactory; Closing directory:
> /ctgapps/apache-solr-4.6.0/solr-4.6.0/example/solr/collection1/data/index
> INFO  - 2013-12-30 15:20:51.572;
> org.eclipse.jetty.server.handler.ContextHandler; stopped
>
> o.e.j.w.WebAppContext{/solr,file:/ctgapps/apache-solr-4.6.0/solr-4.6.0/example/solr-webapp/webapp/},/ctgapps/apache-solr-4.6.0/solr-4.6.0/example/webapps/solr.war
> INFO  - 2013-12-30 15:21:26.003; org.eclipse.jetty.server.Server;
> jetty-8.1.10.v20130312
> INFO  - 2013-12-30 15:21:26.041;
> org.eclipse.jetty.deploy.providers.ScanningAppProvider; Deployment monitor
> /ctgapps/apache-solr-4.6.0/solr-4.6.0/example/contexts at interval 0
> INFO  - 2013-12-30 15:21:26.051;
> org.eclipse.jetty.deploy.DeploymentManager;
> Deployable added:
>
> /ctgapps/apache-solr-4.6.0/solr-4.6.0/example/contexts/solr-jetty-context.xml
> INFO  - 2013-12-30 15:21:27.404;
> org.eclipse.jetty.webapp.StandardDescriptorProcessor; NO JSP Support for
> /solr, did not find org.apache.jasper.servlet.JspServlet
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Solr-The-connection-has-timed-out-tp4108802p4108851.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message