Skip to content

Apache Lucene open-source search software

SOLR-11853: Solr installer fails on SuSE linux

Jan Høydahla1c6e642aad9
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index d165e636dee..4ba275c1725 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
----------------------
diff --git a/solr/bin/install_solr_service.sh b/solr/bin/install_solr_service.sh
index 033b3834e4f..6cfb6a578e3 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"