Couchbase service fails after 2 minutes

I installed couchbase-server-community (6.6) on my Debian based distro. At first I was able to access http://localhost:8091/, but after a restart it wasn’t possible anymore. When I check the status of the couchbase-server.service I get:

couchbase-server.service - Couchbase Server
 Loaded: loaded (/lib/systemd/system/couchbase-server.service; enabled; vendor preset: enabled)
 Active: failed (Result: exit-code) since Tue 2021-05-25 11:31:58 CEST; 1s ago
   Docs: http://docs.couchbase.com
Process: 16412 ExecStart=/opt/couchbase/bin/couchbase-server -- -noinput (code=exited, status=1/FAILURE)
   Main PID: 16412 (code=exited, status=1/FAILURE)
    CPU: 175ms

Mai 25 11:29:48 106431 systemd[1]: Started Couchbase Server.
Mai 25 11:31:58 106431 couchbase[16420]: Protocol 'inet_tcp': register/listen error:
Mai 25 11:31:58 106431 systemd[1]: couchbase-server.service: Main process exited, code=exited, status=1/FAILURE
Mai 25 11:31:58 106431 systemd[1]: couchbase-server.service: Failed with result 'exit-code'.

Hi Leni99,

Did you find a solution to this issue? I am facing same on Ubuntu.

searching out bug database for : noinput (code=exited, status=1/FAILURE)

I find 3 matching issues that might be related:

  1. couchbase was installed as root and then file ownership changed to non-root (and then ran as non-root?). I believe the solution is to re-install using the non-root install procedure.

  2. the issue occurred after a failed update.

  3. “Couchbase restart is not clean after erlang kill” - I understand the solution is to kill the beam.smp process maybe(?)