influxdb: InfluxDB 1.5.0 not listening to http after starting the process

Bug report

System info: InfluxDB 1.5.0, Ubuntu 16.04.4 (tested with the same data in ArchLinux also)

Steps to reproduce:

  1. Start InfluxDB service
  2. Try to connect to the http service or check bound ports (8086)

Expected behavior: 8086 port listening

Actual behavior: No open port, no http service

Additional info: systemd log:

Mar 12 09:10:03 userver systemd[1]: Started InfluxDB is an open-source, distributed, time series database.
Mar 12 09:10:03 userver influxd[3483]: ts=2018-03-12T12:10:03.657940Z lvl=info msg="InfluxDB starting" log_id=06nXj02G000 version=1.5.0 branch=1.5 commit=6ac835404e7e64ea7299a6eebcce1ab1ef15fe3c
Mar 12 09:10:03 userver influxd[3483]: ts=2018-03-12T12:10:03.657982Z lvl=info msg="Go runtime" log_id=06nXj02G000 version=go1.9.2 maxprocs=4
Mar 12 09:10:03 userver influxd[3483]: ts=2018-03-12T12:10:03.759523Z lvl=info msg="Using data dir" log_id=06nXj02G000 service=store path=/var/lib/influxdb/data
Mar 12 09:10:03 userver influxd[3483]: ts=2018-03-12T12:10:03.759568Z lvl=info msg="Open store (start)" log_id=06nXj02G000 service=store trace_id=06nXj0Rl000 op_name=tsdb_open op_event=start

The process is running, but no connections are accepted. The configuration file is the default one.

It was running correctly (for around 2 months) until yesterday.

Only deleting the “data” folder I can get it to start running again correctly.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 4
  • Comments: 25 (8 by maintainers)

Most upvoted comments

Having exactly the same issue after upgrading to 1.5 on Ubuntu 16.04 (AWS) from a previous version - I did the second upgrade to 1.5.1 today morning but the results are the same. The config file is also the same for all installation. Influx does not bind to the HTTP port, started to eat 50G memory and does a big load on the machine.

I ran into this exact same issue, with starting “hanging” after “Open store (start)”. The problem ended up being that I naively ran the ‘influxd_inspect buildtsi’ command as root, and not as the influxdb user. This resulted in the new ts1 index files being owned as root. Although they were readable, they were not writeable.

YMMV, but recursively chowning my data directory resolved this for me and allowed InfluxDB 1.5.0 to start.