Hi there,
have updated to 1.11.8-1 on CentOS 7.9 (this should be updated soon to RHEL 9).
After update and reboot of the server, I get this error now when starting the service:
Jan 15 09:58:13 monitoring systemd: Starting InfluxDB is an open-source, distributed, time series database...
Jan 15 09:58:13 monitoring influxd-systemd-start.sh: ts=2025-01-15T08:58:13.443705Z lvl=error msg="Unable to open series file" log_id=0u6InfGl000 path=/var/lib/influxdb/data/EM3/_series partition=0 error="open /var/lib/influxdb/data/EM3/_series/00/0000: permission denied"
Jan 15 09:58:13 monitoring influxd-systemd-start.sh: buildtsi: open /var/lib/influxdb/data/EM3/_series/00/0000: permission denied
Jan 15 09:58:13 monitoring influxd-systemd-start.sh: yes: Standardausgabe: Datenübergabe unterbrochen (broken pipe)
Jan 15 09:58:13 monitoring influxd-systemd-start.sh: yes: Schreibfehler
Jan 15 09:58:13 monitoring systemd: influxdb.service: control process exited, code=exited status=1
Jan 15 09:58:13 monitoring systemd: Failed to start InfluxDB is an open-source, distributed, time series database.
Jan 15 09:58:13 monitoring systemd: Unit influxdb.service entered failed state.
Jan 15 09:58:13 monitoring systemd: influxdb.service failed.
But when I do
sudo influxd
influxdb was starting and running without any problems. On the system was not done any config changes, also no new timeseries added, only perform a “yum update”.
ls -la /var/lib/influxdb/data/EM3/_series/00/0000
-rw-r--r-- 1 root root 47 15. Jan 09:41 /var/lib/influxdb/data/EM3/_series/00/0000
This dataset is owned by root. So I would try
chown -R influxdb:influxdb /var/lib/influxdb/data/EM3/_series/00/0000
I’m on the right path?
Thanks for help, Frank