How to stop solr with command line

后端 未结 5 1560
囚心锁ツ
囚心锁ツ 2021-02-01 05:52

I want to stop solr by command so if find this article

http://rc98.net/solrinit

echo \"Stopping Solr\"
        cd $SOLR_DIR
        java -Xmx1024m -DSTO         


        
5条回答
  •  被撕碎了的回忆
    2021-02-01 06:49

    This worked for me if rake sunspot:solr:stop doesn't work

    ps -ef | grep solr

    then using the information returned

    sudo kill

    example:

    sudo kill 792

提交回复
热议问题