Cygnus not presisting data on MySql database

前端 未结 1 1372
被撕碎了的回忆
被撕碎了的回忆 2021-01-20 22:29

So i have read all the documentation and followed the tutorial on MySQL persistence but i can\'t still presist any kind of data on MySQL database.

Even though i\'m p

1条回答
  •  有刺的猬
    2021-01-20 22:33

    As I can see in the log, most probably Cygnus is running but not starting any Flume component (any source, channel or sink). This is due to some configuration errors.

    Regarding agent_a1.conf file:

    • It is missing the list of sources, channels and sinks: cygnusagent.sources = http-source cygnusagent.sinks = mysql-sink cygnusagent.channels = mysql-channel
    • cygnusagent.sources.http-source.channels value should be mysql-channel

    Regarding cygnus_instance_c1.conf:

    • AGENT_NAME value must be cygnusagent

    Which version have you installed? Are you reunning Cygnus as a service or as an standalone process?

    In adition, you could try to start Cygnus in DEBUG mode? Simply edit the /usr/cygnus/conf/log4j.properties file.

    Do the proposed changes and see how the log evolves! :)

    EDIT 1

    Such a "fatal error" is not so fatal. It was a bug appearing in Cygnus 0.7.1, currently fixed. Anyway, even in 0.7.1 it did not affect the normal behaviour of Cygnus since the management port is only used for retrieving the version, nothing important.

    Did you try to send some update context to Orion in order a notification is received by Cygnus? Even by simulating the notification? Please, see the Cygnus Quick Start Guide for an example about how to make such a simulation.

    EDIT 2

    Cygnus packages names es.tid.fiware.fiwareconnectors.cygnus... were replaced by com.telefonica.iot.cygnus... from release 0.8.0 (or maybe 0.9.0).

    0 讨论(0)
提交回复
热议问题