ContextBroker subscriptions Error

寵の児 提交于 2019-12-04 15:09:57

Do I have to install cygnus-common manual?

Reading the documentation (https://github.com/telefonicaid/fiware-cygnus/tree/master/cygnus-ngsi) it's wrote:

Cygnus NGSI is based on Apache Flume, which is used through cygnus-common and which Cygnus NGSI depends on.

I think you need to install cygnus-common.

Manolait

I have already solved the problem. It was in the configuration file of cygnus_instance_1.conf, you had to rename the cygnusagent agent by cygnus-ngsi.

For installation, I have simply followed these steps.

  1. Install ContextBroker.
  2. Install MongoDB (for contextBroker to work).
  3. Install cygnus-ngsi, this in turn installed automatically cygnus-common.

  4. Copy the agent_ngsi.conf.template and rename it with agent_1.conf

  5. Copy the cygnus_instance.conf.template to cygnus_instance_1.conf

  6. Rename the agent from cygnus_instance_1.conf to cygnus-ngsi and the configuration file created above (agent_1.conf)

All this has been with Yum Install, with RPM, I have not had to install apache flume or anything, this way it does everything automatically.

I hope this helps and thanks.

The last error log you have posted is the key: there is another running process listening on TCP/5050 port. Most probably, a previous run of Cygnus not stopped/killed properly.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!