2014-10-28 46 views
0

我正在部署contextbroker,並且當我使用「-multiservice頭」 作爲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' 

[email protected]:59:56 paConfig.cpp[892]: setting trace levels to '0-255' 
[email protected]: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

-multiservice CLI參數0.14.1版本之間的變化, 0.15.0。從0.15.0更新日誌:

# rpm -q --changelog contextBroker 
* mié oct 01 2014 Fermin Galan <[email protected]> 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應該解決的問題。