Sorry, but i am really frustrated to the influxdb. Influxdb might be fast but - in my opinion - very unstable
A couple of weeks ago i have a installed a RasPI 3B+ (with Debian Bullseye) with Node-Red, mySQL, Mosquitto and Influxdb 1.8 completely fresh. The reason to the fresh install was a not starting influxdb!
After a reboot i cross my fingers when influxdb is running afterwards again.
Now the same again: After the last reboot, the service is not starting anymore - no i do that not very often. mySQL e.g. and all other stuff works fine.
What’s going on here? I would appreciate a support
When i read the it gets a ECONNREFUSED - but why?
I have nothing changed?!
pi@raspberrypi:/ $ sudo systemctl start influxdb.service
Job for influxdb.service failed because a timeout was exceeded.
See “systemctl status influxdb.service” and “journalctl -xe” for details.
pi@raspberrypi:/ $ systemctl status influxdb.service
● influxdb.service - InfluxDB is an open-source, distributed, time series database
Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled)
Active: activating (start) since Tue 2022-11-01 17:47:29 CET; 1min 19s ago
Docs: InfluxDB OSS 2.6 Documentation
Cntrl PID: 12519 (influxd-systemd)
Tasks: 2 (limit: 1596)
CPU: 6.651s
CGroup: /system.slice/influxdb.service
├─12519 /bin/bash -e /usr/lib/influxdb/scripts/influxd-systemd-start.sh
└─12812 sleep 1
Nov 01 17:48:41 raspberrypi influxd-systemd-start.sh[12519]: InfluxDB API unavailable after 65 attempts…
Nov 01 17:48:41 raspberrypi influxd-systemd-start.sh[12519]: InfluxDB API unavailable after 66 attempts…
Nov 01 17:48:41 raspberrypi influxd-systemd-start.sh[12519]: InfluxDB API unavailable after 67 attempts…
Nov 01 17:48:41 raspberrypi influxd-systemd-start.sh[12519]: InfluxDB API unavailable after 68 attempts…
Nov 01 17:48:42 raspberrypi influxd-systemd-start.sh[12519]: InfluxDB API unavailable after 69 attempts…
Nov 01 17:48:44 raspberrypi influxd-systemd-start.sh[12519]: InfluxDB API unavailable after 70 attempts…
Nov 01 17:48:45 raspberrypi influxd-systemd-start.sh[12519]: InfluxDB API unavailable after 71 attempts…
Nov 01 17:48:46 raspberrypi influxd-systemd-start.sh[12519]: InfluxDB API unavailable after 72 attempts…
Nov 01 17:48:47 raspberrypi influxd-systemd-start.sh[12519]: InfluxDB API unavailable after 73 attempts…
Nov 01 17:48:48 raspberrypi influxd-systemd-start.sh[12519]: InfluxDB API unavailable after 74 attempts…
pi@raspberrypi:/ $ journalctl -xe
Nov 01 17:50:44 raspberrypi Node-RED[395]: port: 8086
Nov 01 17:50:44 raspberrypi Node-RED[395]: }
Nov 01 17:50:45 raspberrypi Node-RED[395]: WARN: Write to InfluxDB failed (attempt: 4). Error: connect ECONNREFUSED 127.0.0.1:8086
Nov 01 17:50:45 raspberrypi Node-RED[395]: at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16) {
Nov 01 17:50:45 raspberrypi Node-RED[395]: errno: -111,
Nov 01 17:50:45 raspberrypi Node-RED[395]: code: ‘ECONNREFUSED’,
Nov 01 17:50:45 raspberrypi Node-RED[395]: syscall: ‘connect’,
Nov 01 17:50:45 raspberrypi Node-RED[395]: address: ‘127.0.0.1’,
Nov 01 17:50:45 raspberrypi Node-RED[395]: port: 8086
Nov 01 17:50:45 raspberrypi Node-RED[395]: }
Nov 01 17:50:45 raspberrypi influxd-systemd-start.sh[13178]: InfluxDB API unavailable after 15 attempts…
Nov 01 17:50:46 raspberrypi Node-RED[395]: WARN: Write to InfluxDB failed (attempt: 2). Error: connect ECONNREFUSED 127.0.0.1:8086
Nov 01 17:50:46 raspberrypi Node-RED[395]: at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16) {
Nov 01 17:50:46 raspberrypi Node-RED[395]: errno: -111,
Nov 01 17:50:46 raspberrypi Node-RED[395]: code: ‘ECONNREFUSED’,
Nov 01 17:50:46 raspberrypi Node-RED[395]: syscall: ‘connect’,
Nov 01 17:50:46 raspberrypi Node-RED[395]: address: ‘127.0.0.1’,
Nov 01 17:50:46 raspberrypi Node-RED[395]: port: 8086
Nov 01 17:50:46 raspberrypi Node-RED[395]: }
Nov 01 17:50:46 raspberrypi influxd-systemd-start.sh[13178]: InfluxDB API unavailable after 16 attempts…
Nov 01 17:50:47 raspberrypi influxd-systemd-start.sh[13178]: InfluxDB API unavailable after 17 attempts…
Nov 01 17:50:48 raspberrypi influxd-systemd-start.sh[13178]: InfluxDB API unavailable after 18 attempts…
Nov 01 17:50:50 raspberrypi influxd-systemd-start.sh[13178]: InfluxDB API unavailable after 19 attempts…
Nov 01 17:50:51 raspberrypi influxd-systemd-start.sh[13178]: InfluxDB API unavailable after 20 attempts…