You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ramkumar Aiyengar (JIRA)" <ji...@apache.org> on 2015/03/27 23:35:53 UTC

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

     [ https://issues.apache.org/jira/browse/SOLR-7309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ramkumar Aiyengar resolved SOLR-7309.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 5.1
                   Trunk

Thanks for reporting, Martijn.

> 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
>            Assignee: Ramkumar Aiyengar
>            Priority: Minor
>             Fix For: Trunk, 5.1
>
>         Attachments: SOLR-7309.patch, SOLR-7309.patch, SOLR-7309.patch
>
>
> 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