Details
-
Bug
-
Resolution: Known Error
-
Minor
-
None
-
None
-
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.