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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.10.1
    • 4.10.2, 5.0, 6.0
    • scripts and tools
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment