我正在部署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]
答案 0 :(得分:0)
-multiservice
CLI参数在版本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
即可解决问题。