We are running InfluxDB on a computer with the following configuration
Memory :- 32 GB
Disk :- 2 TB SSD
Core : 4
OS - Ubuntu 16.06
Influx version :- 1.3.2
database size :- 5.6 GB
This was working for some time… but after a machine restart , when we try to access the influx via command line(using influx) or via
We are getting the following error
Failed to connect to http://localhost:8086: Get http://localhost:8086/ping: dial tcp 127.0.0.1:8086: getsockopt: connection refused Please check your connection settings and ensure ‘influxd’ is running.
Any idea what is happening. We check and found that service was running , but there is nothing listening on port -8086
Restart and check “/var/log/messages” to find if the service is running or not. Also another test you can do is to use the actual machine IP address http://:8086 instead of localhost. It could be access is restricted (iptables)
There is no folder called /var/log/messages . Also doing a netstat indicates that there is nothing listening at 8086 , we do have influx listening at 8083.
Also sudo systemctl status influxdb returns service as running and ps aux | grep influx shows the influxdb process as running