Trying to install Telegraf + Influxdb on rpi - Service failed to start

Hello everyone!

I’m having lots of difficulties to start both Telegraf and Influxdb services.

I’m using

sudo systemctl enable influxdb
sudo systemctl start influxdb

sudo systemctl enable telegraf
sudo systemctl start telegraf

and when i use

sudo systemctl status influxdb

i get

root@raspberrypi:/home/pi# systemctl status influxdb
● influxdb.service - InfluxDB is an open-source, distributed, time se
Loaded: loaded (/home/pi/influxdb-1.7.6-1/usr/lib/influxdb/scripts
Active: failed (Result: exit-code) since Sat 2019-06-15 21:48:45 B
Docs:
Process: 1645 ExecStart=/usr/bin/influxd -config /etc/influxdb/infl
Main PID: 1645 (code=exited, status=203/EXEC)

Jun 15 21:48:45 raspberrypi systemd[1]: influxdb.service: Failed with
Jun 15 21:48:45 raspberrypi systemd[1]: influxdb.service: Service hol
Jun 15 21:48:45 raspberrypi systemd[1]: Stopped InfluxDB is an open-s
Jun 15 21:48:45 raspberrypi systemd[1]: influxdb.service: Start reque
Jun 15 21:48:45 raspberrypi systemd[1]: Failed to start InfluxDB is a
Jun 15 21:48:45 raspberrypi systemd[1]: influxdb.service: Unit entere
Jun 15 21:48:45 raspberrypi systemd[1]: influxdb.service: Failed with
Jun 15 21:48:48 raspberrypi systemd[1]: influxdb.service: Start reque
Jun 15 21:48:48 raspberrypi systemd[1]: Failed to start InfluxDB is a
Jun 15 21:48:48 raspberrypi systemd[1]: influxdb.service: Failed with
lines 1-17/17 (END)

I also tried journalctl -xe and i get

Jun 15 21:48:45 raspberrypi systemd[1]: influxdb.service: Unit entere
Jun 15 21:48:45 raspberrypi systemd[1]: influxdb.service: Failed with
Jun 15 21:48:45 raspberrypi systemd[1]: influxdb.service: Service hol
Jun 15 21:48:45 raspberrypi systemd[1]: Stopped InfluxDB is an open-s
– Subject: Unit influxdb.service has finished shutting down
– Defined-By: systemd
– Support:

– Unit influxdb.service has finished shutting down.
Jun 15 21:48:45 raspberrypi systemd[1]: influxdb.service: Start reque
Jun 15 21:48:45 raspberrypi systemd[1]: Failed to start InfluxDB is a
– Subject: Unit influxdb.service has failed
– Defined-By: systemd
– Support: Debian -- User Support

– Unit influxdb.service has failed.

– The result is failed.
Jun 15 21:48:45 raspberrypi systemd[1]: influxdb.service: Unit entere
Jun 15 21:48:45 raspberrypi systemd[1]: influxdb.service: Failed with
Jun 15 21:48:48 raspberrypi systemd[1]: influxdb.service: Start reque
Jun 15 21:48:48 raspberrypi systemd[1]: Failed to start InfluxDB is a
– Subject: Unit influxdb.service has failed
– Defined-By: systemd
– Support: Debian -- User Support

– Unit influxdb.service has failed.

– The result is failed.

Can anyone help me? I’ve tried to start the services for 2 days now…

Hi @RubyRhod , welcome !

What are the steps you followed for the installation ?
Do you see the file : /etc/influxdb/influxdb.config ?
Can you start influxdb from the prompt without using systemctl ?

Best regards