kapacitor未运行表示失败

帮助我的apacitor不运行,实际上我在与kapacitor和telegraf相同的服务器上运行influxdb,但我的kapacitor却不在 无法正常工作</ p>

 
kapacitor.service-时间序列数据处理引擎。
已加载:已加载(/lib/systemd/system/kapacitor.service;已启用;供应商预设:已启用)\ n活动:自星期四2019-01-03 17:56:38以来失败(结果:退出代码); 3秒钟前
文档:https://github.com/influxdb/kapacitor
进程:2502 ExecStart = / usr / bin / kapacitord -config /etc/kapacitor/kapacitor.conf $ KAPACITOR_OPTS(代码=已退出,状态= 1 / FAILURE)
主PID:2502(代码=已退出,状态为1 / FAILURE)

Jan 03 17:56:38 ip-172-31-43-67 systemd [1]:kapacitor.service:服务保留 -off time over,计划重新启动。
Jan 03 17:56:38 ip-172-31-43-67 systemd [1]:kapacitor.service:计划重新启动作业,重新启动计数器位于5。
Jan 03 17:56 :38 ip-172-31-43-67 systemd [1]:停止时间序列数据处理引擎..
Jan 03 17:56:38 ip-172-31-43-67 systemd [1]:kapacitor.service: 启动请求重复的太快。
Jan 03 17:56:38 ip-172-31-43-67 systemd [1]:kapacitor.service:失败,结果为“退出代码”。
Jan 03 17:56:38 ip -172-31-43-67 systemd [1]:无法启动时间序列数据处理引擎。.
</ pre>
</ div>

展开原文

原文

help my apacitor is not runnning, actually im running influxdb in the same server that kapacitor and telegraf, but my kapacitor don't work

kapacitor.service - Time series data processing engine.
   Loaded: loaded (/lib/systemd/system/kapacitor.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2019-01-03 17:56:38 UTC; 3s ago
     Docs: https://github.com/influxdb/kapacitor
  Process: 2502 ExecStart=/usr/bin/kapacitord -config /etc/kapacitor/kapacitor.conf $KAPACITOR_OPTS (code=exited, status=1/FAILURE)
 Main PID: 2502 (code=exited, status=1/FAILURE)

Jan 03 17:56:38 ip-172-31-43-67 systemd[1]: kapacitor.service: Service hold-off time over, scheduling restart.
Jan 03 17:56:38 ip-172-31-43-67 systemd[1]: kapacitor.service: Scheduled restart job, restart counter is at 5.
Jan 03 17:56:38 ip-172-31-43-67 systemd[1]: Stopped Time series data processing engine..
Jan 03 17:56:38 ip-172-31-43-67 systemd[1]: kapacitor.service: Start request repeated too quickly.
Jan 03 17:56:38 ip-172-31-43-67 systemd[1]: kapacitor.service: Failed with result 'exit-code'.
Jan 03 17:56:38 ip-172-31-43-67 systemd[1]: Failed to start Time series data processing engine..

1个回答



我确实为自己找到了解决方案:</ p>

  [[influxdb]] \  nenabled = true 
name =“ localhost”
default = true
urls = [“ http:// localhost:8086”]
username =“ user”
password =“ password”
</ code> </ pre> \ n

您必须计算一下,在之前influxdb中创建用户需要</ p>
</ div>

展开原文

原文

i did find the solution for myself:

[[influxdb]]
enabled = true
name = "localhost"
default = true
urls = ["http://localhost:8086"]
username = "user"
password = "password"

you must take in count that you will need has an user create in influxdb before

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问