influxdata / influxdata/influxdb

Service Failed to Run

Open
#17,765 3 comments 0 reactions 1 assignee Claimed by @Coelhomatias View on GitHub
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

__Steps to reproduce:__
List the minimal actions needed to reproduce the behavior.

1. sudo systemctl start influxdb

__Expected behavior:__
Service to start

__Actual behavior:__
Service fails and tries to reconnect

__Environment info:__

* System info: Linux 4.19.97-v7+ armv7l (Raspberry Pi 3 B+)
* InfluxDB version: InfluxDB v1.7.10 (git: 1.7 f46f63d4e2d9684a2dd716594ab609ccd32f0a5b)

__Config:__

Added bind-address = "127.0.0.1:8090" to /ect/influxdb/influxdb.conf

__Logs:__
```
Apr 16 18:44:31 raspberrypi systemd[1]: influxdb.service: Service RestartSec=100ms expired, scheduling restart.
Apr 16 18:44:31 raspberrypi systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 23.
Apr 16 18:44:31 raspberrypi systemd[1]: Stopped InfluxDB is an open-source, distributed, time series database.
Apr 16 18:44:31 raspberrypi systemd[1]: Started InfluxDB is an open-source, distributed, time series database.
Apr 16 18:44:56 raspberrypi influxd[1412]: ts=2020-04-16T17:44:56.474125Z lvl=info msg="InfluxDB starting" log_id=0MD1LVbW000 version=1.7.10 branch=1.7 commit=f46f63d4e2d9684a2dd716594ab609ccd32f0a5b
Apr 16 18:44:56 raspberrypi influxd[1412]: ts=2020-04-16T17:44:56.474546Z lvl=info msg="Go runtime" log_id=0MD1LVbW000 version=go1.12.6 maxprocs=4
Apr 16 18:44:56 raspberrypi influxd[1412]: ts=2020-04-16T17:44:56.593172Z lvl=info msg="Using data dir" log_id=0MD1LVbW000 service=store path=/var/lib/influxdb/data
Apr 16 18:44:56 raspberrypi influxd[1412]: ts=2020-04-16T17:44:56.594974Z lvl=info msg="Compaction settings" log_id=0MD1LVbW000 service=store max_concurrent_compactions=2 throughput_bytes_per_second=50331648 throughput_bytes_per_second_burst=50331648
Apr 16 18:44:56 raspberrypi influxd[1412]: ts=2020-04-16T17:44:56.596378Z lvl=info msg="Open store (start)" log_id=0MD1LVbW000 service=store trace_id=0MD1LW50000 op_name=tsdb_open op_event=start
Apr 16 18:44:56 raspberrypi influxd[1412]: ts=2020-04-16T17:44:56.598220Z lvl=info msg="Open store (end)" log_id=0MD1LVbW000 service=store trace_id=0MD1LW50000 op_name=tsdb_open op_event=end op_elapsed=1.868ms
Apr 16 18:44:56 raspberrypi influxd[1412]: run: open server: open tsdb store: mkdir /var/lib/influxdb/data/_internal/_series: permission denied
Apr 16 18:44:56 raspberrypi systemd[1]: influxdb.service: Main process exited, code=exited, status=1/FAILURE
Apr 16 18:44:56 raspberrypi systemd[1]: influxdb.service: Failed with result 'exit-code'.
Apr 16 18:44:56 raspberrypi systemd[1]: influxdb.service: Service RestartSec=100ms expired, scheduling restart.
Apr 16 18:44:56 raspberrypi systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 24.
Apr 16 18:44:56 raspberrypi systemd[1]: Stopped InfluxDB is an open-source, distributed, time series database.
Apr 16 18:44:56 raspberrypi systemd[1]: Started InfluxDB is an open-source, distributed, time series database.
Apr 16 18:45:23 raspberrypi influxd[1435]: ts=2020-04-16T17:45:23.468029Z lvl=info msg="InfluxDB starting" log_id=0MD1N92l000 version=1.7.10 branch=1.7 commit=f46f63d4e2d9684a2dd716594ab609ccd32f0a5b
Apr 16 18:45:23 raspberrypi influxd[1435]: ts=2020-04-16T17:45:23.468190Z lvl=info msg="Go runtime" log_id=0MD1N92l000 version=go1.12.6 maxprocs=4
Apr 16 18:45:23 raspberrypi influxd[1435]: ts=2020-04-16T17:45:23.584014Z lvl=info msg="Using data dir" log_id=0MD1N92l000 service=store path=/var/lib/influxdb/data
Apr 16 18:45:23 raspberrypi influxd[1435]: ts=2020-04-16T17:45:23.584199Z lvl=info msg="Compaction settings" log_id=0MD1N92l000 service=store max_concurrent_compactions=2 throughput_bytes_per_second=50331648 throughput_bytes_per_second_burst=50331648
Apr 16 18:45:23 raspberrypi influxd[1435]: ts=2020-04-16T17:45:23.584262Z lvl=info msg="Open store (start)" log_id=0MD1N92l000 service=store trace_id=0MD1N9W0000 op_name=tsdb_open op_event=start
Apr 16 18:45:23 raspberrypi influxd[1435]: ts=2020-04-16T17:45:23.584588Z lvl=info msg="Open store (end)" log_id=0MD1N92l000 service=store trace_id=0MD1N9W0000 op_name=tsdb_open op_event=end op_elapsed=0.332ms
Apr 16 18:45:23 raspberrypi influxd[1435]: run: open server: open tsdb store: mkdir /var/lib/influxdb/data/_internal/_series: permission denied
Apr 16 18:45:23 raspberrypi systemd[1]: influxdb.service: Main process exited, code=exited, status=1/FAILURE
Apr 16 18:45:23 raspberrypi systemd[1]: influxdb.service: Failed with result 'exit-code'.
Apr 16 18:45:23 raspberrypi systemd[1]: influxdb.service: Service RestartSec=100ms expired, scheduling restart.
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.