You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Virender Khatri (JIRA)" <ji...@apache.org> on 2015/07/23 13:17:05 UTC

[jira] [Created] (SOLR-7822) solr v5.2.1 service always returns exit code 0

Virender Khatri created SOLR-7822:
-------------------------------------

             Summary: solr v5.2.1 service always returns exit code 0
                 Key: SOLR-7822
                 URL: https://issues.apache.org/jira/browse/SOLR-7822
             Project: Solr
          Issue Type: Bug
          Components: SolrCloud
    Affects Versions: 5.2.1
            Reporter: Virender Khatri


> When checking solr service status

# service solr status

Found 1 Solr nodes:

Solr process 10256 from /var/run/solr/solr-8983.pid not found.
# echo $?
0

> When solr service failed to start:

# service solr start
Waiting to see Solr listening on port 8983 [\]  Still not seeing Solr listening on 8983 after 30 seconds!
tail: cannot open ‘/var/log/solr/solr.log’ for reading: No such file or directory
# echo $?
0

> When solr service is stopped (when failed to start last time with existing pid file or without pid file):

# service solr status

No Solr nodes are running.

# echo $?
0



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org