Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 687558 - dev-db/influxdb-1.6.4 fails to start as service
Summary: dev-db/influxdb-1.6.4 fails to start as service
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-07 10:26 UTC by Michal Špondr
Modified: 2020-08-27 18:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Špondr 2019-06-07 10:26:16 UTC
If I try to run influxdb daemon with command:

systemctl start influxdb

it fails:
# systemctl status influxdb
● influxdb.service - InfluxDB is an open-source, distributed, time series database
   Loaded: loaded (/lib/systemd/system/influxdb.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Fri 2019-06-07 12:21:27 CEST; 7s ago
     Docs: https://docs.influxdata.com/influxdb/
  Process: 4664 ExecStart=/usr/bin/influxd -config /etc/influxdb/influxdb.conf $INFLUXD_OPTS (code=exited, status=1/FAILURE)
 Main PID: 4664 (code=exited, status=1/FAILURE)

čen 07 12:21:27 aramaki systemd[1]: influxdb.service: Service RestartSec=100ms expired, scheduling restart.
čen 07 12:21:27 aramaki systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 5.
čen 07 12:21:27 aramaki systemd[1]: Stopped InfluxDB is an open-source, distributed, time series database.
čen 07 12:21:27 aramaki systemd[1]: influxdb.service: Start request repeated too quickly.
čen 07 12:21:27 aramaki systemd[1]: influxdb.service: Failed with result 'exit-code'.
čen 07 12:21:27 aramaki systemd[1]: Failed to start InfluxDB is an open-source, distributed, time series database.


I think the configuration file (-config /etc/influxdb/influxdb.conf in the ExecStart line) is incorrect. After build the /etc/influxdb/influxd.conf exist, not /etc/influxdb/influxdb.conf.
If I start it with correct configuration file the database runs.
Comment 1 William Hubbs gentoo-dev 2020-08-27 18:43:18 UTC
Thshould be fixed in 1.8.2.