You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the default /usr/lib/systemd/system/influxdb.service file, provided by you.
Failing to start InfluxDB!
Expected behavior:
Influxdb starting without errors and write the socket file.
Actual behavior:
Ubuntu Server 24.04 prohibits the writing of the socket file (/var/run/influxdb/influxdb.sock) to disk, because you didn't allow the systemd service file write access to the /var/run/influxdb directory..... See fix below!
InfluxDB unable to start in Ubuntu 24.04, because the service file is unable to write the socket file to /var/run/influxdb directory.
Fix:
The fix is easy, please extend your official influxdb.service in your Ubuntu packages with the following:
Nov 28 17:59:21 ubuntu-server influxd-systemd-start.sh[41891]: InfluxDB API unavailable after 1 attempts...
Nov 28 17:59:22 ubuntu-server influxd-systemd-start.sh[41891]: InfluxDB API unavailable after 2 attempts...
Nov 28 17:59:23 ubuntu-server influxd-systemd-start.sh[41891]: InfluxDB API unavailable after 3 attempts...
Nov 28 17:59:24 ubuntu-server influxd-systemd-start.sh[41891]: InfluxDB API unavailable after 4 attempts...
Nov 28 17:59:25 ubuntu-server influxd-systemd-start.sh[41891]: InfluxDB API unavailable after 5 attempts...
Nov 28 17:59:25 ubuntu-server influxd-systemd-start.sh[41891]: InfluxDB API unavailable after 6 attempts...
Nov 28 17:59:25 ubuntu-server influxd-systemd-start.sh[41891]: InfluxDB API unavailable after 7 attempts...
Nov 28 17:59:25 ubuntu-server influxd-systemd-start.sh[41891]: InfluxDB API unavailable after 8 attempts...
Nov 28 17:59:25 ubuntu-server influxd-systemd-start.sh[41891]: InfluxDB API unavailable after 9 attempts...
Nov 28 17:59:25 ubuntu-server influxd-systemd-start.sh[41891]: InfluxDB API unavailable after 10 attempts...
Nov 28 17:59:25 ubuntu-server influxd-systemd-start.sh[41891]: InfluxDB API unavailable after 11 attempts...
Nov 28 17:59:25 ubuntu-server influxd-systemd-start.sh[41891]: InfluxDB API unavailable after 12 attempts...
Nov 28 17:59:25 ubuntu-server influxd-systemd-start.sh[41891]: InfluxDB API unavailable after 13 attempts..
.. Well.. it won't never start..
The text was updated successfully, but these errors were encountered:
Steps to reproduce:
influxdb.conf
and enable unix socket:/usr/lib/systemd/system/influxdb.service
file, provided by you.Expected behavior:
Influxdb starting without errors and write the socket file.
Actual behavior:
Ubuntu Server 24.04 prohibits the writing of the socket file (
/var/run/influxdb/influxdb.sock
) to disk, because you didn't allow the systemd service file write access to the/var/run/influxdb
directory..... See fix below!InfluxDB unable to start in Ubuntu 24.04, because the service file is unable to write the socket file to
/var/run/influxdb
directory.Fix:
The fix is easy, please extend your official
influxdb.service
in your Ubuntu packages with the following:Config:
Copy any non-default config values here or attach the full config as a gist or file.
Logs:
The text was updated successfully, but these errors were encountered: