You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by rocco2004 <st...@gmail.com> on 2011/07/11 05:11:54 UTC
Solr Configuration with 404 error
I installed Solr using:
java -jar start.jar
However I downloaded the source code and didn't compile it (Didn't pay
attention). And the error using:
http://localhost:8983/solr/admin/ was:
HTTP ERROR: 404 Problem accessing /solr/admin/. Reason: NOT_FOUND
I realized that it was nos configuring because the source code was not
compiled. Then I downloaded the compiled version of solr but when trying to
run the example configuration I'm getting exception:
java.net.BindException: Address already in use
Is there a way to revert solr configuration and start from scratch? Looks
like the configuration got messed up. I don't see anything related to it in
the manual.
Here is the error:
2011-07-10 22:41:27.631:WARN::failed SocketConnector@0.0.0.0:8983:
java.net.BindException: Address already in use 2011-07-10
22:41:27.632:WARN::failed Server@c4e21db: java.net.BindException: Address
already in use 2011-07-10 22:41:27.632:WARN::EXCEPTION
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.(ServerSocket.java:194) at
java.net.ServerSocket.(ServerSocket.java:150) at
org.mortbay.jetty.bio.SocketConnector.newServerSocket(SocketConnector.java:80)
at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73) at
org.mortbay.jetty.AbstractConnector.doStart(AbstractConnector.java:283) at
org.mortbay.jetty.bio.SocketConnector.doStart(SocketConnector.java:147) at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at
org.mortbay.jetty.Server.doStart(Server.java:235) 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:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597) 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) Jul 10, 2011 10:41:27 PM
org.apache.solr.core.SolrCore registerSearcher INFO: [] Registered new
searcher Searcher@5b6b9e62 main
--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-Configuration-with-404-error-tp3157895p3157895.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr Configuration with 404 error
Posted by ka...@gmx.de.
Hi rocco,
you did not stop jetty after your first attempt.
(You have to kill the task.)
Best regards
Karsten
btw: How to change the port 8983:
http://lucene.472066.n3.nabble.com/How-to-change-a-port-td490375.html
-------- Original-Nachricht --------
> Datum: Sun, 10 Jul 2011 20:11:54 -0700 (PDT)
> Von: rocco2004 <st...@gmail.com>
> An: solr-user@lucene.apache.org
> Betreff: Solr Configuration with 404 error
> I installed Solr using:
>
> java -jar start.jar
>
> However I downloaded the source code and didn't compile it (Didn't pay
> attention). And the error using:
> http://localhost:8983/solr/admin/ was:
>
> HTTP ERROR: 404 Problem accessing /solr/admin/. Reason: NOT_FOUND
>
> I realized that it was nos configuring because the source code was not
> compiled. Then I downloaded the compiled version of solr but when trying
> to
> run the example configuration I'm getting exception:
>
> java.net.BindException: Address already in use
>
> Is there a way to revert solr configuration and start from scratch? Looks
> like the configuration got messed up. I don't see anything related to it
> in
> the manual.
>
> Here is the error:
>
> 2011-07-10 22:41:27.631:WARN::failed SocketConnector@0.0.0.0:8983:
> java.net.BindException: Address already in use 2011-07-10
> 22:41:27.632:WARN::failed Server@c4e21db: java.net.BindException: Address
> already in use 2011-07-10 22:41:27.632:WARN::EXCEPTION
> 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.(ServerSocket.java:194) at
> java.net.ServerSocket.(ServerSocket.java:150) at
> org.mortbay.jetty.bio.SocketConnector.newServerSocket(SocketConnector.java:80)
> at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73) at
> org.mortbay.jetty.AbstractConnector.doStart(AbstractConnector.java:283) at
> org.mortbay.jetty.bio.SocketConnector.doStart(SocketConnector.java:147) at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> at
> org.mortbay.jetty.Server.doStart(Server.java:235) 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:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597) 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) Jul 10, 2011 10:41:27 PM
> org.apache.solr.core.SolrCore registerSearcher INFO: [] Registered new
> searcher Searcher@5b6b9e62 main
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Solr-Configuration-with-404-error-tp3157895p3157895.html
> Sent from the Solr - User mailing list archive at Nabble.com.