0

我正在部署 contextbroker,当我使用“-multiservice header”作为 contextBroker_extra_ops 选项时,没有启动 contextBroker,也没有获得更多信息。你可以帮帮我吗?

我正在使用 contextBroker 版本 0.15.0

contextBroker -port 9999 -logDir /var/log/contextBroker -pidpath /var/log/contextBroker/contextBroker.pid -dbhost 127.0.0.1:27017 -db testdb1 -multiservice header
log directory: '/var/log/contextBroker'

DEBUG@12:59:56  paConfig.cpp[892]: setting trace levels to '0-255'
DEBUG@12:59:56  paConfig.cpp[893]: Leaving function paConfigActions
parameter 'header' not recognized

使用 /etc/init.d/contextBroker 我失败了

/etc/init.d/contextBroker start
Starting...
contextBroker is stopped
Starting contextBroker...                         cat: /var/log/contextBroker/contextBroker.pid: No such file or directory
pidfile not found                                          [FAILED]
4

1 回答 1

0

CLI 参数在-multiservice版本 0.14.1 和 0.15.0 之间更改。从 0.15.0 更新日志:

# rpm -q --changelog contextBroker
* mié oct 01 2014 Fermin Galan <fermin@tid.es> 0.15.0-1 (FIWARE-3.5.3-1)
...
- Fix: made the broker not support URL-based multiservice (tenants) anymore (Issue #522)
- Fix: removed all the code related to URL-tenants (Issue #522)
...

只是替换-multiservice header应该-multiheader可以解决问题。

于 2014-10-28T13:11:07.907 回答