lucene-commits mailing list archives

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


SOLR-11853: Solr installer fails on SuSE linux


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

Branch: refs/heads/master
Commit: a1c6e642aad90d3615b4c71bf261a5aad7e32369
Parents: c34f29a
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:24:22 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/a1c6e642/solr/CHANGES.txt
----------------------------------------------------------------------
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index d165e63..4ba275c 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -200,6 +200,8 @@ Bug Fixes
 
 * SOLR-12514: Rule-base Authorization plugin skips authorization if querying node does not
have collection replica (noble)
 
+* SOLR-11853: Solr installer fails on SuSE linux (Markus Mandalka via janhoy)
+
 Improvements
 ----------------------
 

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/a1c6e642/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