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ā¦