Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 687558

Summary: dev-db/influxdb-1.6.4 fails to start as service
Product: Gentoo Linux Reporter: Michal Špondr <michal.spondr>
Component: Current packagesAssignee: William Hubbs <williamh>
Status: RESOLVED FIXED    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.