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

install solr service service command fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 6.6
    • None
    • None
    • Suse linux

    Description

      In SUSE distribution, "service --version" commands always fail and abort the solr installation with printing the error "Script requires the 'service' command"

      We can fix it by changing "service --version" to "service --help" command.

      Shawn's test results
      ==
      This is what I get with OS versions that I have access to when running
      "service --version":

      CentOS 7:
      service ver. 1.1

      Ubuntu 16:
      service ver. 0.91-ubuntu1

      Ubuntu 14:
      service ver. 0.91-ubuntu1

      CentOS 6:
      service ver. 0.91

      Debian 6:
      service ver. 0.91-ubuntu1

      Sparc Solaris 10:
      bash: service: command not found

      =================

      Attachments

        1. SOLR-10932.patch
          0.7 kB
          Susheel Kumar

        Issue Links

          Activity

            People

              Unassigned Unassigned
              susheel2777@gmail.com Susheel Kumar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: