While couchbase restart failng with "ExecStop=/opt/couchbase/bin/couchbase-server -k (code=killed, signal=TERM)"


#1

Hi

While couchbase server restart, its failing with below error

[root@mwhlvcme10 ~]# service couchbase-server start
Starting couchbase-server (via systemctl): Job for couchbase-server.service failed because a timeout was exceeded. See “systemctl status couchbase-server.service” and “journalctl -xe” for details.
[FAILED

[root@mwhlvcme10 ~]# systemctl status couchbase-server.service
● couchbase-server.service - Couchbase Server
Loaded: loaded (/usr/lib/systemd/system/couchbase-server.service; enabled; vendor preset: disabled)
Active: failed (Result: timeout) since Sat 2018-06-09 00:45:42 CDT; 2min 23s ago
Docs: http://docs.couchbase.com
Process: 27761 ExecStop=/opt/couchbase/bin/couchbase-server -k (code=killed, signal=TERM)
Process: 32289 ExecStart=/opt/couchbase/bin/couchbase-server – -noinput -detached (code=exited, status=0/SUCCESS)
Main PID: 26953 (code=killed, signal=TERM)

Jun 09 00:44:12 mwhlvcme10 systemd[1]: Starting Couchbase Server…
Jun 09 00:44:13 mwhlvcme10 systemd[1]: PID file /opt/couchbase/var/lib/couchbase/couchbase-server.pid not readable (yet?) after start.
Jun 09 00:45:42 mwhlvcme10 systemd[1]: couchbase-server.service start operation timed out. Terminating.
Jun 09 00:45:42 mwhlvcme10 systemd[1]: Failed to start Couchbase Server.
Jun 09 00:45:42 mwhlvcme10 systemd[1]: Unit couchbase-server.service entered failed state.
Jun 09 00:45:42 mwhlvcme10 systemd[1]: couchbase-server.service failed.

I am unable to find why below is failng
Process: 27761 ExecStop=/opt/couchbase/bin/couchbase-server -k (code=killed, signal=TERM)

Please let me know what to check to find root cause


#2

above error can be closed. space was exhausted where couchbase was installed hence it was unable to create /opt/couchbase/var/lib/couchbase/couchbase-server.pid