influxdb icon indicating copy to clipboard operation
influxdb copied to clipboard

[0.9.4]upgrade to influxdb 0.9.4 has no http port open

Open huhongbo opened this issue 11 years ago • 13 comments

cents 7.1 influxdb upgrade from 0.9.3 and the systemctl status influxdb show store statistics always say timeout Sep 15 10:25:36 test influxd[39674]: [monitor] 2015/09/15 10:25:36 failed to store statistics: timeout Sep 15 10:25:46 test influxd[39674]: [monitor] 2015/09/15 10:25:46 failed to store statistics: timeout Sep 15 10:25:56 test influxd[39674]: [monitor] 2015/09/15 10:25:56 failed to store statistics: timeout Sep 15 10:26:06 test influxd[39674]: [monitor] 2015/09/15 10:26:06 failed to store statistics: timeout I find there is no http 8086 open

huhongbo avatar Sep 15 '15 02:09 huhongbo

fresh install works fine

huhongbo avatar Sep 15 '15 02:09 huhongbo

@mjdesa can you repro the issue with CentOS and 0.9.3 to 0.9.4 upgrade?

beckettsean avatar Sep 15 '15 21:09 beckettsean

@rkuchan

desa avatar Sep 15 '15 21:09 desa

Thanks, @huhongbo. The same thing happens to me. After upgrading to 0.9.4, I get:

[root@testingcentos ~]# /opt/influxdb/influx
Connected to http://localhost:8086 version
InfluxDB shell 0.9.4
> show databases
ERR: Get http://localhost:8086/query?db=&q=show+databases: dial tcp [::1]:8086: getsockopt: connection refused
> show series
ERR: Get http://localhost:8086/query?db=&q=show+series: dial tcp [::1]:8086: getsockopt: connection refused

rkuchan avatar Sep 16 '15 00:09 rkuchan

@otoolep

rkuchan avatar Sep 16 '15 00:09 rkuchan

Can you ping me tomorrow, and I'll take a look at your system.

otoolep avatar Sep 16 '15 03:09 otoolep

@otoolep the test server @rkuchan used is on DO: https://cloud.digitalocean.com/droplets/7430710 (45.55.28.147). Let me know if you want help accessing it.

beckettsean avatar Sep 16 '15 21:09 beckettsean

# service influxdb start
Starting the process influxdb [ OK ]
influxdb process was started [ OK ]

and

# /opt/influxdb/influx
Connected to http://localhost:8086 version 0.9.4
InfluxDB shell 0.9.4
> show diagnostics
name: system
------------
PID     currentTime                     started                         uptime
17193   2015-09-17T19:21:01.018215613Z  2015-09-17T19:20:26.310881793Z  34.707334606s


name: build
-----------
Branch  Commit                                          Version
0.9.4   d81618c57fae135d9b1c1a8fb3403722ceb29354        0.9.4


name: runtime
-------------
GOARCH  GOMAXPROCS      GOOS    version
amd64   1               linux   go1.5


name: network
-------------
hostname
testingcentos

otoolep avatar Sep 17 '15 19:09 otoolep

Works for me.

otoolep avatar Sep 17 '15 19:09 otoolep

Never mind. Works for me as well. Not sure what happened earlier.

@huhongbo, if this is still is still happening please send me the steps to reproduce. Thanks!

rkuchan avatar Sep 17 '15 19:09 rkuchan

Closing since we couldn't reproduce the issue. Feel free to re-open if the problem returns though!

rossmcdonald avatar Sep 30 '15 22:09 rossmcdonald

version:

# influx
Connected to http://localhost:8086 version 1.2.0
InfluxDB shell version: 1.2.0
# influx
Failed to connect to http://localhost:8086: Get http://localhost:8086/ping: dial tcp [::1]:8086: getsockopt: connection refused
Please check your connection settings and ensure 'influxd' is running.

lin-credible avatar Mar 31 '17 07:03 lin-credible

I had to run influxd.exe prior to influx.exe .

nkolchakov avatar Apr 13 '18 08:04 nkolchakov