[
https://issues.apache.org/jira/browse/SOLR-6646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14181369#comment-14181369
]
Jan Høydahl edited comment on SOLR-6646 at 10/23/14 2:13 PM:
-------------------------------------------------------------
Appears that when starting Solr/Jetty on port 8983, {{lsof -i:8983}} returns a
line with port number in it
{noformat}
java 16571 janhoy 144u IPv4 0x6538b54622fd1f05 0t0 TCP *:8983
(LISTEN)
{noformat}
but when starting on e.g. 8080, it returns this
{noformat}
java 17106 janhoy 144u IPv4 0x6538b54622fdad65 0t0 TCP *:http-alt
(LISTEN)
{noformat}
Therefore the grep in line 901 must go away, as -i itself takes care of
filtering on port.
was (Author: janhoy):
Appears that when starting Solr/Jetty on port 8983, {{lsof -i:8983}} returns a
line with port number in it
{noformat}
java 16571 janhoy 144u IPv4 0x6538b54622fd1f05 0t0 TCP *:8983
(LISTEN)
{noformat}
but when starting on e.g. 8080, it returns this
{noformat}
java 17106 janhoy 144u IPv4 0x6538b54622fdad65 0t0 TCP *:http-alt
(LISTEN)
{noformat}
Therefore the grep in line 901 (trunk:623) must go away, as -i itself takes
care of filtering on port.
> Start script fails to detect solr on non-default port and then after 30s
> tails wrong log file
> ---------------------------------------------------------------------------------------------
>
> Key: SOLR-6646
> URL: https://issues.apache.org/jira/browse/SOLR-6646
> Project: Solr
> Issue Type: Bug
> Components: scripts and tools
> Affects Versions: 4.10.1
> Reporter: Jan Høydahl
>
> When starting solr in the background on non-default port, e.g. {{bin/solr
> start -p 9999}}, Solr comes up but the script does not detect it. Then, after
> 30 seconds, the script tries to tail the log but fails due to hardcoded
> "node1":
> {noformat}
> Waiting to see Solr listening on port 9999 [|] Still not seeing Solr
> listening on 9999 after 30 seconds!
> tail: /Users/janhoy/workspace/lucene_solr_4_10/solr/node1/logs/solr.log: No
> such file or directory
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]