lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (JIRA) <j...@apache.org>
Subject [jira] [Commented] (SOLR-6928) solr.cmd stop works only in english
Date Wed, 21 Jan 2015 13:59:35 GMT

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

Jan Høydahl commented on SOLR-6928:
-----------------------------------

Ok, this should do it:
{code}
netstat -nao | find /i "TCP" | find /i ":8983"
{code}

One related edit is that the find command should look for ":8983 " (with a space after the
port number) to avoid matching other ports, e.g. the following stop command would select two
lines in netstat output since :1234 will also match :12345

{code}
solr start -p 1234
solr start -p 12345
solr stop -p 1234
{code}


> solr.cmd stop works only in english
> -----------------------------------
>
>                 Key: SOLR-6928
>                 URL: https://issues.apache.org/jira/browse/SOLR-6928
>             Project: Solr
>          Issue Type: Bug
>          Components: scripts and tools
>    Affects Versions: 4.10.3
>         Environment: german windows 7
>            Reporter: john.work
>            Priority: Minor
>
> in solr.cmd the stop doesnt work while executing 'netstat -nao ^| find /i "listening"
^| find ":%SOLR_PORT%"' so "listening" is not found.
> e.g. in german cmd.exe the netstat -nao prints the following output:
> {noformat}
>   Proto  Lokale Adresse         Remoteadresse          Status           PID
>   TCP    0.0.0.0:80             0.0.0.0:0              ABHÖREN         4
> {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