Hi all,
I have just done a fresh install of InfluxDB on a 8Gb RasPi4.
When I get to the sudo systemctl start influxdb after the unmasking influxdb I get this error:
Job for influxdb.service failed because the control process exited with error code.
See "systemctl status influxdb.service" and "journalctl -xe" for details.
When I run systemctl status influxdb.service this is the output:
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 Tue 2021-08-03 14:28:28 SAST; 3min 18s ago
Docs: https://docs.influxdata.com/influxdb/
Process: 2884 ExecStart=/usr/lib/influxdb/scripts/influxd-systemd-start.sh (code=exited, status=203/EXEC)
Aug 03 14:28:28 MQTT-Server systemd[1]: influxdb.service: Service RestartSec=100ms expired, scheduling restart.
Aug 03 14:28:28 MQTT-Server systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 5.
Aug 03 14:28:28 MQTT-Server systemd[1]: Stopped InfluxDB is an open-source, distributed, time series database.
Aug 03 14:28:28 MQTT-Server systemd[1]: influxdb.service: Start request repeated too quickly.
Aug 03 14:28:28 MQTT-Server systemd[1]: influxdb.service: Failed with result 'exit-code'.
Aug 03 14:28:28 MQTT-Server systemd[1]: Failed to start InfluxDB is an open-source, distributed, time series database.
I’m stuck and don’t know where to go from here - any help would be greatly appreciated.
Thanks in advance
I had InfluxDB running on my Pi for ages, but I tried to upgrade to 2.0 and didn’t read the beginning… I didn’t have a 64-bit OS on my Pi. Nonetheless, I got to a point where I got an error (same error as above) - I then read back and saw my problem with not having the 64-bit OS.
I got the same issue that I got above with the 2.0 install. So I decided to do a complete fresh install… Followed the above tutorial and was surprised when I got the same issue on a fresh install…
This will be tomorrow mission
Just so I know for tomorrow - I should be able to do the install as per normal (using either tutorial?) and when I run into the error, I should just be able to follow the reddit post?
I guess what I’m asking is, the progress I got into the install process was basically the end of the installation? The reddit post should take me all the way?
Ran this sudo systemctl start influxdb to finish the install tutorial got the same error:
Job for influxdb.service failed because the control process exited with error code.
See "systemctl status influxdb.service" and "journalctl -xe" for details.
Ran the command sudo chown -R influxdb:influxdb /usr/lib/influxdb from the reddit post.
Retried sudo systemctl start influxdb and got no error
InfluxDB is back up and running!! Woooohooo!!
Thank you very much for pointing me in the right direction @Anaisdg