lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Rafalovitch <>
Subject Re: Solr 6.1 Won't Start on Non-bash-Enabled System
Date Wed, 24 Aug 2016 23:31:10 GMT

1. get a VM with openness and bash.
2. Enable +x (echo expanded commands) on the first line of the script where
it specifies bash
3. Run the script with 'tee' or 'transcript' or other output redirect. Use
the full JVM launching command to see full expanded parameter list.

Or get Solr running and look at full process execution string.

Or ask somebody else who has OpenBSD with bash to do same.

Or try editing bash to ksh and see how you far you get, but I suspect not
very far, the conditional formats are different I believe.


On 25 Aug 2016 5:22 AM, "Scott Vanderbilt" <> wrote:

> I'm attempting to upgrade a Solr 4.8.1 instance to 6.1. The host OS is
> OpenBSD 6.0.
> Attempting to start Solr (as in the on-line QuickStart) with:
>   bin/solr start -e cloud -noprompt
> fails with the error "env: bash: No such file or directory". Apparently
> bin/solr is a bash script. The OpenBSD host I'm using doesn't have bash
> installed (and unfortunately, no, I can't install it just for this). The
> default shell is ksh.
> When I try to use the script I previously used to start the 4.8.1 version,
> I get the warnings:
>    WARNING: System properties and/or JVM args set.  Consider using
>      --dry-run or --exec
>    WARNING: Nothing to start, exiting ..."
> The old startup script looks like this:
>    JAVA_HOME=/usr/local/jdk-1.8.0 JAVA=java JETTY_HOME=/var/solr6
>      JETTY_PORT=8983 JETTY_LOGS=/var/solr6/logs
>      /usr/local/jdk-1.8.0/bin/java -Dsolr.solr.home=/var/solr6/solr
>      -Djava.util.logging.config.file=etc/
>      -DSTOP.PORT=8079 -DSTOP.KEY=abc123 -jar /var/solr6/start.jar
>      --daemon &
> If I had to guess, something has changed in the version of jetty included
> with Solr 6.1.0, but I can't figure out what parameters are different.
> Many thanks in advance for any assistance you can offer.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message