lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jan...@apache.org
Subject lucene-solr:branch_7x: SOLR-11853: Solr installer fails on SuSE linux
Date Wed, 02 Jan 2019 16:31:32 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/branch_7x fd4df572e -> f2f0110b9


SOLR-11853: Solr installer fails on SuSE linux

(cherry picked from commit a1c6e642aad90d3615b4c71bf261a5aad7e32369)


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/f2f0110b
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/f2f0110b
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/f2f0110b

Branch: refs/heads/branch_7x
Commit: f2f0110b9ac92a0cd43a6c3ebccbb7abe83177a7
Parents: fd4df57
Author: Jan Høydahl <janhoy@apache.org>
Authored: Wed Jan 2 17:24:22 2019 +0100
Committer: Jan Høydahl <janhoy@apache.org>
Committed: Wed Jan 2 17:31:11 2019 +0100

----------------------------------------------------------------------
 solr/CHANGES.txt                 | 2 ++
 solr/bin/install_solr_service.sh | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/f2f0110b/solr/CHANGES.txt
----------------------------------------------------------------------
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 8ea5c35..9dfef08 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -72,6 +72,8 @@ Bug Fixes
   scheduled triggers not be used for very frequent operations to avoid this problem.
   (ab, shalin)
 
+* SOLR-11853: Solr installer fails on SuSE linux (Markus Mandalka via janhoy)
+
 Improvements
 ----------------------
 

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/f2f0110b/solr/bin/install_solr_service.sh
----------------------------------------------------------------------
diff --git a/solr/bin/install_solr_service.sh b/solr/bin/install_solr_service.sh
index 033b383..6cfb6a5 100755
--- a/solr/bin/install_solr_service.sh
+++ b/solr/bin/install_solr_service.sh
@@ -193,7 +193,7 @@ else
   unzip -hh &>/dev/null         || print_error "Script requires the 'unzip' command"
 fi
 if [[ $SOLR_START == "true" ]] ; then
-  service --version &>/dev/null || print_error "Script requires the 'service' command"
+  service --version &>/dev/null || service --help &>/dev/null || print_error
"Script requires the 'service' command"
   java -version &>/dev/null     || print_error "Solr requires java, please install
or set JAVA_HOME properly"
 fi
 lsof -h &>/dev/null             || echo "We recommend installing the 'lsof' command
for more stable start/stop of Solr"


Mime
View raw message