Orion: “curl: (7) couldn't connect to host”

[亡魂溺海] 提交于 2019-12-24 13:13:50

问题


I have installed the last version of Orion, 0.12.0, and when I send a queryContext or updateContext, the system gives me: "curl: (7) couldn't connect to host",

what's the problem?

Thanks!


回答1:


After analyzing the user feedback in the question comments, the problem seems to be that Orion Context Broker is not running.

In order to start Orion Context Broker (see reference documentation in https://wiki.fi-ware.org/Publish/Subscribe_Broker_-_Orion_Context_Broker_-_Installation_and_Administration_Guide#Running_Orion_Context_Broker for more detail) you can either:

  • Use the /etc/init.d/contextBroker start command (run it as root or with sudo privileges)
  • Using contextBroker command directly
    • In order to check that everything is ok, it uses to be a good idea to do a first run in foreground with maximum tracelevel activated, i.e. contextBroker -fg -t 0-255. Once you ensure that it works properly (e.g. curl version, etc.), then interrupt the process with Ctrl+C in the console and run it in background.


来源:https://stackoverflow.com/questions/23863875/orion-curl-7-couldnt-connect-to-host

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