lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Jelsma (JIRA)" <>
Subject [jira] [Commented] (SOLR-10089) bin/solr script refuses to start due to PID file
Date Thu, 02 Feb 2017 11:54:51 GMT


Markus Jelsma commented on SOLR-10089:

Hello Jan - my machine was behaving very badly, so i took out the power cord. After starting
up again, i got this:

$ bin/solr  restart -c
Sending stop command to Solr running on port 8983 ... waiting up to 180 seconds to allow Jetty
process 2340 to stop gracefully. Connection refused
        at Method)
        at org.eclipse.jetty.start.Main.stop(
        at org.eclipse.jetty.start.Main.stop(
        at org.eclipse.jetty.start.Main.doStop(
        at org.eclipse.jetty.start.Main.start(
        at org.eclipse.jetty.start.Main.main(

Usage: java -jar start.jar [options] [properties] [configs]
       java -jar start.jar --help  # for more information
 [-]  ^C

Weird, so i tried stop:

$ bin/solr  stop

Found 1 Solr nodes running! Must either specify a port using -p or -all to stop all Solr nodes
on this host.

Solr wasn't running, but i tried the following anyway:

$ bin/solr  stop -a

Above call was just hanging, doing nothing. I then spotted the PID file:

$ rm bin/  
$ bin/solr  restart -c
Archiving 1 old GC log files to /home/markus/dev/solr-6.4.0/solr/server/logs/archived
Archiving 1 console log files to /home/markus/dev/solr-6.4.0/solr/server/logs/archived
Rotating solr logs, keeping a max of 9 generations
Waiting up to 180 seconds to see Solr running on port 8983 [\]  
Started Solr server on port 8983 (pid=4835). Happy searching!

All was fine again.

> bin/solr script refuses to start due to PID file
> ------------------------------------------------
>                 Key: SOLR-10089
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 6.4
>            Reporter: Markus Jelsma
>             Fix For: master (7.0)
> The bin/solr script believes Solr is still running due to the PID file being present.
Solr was forcefully killed so the PID file is still there, but the service is obviously not

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message