Hi,
We're installing and starting Kibana, using the instructions here :-
https://www.elastic.co/guide/en/kibana/current/deb.html#deb-repo
However, it refuses to start as the kibana user. I would have expected this just to work.
It's using the systemd startup method, but will not start. I can't see why but I think it's a permissions problem with the kibana user. If I start as root, it runs fine. The kibana user doesn't have a shell even.
Interstingly in the syslog, it just start and stops continuously.
Mar 16 09:44:06 ukselastic0 systemd[1]: Stopped Kibana.
Mar 16 09:44:06 ukselastic0 systemd[1]: Started Kibana.
Mar 16 09:44:09 ukselastic0 systemd[1]: kibana.service: Main process exited, code=exited, status=1/FAILURE
Mar 16 09:44:09 ukselastic0 systemd[1]: kibana.service: Unit entered failed state.
Mar 16 09:44:09 ukselastic0 systemd[1]: kibana.service: Failed with result 'exit-code'.
Mar 16 09:44:09 ukselastic0 systemd[1]: kibana.service: Service hold-off time over, scheduling restart.
Mar 16 09:44:09 ukselastic0 systemd[1]: Stopped Kibana.
Mar 16 09:44:09 ukselastic0 systemd[1]: Started Kibana.
Mar 16 09:44:11 ukselastic0 systemd[1]: kibana.service: Main process exited, code=exited, status=1/FAILURE
Mar 16 09:44:11 ukselastic0 systemd[1]: kibana.service: Unit entered failed state.
Mar 16 09:44:11 ukselastic0 systemd[1]: kibana.service: Failed with result 'exit-code'.
Mar 16 09:44:11 ukselastic0 systemd[1]: kibana.service: Service hold-off time over, scheduling restart.
Mar 16 09:44:11 ukselastic0 systemd[1]: Stopped Kibana.
Mar 16 09:44:11 ukselastic0 systemd[1]: Started Kibana.
Mar 16 09:44:14 ukselastic0 systemd[1]: kibana.service: Main process exited, code=exited, status=1/FAILURE
Mar 16 09:44:14 ukselastic0 systemd[1]: kibana.service: Unit entered failed state.
Mar 16 09:44:14 ukselastic0 systemd[1]: kibana.service: Failed with result 'exit-code'.
Mar 16 09:44:14 ukselastic0 systemd[1]: kibana.service: Service hold-off time over, scheduling restart.
Mar 16 09:44:14 ukselastic0 systemd[1]: Stopped Kibana.
I notice the kibana user doesn't have a shell or a home directory, but even setting these up and trying to start kibana on the command line, just fails silently with a RC=1.
This is the LAST THING I need to get a fully automated Terraform build of Elastic, it's been quite a long slog.
Thanks for your help.