Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-8267

Status exit code

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 5.2.1, 5.3
    • 5.4
    • SolrCloud
    • ALL

    Description

      When /etc/init.d/solr status is called and solr service is not running, the return exit code is 0 instead 3.

      I made some modifications in the /opt/solr/bin/solr file to correct this issue:

      • after line 446: add "exit 3"
      • after line 466: add "exit 3"

      This issue appeared with an industrialisation configuration tool (puppet in my case) which check if service is running.

      Attachments

        Issue Links

          Activity

            People

              thelabdude Timothy Potter
              g4uth Gauthier FRANCOIS
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: