You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Raviteja Lokineni (JIRA)" <ji...@apache.org> on 2016/07/14 13:55:20 UTC
[jira] [Commented] (SOLR-7283) solr.cmd might fail if PATH contains
cygwin/git
[ https://issues.apache.org/jira/browse/SOLR-7283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15376954#comment-15376954 ]
Raviteja Lokineni commented on SOLR-7283:
-----------------------------------------
+1 on this issue.
> solr.cmd might fail if PATH contains cygwin/git
> ------------------------------------------------
>
> Key: SOLR-7283
> URL: https://issues.apache.org/jira/browse/SOLR-7283
> Project: Solr
> Issue Type: Bug
> Components: scripts and tools
> Affects Versions: 5.0
> Environment: windows
> Reporter: jmwap
> Priority: Minor
>
> If you have git or cygwin before %windir%\system32 in PATH, the ```find``` invoked in the cmd happens to be cygwin's, and it does not work like window's so solr.cmd fail.
> For me, start works (solr starts, but throwing up errors) but stop always fails:
> {quote}
> C:\Users\user\solr-5.0.0\bin>java -version
> java version "1.8.0"
> Java(TM) SE Runtime Environment (build 1.8.0-b132)
> Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)
> C:\Users\user\solr-5.0.0\bin>solr.cmd start -p 8983
> Missing operand.
> find: :8983 : No such file or directory
> find: TCP : No such file or directory
> Backing up C:\Users\user\solr-5.0.0\server\logs\solr.log
> 1 file(s) moved.
> Starting Solr on port 8983 from C:\Users\user\solr-5.0.0\server
> Direct your Web browser to http://localhost:8983/solr to visit the Solr Admin UI
> C:\Users\user\solr-5.0.0\bin>solr.cmd stop -p 8983
> Missing operand.
> find: TCP : No such file or directory
> find: :8983 : No such file or directory
> No Solr found running on port 8983
> {quote}
--
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