I am a started with influxdb I am trying to make it work but the service is down it was working couple min and then I restarted it and it is not working anymore can you help me please
Hi welcome ,
it is on linux ?
what is the output of :
systemctl status influxd
do you have errors in
journalctl -u influxdb
[root@ncias-d2060-v ~]# influx
Failed to connect to http://localhost:8086: Get http://localhost:8086/ping: dial tcp 127.0.0.1:8086: connect: connection refused
Please check your connection settings and ensure ‘influxd’ is running.
the output of vi /etc/influxdb/influxdb.conf
[http]
auth-enabled = true
bind-address = “:8086”
log-enabled = true
write-tracing = false
pprof-enabled = false
~
Hi , can you show the first 10 lines of the systemctl status influxd command ?
and an ls -al /etc/influxdb/influxdb.conf
maybe someone has changed the permissions on the /etc/influxdb/influxdb.conf file ?
Actually I just installed the influxdb 1.7.5 it was looking like working and then I restarted the service to see what will happen and then it seems like it is not able to restart it
Is there an influxd process running ?
Ps -ef | grep - i influxd
[root@ncias-d2060-v ~]# ps -ef | grep influxd
root 31724 31658 0 12:14 pts/0 00:00:00 grep --color=auto influxd
Can you try to start it without using the service like : influxd
This may give some more detailed errors
Can you please elaborate further on how to start it without using influxd?
I meant without using systemctl , can you try to start it using the command influxd ?
[aatchuiselg@ncias-d2060-v ~]$ influxd
run: Meta.Dir must be specified. To generate a valid configuration file run influxd config > influxdb.generated.conf
Your configfile seems to be the problem ,
Do you still have a previous valid version of it ?
I don’t think so because I just installed that version
What do you advise me to do in other to fix it? should I uninstall and reinstall it from scratch?
You can do the following :
influxd config > influxdb.generated.conf
Modify that file if needed and copy it to /etc/influxd/influxdb.conf
Or
influxd config > /etc/influxd/influxdb.conf
Sorry T ,
There was a typo in my command , it must
be
influxd config > /etc/influxdb/influxdb.conf
And then
systemctl restart influxd