lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martijn Koster (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-7309) bin/solr will not run when the solr home path contains a space
Date Mon, 30 Mar 2015 12:29:53 GMT

    [ https://issues.apache.org/jira/browse/SOLR-7309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14386626#comment-14386626
] 

Martijn Koster commented on SOLR-7309:
--------------------------------------

Looks good -- thanks!

> 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


Mime
View raw message