title: InfluxDB not starting: 8086 bind address already in use
body: <p>I have an InfluxDB Version 1.8.9, but I can't start it.
  In this example I'm logged in as a root.</p>
  <pre><code>netstat -lptn
  </code></pre>
  <p>gives me a range of services, none of them seem to listen to 8086. (there are other services running like grafana or MySQL, which seem to work fine)</p>
  <p>To further confirm nothing is on 8086,I listened to that related Issue <a href="https://stackoverflow.com/questions/56459872/run-open-server-open-service-listen-tcp-8086-bind-address-already-in-use-o">run: open server: open service: listen tcp :8086: bind: address already in use on starting influxdb</a>
  and run</p>
  <pre><code>netstat -a | grep 8086
  </code></pre>
  <p>which results in no results.</p>
  <p>My config file on /etc/influxdb/influxdb.conf looks like this:</p>
  <pre><code>reporting-disabled = false
  bind-address = &quot;127.0.0.1:8086&quot;
  
  [meta]
    #dir = &quot;/root/.influxdb/meta&quot;
    dir = &quot;/var/lib/influxdb/meta&quot;
    retention-autocreate = true
    logging-enabled = true
  
  [data]
    dir = &quot;/var/lib/influxdb/data&quot;
    index-version = &quot;inmem&quot;
    wal-dir = &quot;/var/lib/influxdb/wal&quot;
    wal-fsync-delay = &quot;0s&quot;
    validate-keys = false
    strict-error-handling = false
    query-log-enabled = true
    cache-max-memory-size = 1073741824
    cache-snapshot-memory-size = 26214400
    cache-snapshot-write-cold-duration = &quot;10m0s&quot;
    compact-full-write-cold-duration = &quot;4h0m0s&quot;
    compact-throughput = 50331648
    compact-throughput-burst = 50331648
    max-series-per-database = 1000000
    max-values-per-tag = 100000
    max-concurrent-compactions = 0
    max-index-log-file-size = 1048576
    series-id-set-cache-size = 100
    series-file-max-concurrent-snapshot-compactions = 0
    trace-logging-enabled = false
    tsm-use-madv-willneed = false
    ...
    [http]
    enabled = true
    bind-address = &quot;:8086&quot;
    auth-enabled = false
    log-enabled = true
    suppress-write-log = false
    write-tracing = false
    flux-enabled = false
    flux-log-enabled = false
    pprof-enabled = true
    pprof-auth-enabled = false
    debug-pprof-enabled = false
    ping-auth-enabled = false
    prom-read-auth-enabled = false
    https-enabled = false
    https-certificate = &quot;/etc/ssl/influxdb.pem&quot;
    https-private-key = &quot;&quot;
    max-row-limit = 0
    max-connection-limit = 0
    shared-secret = &quot;&quot;
    realm = &quot;InfluxDB&quot;
    unix-socket-enabled = false
    unix-socket-permissions = &quot;0777&quot;
    bind-socket = &quot;/var/run/influxdb.sock&quot;
    max-body-size = 25000000
    access-log-path = &quot;&quot;
    max-concurrent-write-limit = 0
    max-enqueued-write-limit = 0
    enqueued-write-timeout = 30000000000
    ...
  </code></pre>
  <p>So i tried to start my database:</p>
  <pre><code>service influxdb start
  </code></pre>
  <p>Which gives me</p>
  <blockquote>
  <p>ob for influxdb.service failed because a timeout was exceeded. See
  &quot;systemctl status influxdb.service&quot; and &quot;journalctl -xe&quot; for details.</p>
  </blockquote>
  <p>result of <strong>systemctl status influxdb.service</strong></p>
  <pre><code>● influxdb.service - InfluxDB is an open-source, distributed, time series database
     Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled)
     Active: activating (start) since Tue 2021-09-21 18:37:12 CEST; 1min 7s ago
       Docs: https://docs.influxdata.com/influxdb/
   Main PID: 32016 (code=exited, status=1/FAILURE); Control PID: 5874 (influxd-systemd)
      Tasks: 2 (limit: 4915)
     CGroup: /system.slice/influxdb.service
             ├─5874 /bin/bash -e /usr/lib/influxdb/scripts/influxd-systemd-start.sh
             └─5965 sleep 10
  
  Sep 21 18:37:23 s22227708 influxd-systemd-start.sh[5874]: ts=2021-09-21T16:37:23.515897Z lvl=info msg=&quot;Registered diagnostics client&quot; log_id=0WjJLI7l000 service=monitor name=runtime
  Sep 21 18:37:23 s22227708 influxd-systemd-start.sh[5874]: ts=2021-09-21T16:37:23.515907Z lvl=info msg=&quot;Registered diagnostics client&quot; log_id=0WjJLI7l000 service=monitor name=network
  Sep 21 18:37:23 s22227708 influxd-systemd-start.sh[5874]: ts=2021-09-21T16:37:23.515923Z lvl=info msg=&quot;Registered diagnostics client&quot; log_id=0WjJLI7l000 service=monitor name=system
  Sep 21 18:37:23 s22227708 influxd-systemd-start.sh[5874]: ts=2021-09-21T16:37:23.515977Z lvl=info msg=&quot;Starting precreation service&quot; log_id=0WjJLI7l000 service=shard-precreation check_interval=10m advanc
  Sep 21 18:37:23 s22227708 influxd-systemd-start.sh[5874]: ts=2021-09-21T16:37:23.515995Z lvl=info msg=&quot;Starting snapshot service&quot; log_id=0WjJLI7l000 service=snapshot
  Sep 21 18:37:23 s22227708 influxd-systemd-start.sh[5874]: ts=2021-09-21T16:37:23.516015Z lvl=info msg=&quot;Starting continuous query service&quot; log_id=0WjJLI7l000 service=continuous_querier
  Sep 21 18:37:23 s22227708 influxd-systemd-start.sh[5874]: ts=2021-09-21T16:37:23.516011Z lvl=info msg=&quot;Storing statistics&quot; log_id=0WjJLI7l000 service=monitor db_instance=_internal db_rp=monitor interval=
  Sep 21 18:37:23 s22227708 influxd-systemd-start.sh[5874]: ts=2021-09-21T16:37:23.516037Z lvl=info msg=&quot;Starting HTTP service&quot; log_id=0WjJLI7l000 service=httpd authentication=false
  Sep 21 18:37:23 s22227708 influxd-systemd-start.sh[5874]: ts=2021-09-21T16:37:23.516052Z lvl=info msg=&quot;opened HTTP access log&quot; log_id=0WjJLI7l000 service=httpd path=stderr
  Sep 21 18:37:23 s22227708 influxd-systemd-start.sh[5874]: run: open server: open service: listen tcp :8086: bind: address already in use
  </code></pre>
  <p>I can't really understand where I did something wrong, since I configured :8086 in the config file. Can you help me?</p>