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

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

    [ https://issues.apache.org/jira/browse/SOLR-7822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14638661#comment-14638661 ] 

Upayavira commented on SOLR-7822:
---------------------------------

How was this service installed? i.e. did you use an Apache distribution of Solr?

If you used an Apache distribution, did you use bin/install_solr_service.sh?

What responses would you expect other than zero? And could you patch the bin/solr script to give the correct responses?

> 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