Installing influxdb on ubuntu-error message

influxdb

#1

I’m installing influxdb on linux and I’m getting this error after running
$sudo systemctl status influxdb
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 2019-01-03 16:04:24 IST; 7min ago

Docs: https://docs.influxdata.com/influxdb/

Process: 3596 ExecStart=/usr/bin/influxd -config /etc/influxdb/influxdb.conf $INFLUXD_OPTS (code=exited, status=1/FAILURE)

Main PID: 3596 (code=exited, status=1/FAILURE)

Jan 03 16:04:23 noam-AHV systemd[1]: influxdb.service: Failed with result ‘exit-code’.

Jan 03 16:04:24 noam-AHV systemd[1]: influxdb.service: Service hold-off time over, scheduling restart.

Jan 03 16:04:24 noam-AHV systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 5.

Jan 03 16:04:24 noam-AHV systemd[1]: Stopped InfluxDB is an open-source, distributed, time series database.

Jan 03 16:04:24 noam-AHV systemd[1]: influxdb.service: Start request repeated too quickly.

Jan 03 16:04:24 noam-AHV systemd[1]: influxdb.service: Failed with result ‘exit-code’.

Jan 03 16:04:24 noam-AHV systemd[1]: Failed to start InfluxDB is an open-source, distributed, time series database.

noam@noam-AHV:/var/log$ sudo systemctl status influxdb

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 2019-01-03 16:04:24 IST; 11min ago

Docs: https://docs.influxdata.com/influxdb/

Process: 3596 ExecStart=/usr/bin/influxd -config /etc/influxdb/influxdb.conf $INFLUXD_OPTS (code=exited, status=1/FAILURE)

Main PID: 3596 (code=exited, status=1/FAILURE)

any ideas??


#2

Hi,

Can you post the contents of /etc/influxdb/influxdb.conf?

I believe there will be an error within your configuration that causes influxd to fail when starting.

You can also fetch the logs with journalctl -xe -u influxdb, which will hopefully provide more information.