InfluxDB not starting on armbian error code 2

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?

Best regards,

Hi !

I’am having exactly the same problem. Would be happy for any ideas, how to solve.

Hello @Zsolnay_Miklos,

I don’t remember all the details of what I did then. But I ended up replacing the linux kernel, some files in the sd card where corrupted by the power outage. I don’t remember if I reinstalled influx also, but you could try that too.

Best,

Yeah, thanks I guess I will do a complete new system install.