刚刚在InfluxDB v.1.1.0上安装了CentOS,但是当我尝试启动服务时,它会抱怨端口8088已经被另一个应用程序使用了:
[run] 2016/11/28 13:50:54 InfluxDB starting, version 1.1.0, branch master, commit 800da5732b91c816b0a097acf8887fa2af1efa1a
[run] 2016/11/28 13:50:54 Go version go1.7.3, GOMAXPROCS set to 4
[run] 2016/11/28 13:50:54 Using configuration at: /etc/influxdb/influxdb.conf
run: open server: listen: listen tcp :8088: bind: address already in use这个端口是在哪里配置的,我如何更改它?在/etc/influxdb/influxdb.conf中没有提到这一点。
发布于 2016-11-28 12:48:50
在吉特布找到了六二六六。
运行influxd config | head -n 10将为您提供配置。
在bind-address = ":<port>"文件的顶部添加/etc/influxdb/influxdb.conf可以解决这个问题。
发布于 2018-04-05 18:18:35
在我的例子中,我试着启动两次:
/bin/systemctl start influxdb
influxd -config /etc/influxdb/influxdb.conf第一个是不必要的。只需使用influxd -config /etc/influxdb/influxdb.conf
https://stackoverflow.com/questions/40844762
复制相似问题