[英]Context broker is not started: “su: user orion does not exist”
我正在嘗試使用命令/etc/init.d/contextBroker部署contextBroker,但出現以下錯誤:
Starting...
contextBroker is stopped
Starting contextBroker... su: user orion does not exist
cat: /var/log/contextBroker/contextBroker.pid: No such file or directory
pidfile not found [FAILED]
使用以下命令,我可以啟動contextBroker:
/ usr / bin / contextBroker-端口10026 -logDir / var / log / contextBroker -pidpath /var/log/contextBroker/contextBroker.pid -dbhost本地主機-db orion
可能是問題的原因?
Orion RPM中的一個錯誤已在0.16.0中修復,該錯誤會導致在更新RPM軟件包時刪除“ orion”用戶。 “ orion”用戶是/etc/init.d/contextBroker腳本默認使用的用戶,因此會導致錯誤消息su: user orion does not exist
。
請注意,盡管該錯誤已在0.16.0中修復,但是從0.15.0(例如)更新到0.16.0仍會出現問題,因為正在更新的版本(0.15.0)仍然是“錯誤的”。 從0.16.0升級到任何較新的版本(例如即將推出的0.17.0)應該可以正常工作。
值得一提的是,該問題有一個簡單的解決方案:無需更新軟件包,而是將其刪除並重新安裝,通常使用以下方法:
yum remove contextBroker
yum install contextBroker
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.