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

Solr installer fails on SuSE linux (Make check for used tool "service" compatible with SuSE Linux like OpenSuse or SLES)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 7.0, 7.0.1, 7.1, 7.2, 7.2.1, 7.3, 7.3.1, 7.4, 7.5
    • 7.7, 8.0
    • scripts and tools
    • SuSE Linux (SLES & OpenSuSE)

    Description

      On current SuSE Linux releases like SLES or OpenSuSE the Solr installer stops with the error message "Script requires the 'service' command".

      This happens because before installation the installer checks if the used command "service" exists by its option "service --version".

      The command line option "--version" doesn't exist for "service" on current SuSE Linux stable releases.

      Since the command "service" is there and has an option "--help", this option can be used as additional fallback.

      So in the pull request i extended the check with "service --help" as second check / fallback before printing this error and exiting.

      Attachments

        Issue Links

          Activity

            People

              janhoy Jan Høydahl
              Mandalka Markus Mandalka
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h