I had power outage at home and after restarting the system (a Pine64 running armbian and OpenHab) I can’t run InfluxDB.
sudo systemctl status influxdb reports:
influxdb.service - InfluxDB is an open-source, distributed, time series database Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Thu 2020-12-31 00:51:29 UTC; 1s ago Docs: https://docs.influxdata.com/influxdb/ Process: 3366 ExecStart=/usr/bin/influxd -config /etc/influxdb/influxdb.conf $INFLUXD_OPTS (code=exited, status=2) Main PID: 3366 (code=exited, status=2)
I would assume that the outage may have corrupted the contents of
/etc/influxdb/influxdb.conf or some other conf file. I inspected my influxdb.conf file but found nothing evidently wrong.
Any ideas on how I should go about debugging this? Should I post the conf file here?