after updating to influxdb 1.8.9 i am no longer able to start influxdb with systemd correctly, systemctl start influxd leads to an error. I have this issue on multiple hosts.
[root@infdb01 influxdb]# systemctl start influxd
Job for influxdb.service failed because the control process exited with error code.
See “systemctl status influxdb.service” and “journalctl -xe” for details.
with journalctl -xe i can see:
influxd-systemd-start.sh: Failed to reach influxdb https endpoint at https://localhost:8086/health
systemd: influxdb.service: Control process exited, code=exited status=1
influxd-systemd-start.sh: ts=2021-08-19T16:51:13.096993Z lvl=info msg=“Signal received, initializing clean shutdown…” log_id=0W3q0Vk0000
influxd-systemd-start.sh: ts=2021-08-19T16:51:13.097018Z lvl=info msg=“Waiting for clean shutdown…” log_id=0W3q0Vk0000
influxd-systemd-start.sh: [tcp] 2021/08/19 18:51:13 tcp.Mux: Listener at 127.0.0.1:8088 failed failed to accept a connection, closing all listeners >
influxd-systemd-start.sh: ts=2021-08-19T16:51:13.097154Z lvl=info msg=“Shutting down monitor service” log_id=0W3q0Vk0000 service=monitor
After this, influxd is still running but only serve opentsdb on port :4242 and all other ports are closed.
Starting influxdb by hand by switching to user influxdb an type “influxd --config /etc/influxdb/influxdb.conf” works, all ports open and influxdb working as expected.
Any idea what is causing this? its really annoying to start influxdb by hand after every system update.