lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Israel Ekpo <israele...@gmail.com>
Subject Re: Stopping & Starting
Date Fri, 04 Dec 2009 03:50:34 GMT
On Thu, Dec 3, 2009 at 5:01 PM, Yonik Seeley <yonik@lucidimagination.com>wrote:

> On Thu, Dec 3, 2009 at 4:57 PM, Lee Smith <lee@weblee.co.uk> wrote:
> > Hello All
> >
> > I am just starting out today with solr and looking for some advice but I
> > first have a problem.
> >
> > I ran the start command ie.
> >
> > user:~/solr/example$ java -jar start.jar
> >
> > Which worked perfect and started to explore the interface.
> >
> > But my terminal window dropped and I it has stopped working. If i try and
> > restart it Im getting errors and its still not working.
> >
> > error like:
> > 2009-12-03 21:55:41.785::WARN:  EXCEPTION
> > java.net.BindException: Address already in use
> >
> > So how can I stop and restart the service ?
>
> Try and find the java process and kill it?
> ps -elf | grep java
> kill <pid>
>
> If no other Java processes are running under "user", then "killall
> java" is a quick way to do it (Linux has killall... not sure about
> other systems).
>
> -Yonik
> http://www.lucidimagination.com
>


On Ubuntu, CentOS and some other linux distros, you can run this command:

pkill -f start.jar

OR

pkill -f java

If there are no other java processes running


-- 
"Good Enough" is not good enough.
To give anything less than your best is to sacrifice the gift.
Quality First. Measure Twice. Cut Once.
http://www.israelekpo.com/

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