I am running influxdb on a RHLE 7 machine.
I installed a fresh 0.13.0 version of influxdb.
After I created databases, users and retention policies, I was able to write to
the database from a remote client using the HTTP API successfully.
However, when I enabled HTTPS in the config file, I tried restarting the
service but it failed, giving me errors similar to the following:
● influxdb.service - InfluxDB is an open-source, distributed, time series
database
Loaded: loaded (/usr/lib/systemd/system/influxdb.service; disabled; vendor
preset: disabled)
Active: failed (Result: start-limit) since Fri 2016-07-29 20:57:19 GST; 1s
ago
Docs: https://docs.influxdata.com/influxdb/
Process: 53595 ExecStart=/bin/sh -c /usr/bin/influxd -config
/etc/influxdb/influxdb.conf ${INFLUXD_OPTS} >>${STDOUT} 2>>${STDERR}
(code=exited, status=1/FAILURE)
Main PID: 53595 (code=exited, status=1/FAILURE)
Jul 29 20:57:19 hrc-cse-perf01 systemd[1]: Unit influxdb.service entered failed
state.
Jul 29 20:57:19 hrc-cse-perf01 systemd[1]: influxdb.service failed.
Jul 29 20:57:19 hrc-cse-perf01 systemd[1]: influxdb.service holdoff time over,
scheduling restart.
Jul 29 20:57:19 hrc-cse-perf01 systemd[1]: start request repeated too quickly
for influxdb.service
Jul 29 20:57:19 hrc-cse-perf01 systemd[1]: Failed to start InfluxDB is an
open-source, distributed, time series database.
Jul 29 20:57:19 hrc-cse-perf01 systemd[1]: Unit influxdb.service entered failed
state.
Jul 29 20:57:19 hrc-cse-perf01 systemd[1]: influxdb.service failed.
I managed to get it to start again by using the command influx (and write to
database using HTTPS this is why I doubt this is from HTTPS ) , but it still
causes the service to fail sometimes (when I change something in the config
file and try to restart service again.)
Now, I can't get the service to work again.
This problem has been bugging me for quite sometime now.
Tried some usual obvious commands related to systems, but with no use:
systemctl restart influxdb.service
systemctl stop influxdb.service
systemctl reset-faild influxdb.service
then
systemctl start influxdb.service
and
systemctl disable influxdb.service
NOTHING CHANGES.
This is the result of journalctl -xe in case it's of any use (although looks
similar to the first error):
-- Subject: Unit influxdb.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit influxdb.service has begun starting up.
Jul 29 21:16:56 hrc-cse-perf01 systemd[1]: influxdb.service: main process
exited, code=exited, status=1/FAILURE
Jul 29 21:16:56 hrc-cse-perf01 systemd[1]: Unit influxdb.service entered failed
state.
Jul 29 21:16:56 hrc-cse-perf01 systemd[1]: influxdb.service failed.
Jul 29 21:16:57 hrc-cse-perf01 systemd[1]: influxdb.service holdoff time over,
scheduling restart.
Jul 29 21:16:57 hrc-cse-perf01 systemd[1]: Cannot add dependency job for unit
firewalld.service, ignoring: Unit firewalld.service is ma
Jul 29 21:16:57 hrc-cse-perf01 systemd[1]: start request repeated too quickly
for influxdb.service
Jul 29 21:16:57 hrc-cse-perf01 systemd[1]: Failed to start InfluxDB is an
open-source, distributed, time series database.
-- Subject: Unit influxdb.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit influxdb.service has failed.
--
-- The result is failed.
--
Remember to include the InfluxDB version number with all issue reports
---
You received this message because you are subscribed to the Google Groups
"InfluxDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit
https://groups.google.com/d/msgid/influxdb/712fa317-99aa-4281-b0b8-82cd6c18645a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.