-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ports 8083 and 8086 not listening after restart #1386
Comments
I'm also having this same behavior, running on RHEL 7 with 0.8.8. I'm running influxdb inside a docker container, works fine until I shutdown the container, sometimes, not all the time, when I restart the container, the http port refuses connections. When I blow away the influxdb data files, and recreate a new database, it all works again. |
I'm also experiencing this problem with v0.8.8 on Ubuntu 14.04. |
I'm experiencing a related (inverse?) problem: after a server start the influx admin interface is unavailable. lsof | grep influxdb
influxdb 1098 influxdb 4u IPv6 12551 0t0 TCP *:8090 (LISTEN)
influxdb 1098 1126 influxdb 4u IPv6 12551 0t0 TCP *:8090 (LISTEN)
influxdb 1098 1127 influxdb 4u IPv6 12551 0t0 TCP *:8090 (LISTEN)
influxdb 1098 1229 influxdb 4u IPv6 12551 0t0 TCP *:8090 (LISTEN)
influxdb 1098 1312 influxdb 4u IPv6 12551 0t0 TCP *:8090 (LISTEN)
influxdb 1098 1313 influxdb 4u IPv6 12551 0t0 TCP *:8090 (LISTEN)
influxdb 1098 1535 influxdb 4u IPv6 12551 0t0 TCP *:8090 (LISTEN) However, if I stop/start the service
it seems all the services are started correctly
I'm then able to log into the admin interface, etc. Version Info: Ubuntu 14.04.1 LTS, influxdb v0.8.8 |
@bdbeasley Approximately how much data (on disk) do you have stored in that InfluxDB instance? |
very little, I typically only have maybe a few megs (<10mb) of data in On Fri, Feb 13, 2015 at 11:32 AM, Todd Persen notifications@github.com
|
Same here, nearly no records in the store. Sent from my iPhone
|
very similar to this Issue: some have found that setting the hostname fixes this problem, this would effect my case because |
Having the same problem using v0.8.8 and about 25MB of data. Setting the hostname doesn't resolve the problem. |
This will be fixed in 0.9.0. We won't be making any new releases in the 0.8 line. In the meantime, set the hostname in your config file and it should work across restarts. |
Same problem here, set hostname didn't work. |
Same problem here, no solution, must remove database to make it works for a short period |
Everything is on Debian 7: 0.9x RC 29: ORDER BY, GROUP BY with SUM return false results |
There won't be any fixes to the 0.8.x versions. I believe #2027 encompasses most of your issue with SUM returning false results in 0.9, but if you want to open a new issue for the ORDER BY and GROUP BY problems in particular please do so, providing repro steps if possible. |
order by already has an issue... #2022 |
i also have same issue. after couple of days 0.8.8 version of influxdb get stuck. need to move db to back up and restart it and it works. is there any solutin for this yet. |
Same issue here, after restart only 8090 is up |
Hello, I need a help please. I'm on influxdb 0.9.0 that work in a sigle node. |
Please check out this posting to the mailing list that explains how to configure clustering. https://groups.google.com/forum/#!topic/influxdb/b_f2I7-zV-A |
I'm getting this bug with InfluxDB 1.3. |
Recently I installed influxDB on my window machine & added one db.... I am not able to access Admin UI which is suppose to be accessible through http://localhost:8083/ I tried uncommenting http section for - Determines whether HTTP endpoint is enabled.
The bind address used by the HTTP service.
But no luck....any help would be highly appreciated 8888888 .d888 888 8888888b. 888888b. 2018-08-03T12:21:28.508266Z info InfluxDB starting {"log_id": "09gwboEl000", "version": "1.6.0", "branch": "1.6", "commit": "62ab18a0f43ee342b84debaaae5486b8b2d8682c"} Client -
_internal |
I am installing InfluxDB 0.8.8 as a service on CentOS 6.5. The problem is when I start the server, it works and I can access localhost:8083, 8086, 8085, and 8090. (Note that I changed my config.toml to host 8099 to 8095). But, after I restart influxdb service, it no longer hosts on any of these ports except 8090. This is demonstrated below:
[root@] /opt/influxdb/shared $ service influxdb start
Setting ulimit -n 65536
Starting the process influxdb [ OK ]
influxdb process was started [ OK ]
[root@] /opt/influxdb/shared $ lsof | grep influx | grep IPv6
influxdb 7425 influxdb 5u IPv6 570508 0t0 TCP *:8090 (LISTEN)
influxdb 7425 influxdb 7u IPv6 570530 0t0 TCP *:8095 (LISTEN)
influxdb 7425 influxdb 8u IPv6 570531 0t0 TCP *:us-srv (LISTEN)
influxdb 7425 influxdb 9u IPv6 570533 0t0 TCP *:d-s-n (LISTEN)
[root@] /opt/influxdb/shared $ service influxdb stop
Setting ulimit -n 65536
influxdb process was stopped [ OK ]
[root@] /opt/influxdb/shared $ lsof | grep influx | grep IPv6
[root@] /opt/influxdb/shared $ service influxdb start
Setting ulimit -n 65536
Starting the process influxdb [ OK ]
influxdb process was started [ OK ]
[root@] /opt/influxdb/shared $ lsof | grep influx | grep IPv6
influxdb 7930 influxdb 5u IPv6 571690 0t0 TCP *:8090 (LISTEN)
`
I tried investigating this myself, to find that when I stop the service, there is this line in the logs:
2015/01/27 19:50:31 UTC] INFO Stopping protobuf server
[2015/01/27 19:50:31 UTC] EROR Error with TCP connection. Assuming server is closing: accept tcp [::]:8095: use of closed network connection
[2015/01/27 19:50:31 UTC] EROR Received error dial tcp 127.0.0.1:8095: connection refused, assuming connection is closed.
[2015/01/27 19:50:31 UTC] INFO protobuf server stopped
Which could mean the sockets were not closed correctly. However, as seen in the command line, the ports 8090, 8083, 8086, and 8085 are closed after first stopping the server. Below is the log.txt output for the starting and stopping of the server:
[2015/01/27 19:50:36 UTC] INFO Starting Influx Server 0.8.8 bound to 0.0.0.0...
[2015/01/27 19:50:36 UTC] INFO Opening database at /opt/influxdb/shared/data/db
[2015/01/27 19:50:36 UTC] INFO Opening wal in /opt/influxdb/shared/data/wal
[2015/01/27 19:50:36 UTC] INFO Ssl will be disabled since the ssl port or certificate path weren't set
[2015/01/27 19:50:36 UTC] INFO Initializing Raft HTTP server
[2015/01/27 19:50:36 UTC] INFO Raft Server Listening at 0.0.0.0:8090
[2015/01/27 19:50:36 UTC] INFO Initializing Raft Server: http://ip-10-201-53-25:8090
[2015/01/27 19:50:36 UTC] INFO Adding new server to the cluster config a248635b0ddf376f
[2015/01/27 19:50:36 UTC] INFO Added server to cluster config: 1, http://ip-10-201-53-25:8090, ip-10-201-53-25:8099
[2015/01/27 19:50:36 UTC] INFO Checking whether this is the local server local: ip-10-201-53-25:8095, new: ip-10-201-53-25:8099
[2015/01/27 19:50:36 UTC] INFO Added the local server
[2015/01/27 19:50:36 UTC] INFO Recovered from log
[2015/01/27 19:50:36 UTC] INFO Waiting for local server to be added
[2015/01/27 19:50:36 UTC] INFO Setting server id to 1 and recovering
[2015/01/27 19:50:37 UTC] INFO (raft:a248635b0ddf376f) Selected as leader. Starting leader loop.
[2015/01/27 19:50:41 UTC] INFO Sending change connection string command (ip-10-201-53-25:8099,ip-10-201-53-25:8095) (http://ip-10-201-53-25:8090,http://ip-10-201-53-25:8090)
[2015/01/27 19:50:41 UTC] INFO Running the actual command
[2015/01/27 19:50:41 UTC] INFO Connection string changed successfully
[2015/01/27 19:50:41 UTC] INFO Recovering from log...
[2015/01/27 19:50:41 UTC] INFO local: Initializing write buffer with buffer size of 10000
[2015/01/27 19:50:41 UTC] INFO Waiting for servers to recover
[2015/01/27 19:50:41 UTC] INFO ProtobufServer listening on 0.0.0.0:8095
[2015/01/27 19:50:41 UTC] INFO Recovering local server
[2015/01/27 19:50:41 UTC] INFO No shards to recover for 1
[2015/01/27 19:50:41 UTC] INFO Recovered local server
[2015/01/27 19:50:41 UTC] INFO recovered
[2015/01/27 19:50:41 UTC] INFO Connecting to other nodes in the cluster
[2015/01/27 19:50:41 UTC] INFO Starting admin interface on port 8083
[2015/01/27 19:50:41 UTC] INFO Graphite input plugins is disabled
[2015/01/27 19:50:41 UTC] INFO Collectd input plugins is disabled
[2015/01/27 19:50:41 UTC] INFO UDP server is disabled
[2015/01/27 19:50:41 UTC] INFO UDP server is disabled
[2015/01/27 19:50:41 UTC] INFO Starting Http Api server on port 8086
[2015/01/27 19:50:41 UTC] INFO Reporting stats: &client.Series{Name:"reports", Columns:[]string{"os", "arch", "id", "version"}, Points:[][]interface {}{[]interface {}{"linux", "amd64", "a248635b0ddf376f", "0.8.8"}}}
[2015/01/27 19:50:42 UTC] INFO Received signal: terminated
[2015/01/27 19:50:42 UTC] INFO Stopping server
[2015/01/27 19:50:42 UTC] INFO Stopping admin server
[2015/01/27 19:50:42 UTC] INFO admin server stopped
[2015/01/27 19:50:42 UTC] INFO Stopping raft server
[2015/01/27 19:50:42 UTC] INFO (raft:a248635b0ddf376f) Demoted from leader. Ending leader loop.
[2015/01/27 19:50:42 UTC] INFO Raft server stopped
[2015/01/27 19:50:42 UTC] INFO Stopping protobuf server
[2015/01/27 19:50:42 UTC] EROR Error with TCP connection. Assuming server is closing: accept tcp [::]:8095: use of closed network connection
[2015/01/27 19:50:42 UTC] EROR Received error dial tcp 127.0.0.1:8095: connection refused, assuming connection is closed.
[2015/01/27 19:50:42 UTC] INFO protobuf server stopped
[2015/01/27 19:50:42 UTC] INFO Stopping wal
[2015/01/27 19:50:42 UTC] INFO Closing WAL
[2015/01/27 19:50:42 UTC] INFO Closed WAL
[2015/01/27 19:50:42 UTC] INFO Closing wal
[2015/01/27 19:50:42 UTC] INFO wal stopped
[2015/01/27 19:50:42 UTC] INFO Stopping shard store
[2015/01/27 19:50:42 UTC] INFO shard store stopped
[2015/01/27 19:50:42 UTC] INFO Stopping api server
[2015/01/27 19:50:42 UTC] INFO Closing http server
[2015/01/27 19:50:42 UTC] INFO Waiting for all requests to finish before killing the process
[2015/01/27 19:50:48 UTC] INFO Redirectoring logging to /opt/influxdb/shared/log.txt
[2015/01/27 19:50:48 UTC] INFO Starting Influx Server 0.8.8 bound to 0.0.0.0...
[2015/01/27 19:50:48 UTC] INFO Opening database at /opt/influxdb/shared/data/db
[2015/01/27 19:50:48 UTC] INFO Opening wal in /opt/influxdb/shared/data/wal
[2015/01/27 19:50:48 UTC] INFO Ssl will be disabled since the ssl port or certificate path weren't set
[2015/01/27 19:50:48 UTC] INFO Initializing Raft HTTP server
[2015/01/27 19:50:48 UTC] INFO Raft Server Listening at 0.0.0.0:8090
[2015/01/27 19:50:48 UTC] INFO Initializing Raft Server: http://ip-10-201-53-25:8090
[2015/01/27 19:50:48 UTC] INFO Adding new server to the cluster config a248635b0ddf376f
[2015/01/27 19:50:48 UTC] INFO Added server to cluster config: 1, http://ip-10-201-53-25:8090, ip-10-201-53-25:8099
[2015/01/27 19:50:48 UTC] INFO Checking whether this is the local server local: ip-10-201-53-25:8095, new: ip-10-201-53-25:8099
[2015/01/27 19:50:48 UTC] INFO Added the local server
[2015/01/27 19:50:48 UTC] INFO Recovered from log
[2015/01/27 19:50:48 UTC] INFO Waiting for local server to be added
[2015/01/27 19:50:48 UTC] INFO Setting server id to 1 and recovering
[2015/01/27 19:50:49 UTC] INFO (raft:a248635b0ddf376f) Selected as leader. Starting leader loop.
[2015/01/27 19:50:53 UTC] INFO Sending change connection string command (ip-10-201-53-25:8099,ip-10-201-53-25:8095) (http://ip-10-201-53-25:8090,http://ip-10-201-53-25:8090)
[2015/01/27 20:00:31 UTC] INFO Received signal: terminated
[2015/01/27 20:00:31 UTC] INFO Stopping server
[2015/01/27 20:00:31 UTC] INFO Stopping admin server
[2015/01/27 20:00:31 UTC] INFO admin server stopped
[2015/01/27 20:00:31 UTC] INFO Stopping raft server
[2015/01/27 20:00:31 UTC] INFO (raft:a248635b0ddf376f) Demoted from leader. Ending leader loop.
[2015/01/27 20:00:31 UTC] INFO Raft server stopped
[2015/01/27 20:00:31 UTC] INFO Stopping protobuf server
My only option is to reinstall influxdb every time this happens, which is not viable for production.
The text was updated successfully, but these errors were encountered: