On Thu, Dec 3, 2009 at 5:01 PM, Yonik Seeley <yo...@lucidimagination.com>wrote:

> On Thu, Dec 3, 2009 at 4:57 PM, Lee Smith <l...@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/

Reply via email to