Installing influxdb on ubuntu-error message

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: InfluxDB OSS 2.6 Documentation

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: InfluxDB OSS 2.6 Documentation

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??

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.

– Unit influxdb.service has finished starting up.

– The start-up result is RESULT.
Aug 13 15:37:05 guitestserver-trunk influxd[46923]: run: parse config: Near line 305 (last key parsed ‘http.https-enabled’): expected value but found “ture” instead
Aug 13 15:37:05 guitestserver-trunk systemd[1]: influxdb.service: Main process exited, code=exited, status=1/FAILURE
Aug 13 15:37:05 guitestserver-trunk systemd[1]: influxdb.service: Failed with result ‘exit-code’.
Aug 13 15:37:05 guitestserver-trunk systemd[1]: influxdb.service: Service hold-off time over, scheduling restart.
Aug 13 15:37:05 guitestserver-trunk systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 5.
– Subject: Automatic restarting of a unit has been scheduled
– Defined-By: systemd