You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Martijn Koster (JIRA)" <ji...@apache.org> on 2015/03/25 21:16:52 UTC

[jira] [Created] (SOLR-7309) bin/solr will not run when the solr home path contains a space

Martijn Koster created SOLR-7309:
------------------------------------

             Summary: bin/solr will not run when the solr home path contains a space
                 Key: SOLR-7309
                 URL: https://issues.apache.org/jira/browse/SOLR-7309
             Project: Solr
          Issue Type: Bug
          Components: scripts and tools, Server
    Affects Versions: 5.0
            Reporter: Martijn Koster
            Priority: Minor


I thought I spotted some unquoted {{$SOLR_TIP}} references in {{bin/solr}} with 5.0.0, prompting me to test:

{noformat}
$ mv solr-5.0.0 solr-5.0.0-with' space'
$ cd solr-5.0.0-with' space'
$ ./bin/solr -f
./bin/solr: line 1161: [: too many arguments
./bin/solr: line 1187: [: /Users/mak/Downloads/solr-5.0.0-with: binary operator expected
./bin/solr: line 1194: [: /Users/mak/Downloads/solr-5.0.0-with: binary operator expected
./bin/solr: line 1327: cd: /Users/mak/Downloads/solr-5.0.0-with: No such file or directory

Starting Solr on port 8983 from /Users/mak/Downloads/solr-5.0.0-with space/server

Error: Could not find or load main class space.server.logs.solr_gc.log
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org