Fail to start org.openbmc.managers.System.service
Brad Chou
chou.brad at gmail.com
Tue May 29 21:27:22 AEST 2018
Hi George,
I have tried your suggestion, but the problem doesn’t fix.
And just noticed a commit here:
https://github.com/openbmc/skeleton/commit/f6e918e4e05e94d0eaafa97c6c31d47ae5b1bf49#diff-b07a6297d344f5bbff9249965d0e8e3c <https://github.com/openbmc/skeleton/commit/f6e918e4e05e94d0eaafa97c6c31d47ae5b1bf49#diff-b07a6297d344f5bbff9249965d0e8e3c>
https://gerrit.openbmc-project.xyz/#/c/9737/3/pysystemmgr/system_manager.py <https://gerrit.openbmc-project.xyz/#/c/9737/3/pysystemmgr/system_manager.py>
Looks like the obmc.inventory can be removed, but has some other problems on Witherspoon.
After removed this commit, the org.openbmc.managers.System.service start working good.
But I am not sure if this is a correct way to fix it.
Thanks.
> On May 28, 2018, at 20:19, George Keishing <gkeishin at in.ibm.com> wrote:
>
> Brad,
>
> Not sure if this would help. Probably previous build left over, try this
>
> Login to BMC
>
> cd /var/lib/
>
> root at witherspoon:/var/lib# ls
> dropbear obmc phosphor-inventory-manager phosphor-settings-manager phosphor-state-manager
> machines phosphor-debug-collector phosphor-logging phosphor-software-manager systemd
> root at witherspoon:/var/lib#
>
> root at witherspoon:/var/lib# rm -rf phosphor-inventory-manager phosphor-settings-manager phosphor-state-manager
>
> Reboot BMC
>
>
> Thanks and Regards,
> George Keishing
> IBM Systems &Technology Lab, Firmware Development,
> “There isn't enough time in a day to be lazy!!! .”
> <Mail Attachment.jpeg>
>
>
>
>
> From: Brad Chou <chou.brad at gmail.com>
> To: openbmc at lists.ozlabs.org
> Date: 05/28/2018 03:34 PM
> Subject: Fail to start org.openbmc.managers.System.service
> Sent by: "openbmc" <openbmc-bounces+gkeishin=in.ibm.com at lists.ozlabs.org>
>
>
>
> Hi all,
> I have s problem while start the org.openbmc.managers.System.service
> The log says it fail to import obmc.inventory
> Then every other service that required org.openbmc.managers.System.service just forced to be stoped.
> Can anyone tell me what the obmc.inventory is ?
> How can I fix this problem ?
> Thanks.
>
> May 25 11:20:58 system_manager.py[1015]: Traceback (most recent call last):
> May 25 11:20:58 system_manager.py[1015]: File "/usr/sbin/system_manager.py", line 15, in <module>
> May 25 11:20:58 system_manager.py[1015]: import obmc.inventory
> May 25 11:20:58 system_manager.py[1015]: ImportError: No module named inventory
> May 25 11:20:59 systemd[1]: org.openbmc.managers.System.service: Main process exited, code=exited, status=1/FAILURE
> May 25 11:20:59 systemd[1]: Failed to start Phoshpor System Manager.
> May 25 11:20:59 systemd[1]: org.openbmc.managers.System.service: Unit entered failed state.
> May 25 11:20:59 systemd[1]: org.openbmc.managers.System.service: Failed with result 'exit-code'.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20180529/711f6544/attachment.html>
More information about the openbmc
mailing list