Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-53800

Couchbase server runs on same port as Logitech GHub: error's unclear to debug

    XMLWordPrintable

Details

    • Bug
    • Resolution: Known Error
    • Minor
    • None
    • None
    • secondary-index
    • Untriaged
    • MacOSX 64-bit
    • 1
    • No

    Description

      Problem
      Unable to create indexes in the Couchbase Server U:

      [
        \{
          "code": 5000,
          "msg": "GSI CreatePrimaryIndex() - cause: Index creation for index #primary, bucket beer-sample, scope _default, collection _default cannot start. Reason: Fails to create index.  There is no available index service that can process this request at this time. Index Service can be in bootstrap, recovery, or non-reachable. Please retry the operation at a later time..",
          "query": "CREATE PRIMARY INDEX ON `beer-sample`"
        }
      ]
      

      Turned out that the indexer could not blind to the port:

      2022-09-20T16:56:45.877+01:00 [Error] EmbeddedServer.boostrap: error : Server Error : Fail to start PeerListener. err = %v : listen tcp4 :9100: bind: address already in use
      

      If logitech GHub is installed it listens on the same port as the indexer:

      sudo lsof -i -P -n | grep LISTEN | grep :9100
      lghub_upd 76409           root    9u  IPv4 0x574803ae8b0aef81      0t0    TCP 127.0.0.1:9100 (LISTEN)
      

      Uninstall of the program fixed the issue.

      Expectation

      For these to be an error in the UI saying the index service is not online and explaining it could not blind to the port.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            amit.kulkarni Amit Kulkarni
            tom.tonner Tom Tonner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty