After reboot the server, all databases lost

#1

After I reboot the server, none of the databases was found. when I check the status, it shows:

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 Fri 2019-04-12 10:56:06 HKT; 10s ago
Docs: man:influxd(1)
Process: 16250 ExecStart=/usr/bin/influxd -config /etc/influxdb/influxdb.conf $INFLUXD_OPTS (code=exited, status=1/FAILURE)
Main PID: 16250 (code=exited, status=1/FAILURE)

Apr 12 10:56:06 superdebian systemd[1]: influxdb.service: Unit entered failed state.
Apr 12 10:56:06 superdebian systemd[1]: influxdb.service: Failed with result ‘exit-code’.
Apr 12 10:56:06 superdebian systemd[1]: influxdb.service: Service hold-off time over, scheduling restart.
Apr 12 10:56:06 superdebian systemd[1]: Stopped InfluxDB is an open-source, distributed, time series database.
Apr 12 10:56:06 superdebian systemd[1]: influxdb.service: Start request repeated too quickly.
Apr 12 10:56:06 superdebian systemd[1]: Failed to start InfluxDB is an open-source, distributed, time series database.
Apr 12 10:56:06 superdebian systemd[1]: influxdb.service: Unit entered failed state.
Apr 12 10:56:06 superdebian systemd[1]: influxdb.service: Failed with result ‘exit-code’.

Is there anyway to recover it?

0 Likes

#2

Hi @rexmak2382 ,welcome,
do you see errors in

journalctl -u influxdb 

What is the output of

influxd config | grep -i dir

And

ls -al /etc/influxdb/influxdb.conf
0 Likes

#3

Apr 09 14:28:46 superdebian systemd[1]: Started InfluxDB is an open-source, distributed, time series database.
Apr 09 14:28:46 superdebian influxd[662]: ts=2019-04-09T06:28:46.505728Z lvl=info msg=“InfluxDB starting” log_id=0EhCP7AG000 version=1.6.4 branch=unknown commit=unknown
Apr 09 14:28:46 superdebian influxd[662]: ts=2019-04-09T06:28:46.505752Z lvl=info msg=“Go runtime” log_id=0EhCP7AG000 version=go1.10.4 maxprocs=12
Apr 09 14:28:46 superdebian systemd[1]: influxdb.service: Main process exited, code=exited, status=1/FAILURE
Apr 09 14:28:46 superdebian systemd[1]: influxdb.service: Unit entered failed state.
Apr 09 14:28:46 superdebian systemd[1]: influxdb.service: Failed with result ‘exit-code’.
Apr 09 14:28:46 superdebian systemd[1]: influxdb.service: Service hold-off time over, scheduling restart.
Apr 09 14:28:46 superdebian systemd[1]: Stopped InfluxDB is an open-source, distributed, time series database.
Apr 09 14:28:46 superdebian systemd[1]: Started InfluxDB is an open-source, distributed, time series database.
Apr 09 14:28:46 superdebian influxd[766]: ts=2019-04-09T06:28:46.800667Z lvl=info msg=“InfluxDB starting” log_id=0EhCP8K0000 version=1.6.4 branch=unknown commit=unknown
Apr 09 14:28:46 superdebian influxd[766]: ts=2019-04-09T06:28:46.800703Z lvl=info msg=“Go runtime” log_id=0EhCP8K0000 version=go1.10.4 maxprocs=12
Apr 09 14:28:46 superdebian systemd[1]: influxdb.service: Main process exited, code=exited, status=1/FAILURE
Apr 09 14:28:46 superdebian systemd[1]: influxdb.service: Unit entered failed state.
Apr 09 14:28:46 superdebian systemd[1]: influxdb.service: Failed with result ‘exit-code’.
Apr 09 14:28:47 superdebian systemd[1]: influxdb.service: Service hold-off time over, scheduling restart.
Apr 09 14:28:47 superdebian systemd[1]: Stopped InfluxDB is an open-source, distributed, time series database.

0 Likes

#4

Hi @rexmak2382 ,

and

influxd config | grep -i dir

ls -al /etc/influxdb/influxdb.conf

0 Likes