Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-6646

Start script fails to detect solr on non-default port and then after 30s tails wrong log file

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.10.1
    • Fix Version/s: 4.10.2, 5.0, 6.0
    • Component/s: scripts and tools
    • Labels:
      None

      Description

      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":

      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
      

        Attachments

          Activity

            People

            • Assignee:
              janhoy Jan Høydahl
              Reporter:
              janhoy Jan Høydahl
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: