openbmc / phosphor-host-ipmid

dbus-based ipmid for host-endpoint IPMI commands
Apache License 2.0
37 stars 75 forks source link

ipmid ERROR opening and JSON file not found #130

Open gkeishin opened 5 years ago

gkeishin commented 5 years ago
Mar 21 16:17:50 witherspoon ipmid[1422]: ERROR opening
Mar 21 16:17:53 witherspoon ipmid[1422]: JSON file not found
VERSION_ID="2.7.0-dev-135-gb0afcc1"
OPENBMC_TARGET_MACHINE="witherspoon"

Linux xx.xx.xx.xx 5.0.3-b94b74e8b52db91fe4e99e0bb481ec8bf2b5b47c #1 Thu Mar 21 13:38:45 UTC 2019 armv6l GNU/Linux
{
    "__CURSOR" : "s=a6a147c081d94b24937ac2aee97f14b1;i=64b2;b=68dcc5ce887943d0a3063ed38fc22dba;m=4fca65b;t=5849d145f8dcc;x=93423674b34670b4",
    "__REALTIME_TIMESTAMP" : "1553185070091724",
    "__MONOTONIC_TIMESTAMP" : "83666523",
    "_BOOT_ID" : "68dcc5ce887943d0a3063ed38fc22dba",
    "_TRANSPORT" : "journal",
    "_SYSTEMD_SLICE" : "system.slice",
    "_MACHINE_ID" : "ac27d5c72a6e4197bf4c14e667e757f6",
    "_HOSTNAME" : "xx.xx.xx.xx",
    "_UID" : "0",
    "_GID" : "0",
    "_CAP_EFFECTIVE" : "3fffffffff",
    "CODE_LINE" : "105",
    "CODE_FUNC" : "helper_log",
    "CODE_FILE" : "/tmp/openbmc/work/armv6-openbmc-linux-gnueabi/phosphor-ipmi-host/1.0+gitAUTOINC+1bb0c7fc55-r1/recipe-sysroot/usr/include/phosphor-logging/log.hpp",
    "PRIORITY" : "3",
    "MESSAGE" : "ERROR opening",
    "TRANSACTION_ID" : "2851025156",
    "HANDLER" : "/usr/lib/host-ipmid/libusercmds.so.0",
    "ERROR" : "/usr/lib/host-ipmid/libusercmds.so.0: undefined symbol: _ZN4ipmi24convertCurrentChannelNumEh",
    "SYSLOG_IDENTIFIER" : "ipmid",
    "_PID" : "1422",
    "_COMM" : "ipmid",
    "_EXE" : "/usr/sbin/ipmid",
    "_CMDLINE" : "ipmid",
    "_SYSTEMD_CGROUP" : "/system.slice/phosphor-ipmi-host.service",
    "_SYSTEMD_UNIT" : "phosphor-ipmi-host.service",
    "_SYSTEMD_INVOCATION_ID" : "64ebd6232b51448e88b726b2b99bd304",
    "_SOURCE_REALTIME_TIMESTAMP" : "1553185070091629"
}
{
    "__CURSOR" : "s=a6a147c081d94b24937ac2aee97f14b1;i=64c8;b=68dcc5ce887943d0a3063ed38fc22dba;m=52f9e18;t=5849d14928589;x=5fe780dd24d4451f",
    "__REALTIME_TIMESTAMP" : "1553185073431945",
    "__MONOTONIC_TIMESTAMP" : "87006744",
    "_BOOT_ID" : "68dcc5ce887943d0a3063ed38fc22dba",
    "_TRANSPORT" : "journal",
    "_SYSTEMD_SLICE" : "system.slice",
    "_MACHINE_ID" : "ac27d5c72a6e4197bf4c14e667e757f6",
    "_HOSTNAME" : "xx.xx.xx.xx",
    "_UID" : "0",
    "_GID" : "0",
    "_CAP_EFFECTIVE" : "3fffffffff",
    "CODE_LINE" : "105",
    "CODE_FUNC" : "helper_log",
    "CODE_FILE" : "/tmp/openbmc/work/armv6-openbmc-linux-gnueabi/phosphor-ipmi-host/1.0+gitAUTOINC+1bb0c7fc55-r1/recipe-sysroot/usr/include/phosphor-logging/log.hpp",
    "PRIORITY" : "3",
    "TRANSACTION_ID" : "2851025156",
    "SYSLOG_IDENTIFIER" : "ipmid",
    "_PID" : "1422",
    "_COMM" : "ipmid",
    "_EXE" : "/usr/sbin/ipmid",
    "_CMDLINE" : "ipmid",
    "_SYSTEMD_CGROUP" : "/system.slice/phosphor-ipmi-host.service",
    "_SYSTEMD_UNIT" : "phosphor-ipmi-host.service",
    "_SYSTEMD_INVOCATION_ID" : "64ebd6232b51448e88b726b2b99bd304",
    "MESSAGE" : "JSON file not found",
    "_SOURCE_REALTIME_TIMESTAMP" : "1553185073431844"
}
rthomaiy commented 5 years ago

Guess you are talking about an issue, which is fixed https://github.com/openbmc/phosphor-host-ipmid/commit/a4e09e46949bf9e5abb99aa18f5c399f03f2a00a . Due to bump up failure, it is not updated in the phosphor-ipmi-host.inc Issue will be seen from phosphor-ipmi-host commit 1bb0c7fc55b21bb40b7afb567f2f938f15411ca1 (fix in commit a4e09e46949bf9e5abb99aa18f5c399f03f2a00 )

gkeishin commented 5 years ago
{
    "__CURSOR" : "s=00807c6a70c74315806f24e2d8d304f2;i=e393;b=55fcb20bff864797b4ab7f2737deb9a9;m=5732320;t=584eeca1f1808;x=6a5f61787c07b1c9",
    "__REALTIME_TIMESTAMP" : "1553536011671560",
    "__MONOTONIC_TIMESTAMP" : "91431712",
    "_BOOT_ID" : "55fcb20bff864797b4ab7f2737deb9a9",
    "_UID" : "0",
    "_GID" : "0",
    "_CAP_EFFECTIVE" : "3fffffffff",
    "_SYSTEMD_SLICE" : "system.slice",
    "_MACHINE_ID" : "c97507b417f747a98859858826898743",
    "_HOSTNAME" : "witherspoon",
    "PRIORITY" : "6",
    "_TRANSPORT" : "journal",
    "CODE_LINE" : "105",
    "CODE_FUNC" : "helper_log",
    "CODE_FILE" : "/tmp/openbmc/work/armv6-openbmc-linux-gnueabi/phosphor-ipmi-host/1.0+gitAUTOINC+be37630691-r1/recipe-sysroot/usr/include/phosphor-logging/log.hpp",
    "TRANSACTION_ID" : "3181699987",
    "SYSLOG_IDENTIFIER" : "ipmid",
    "_PID" : "1428",
    "_COMM" : "ipmid",
    "_EXE" : "/usr/sbin/ipmid",
    "_CMDLINE" : "ipmid",
    "_SYSTEMD_CGROUP" : "/system.slice/phosphor-ipmi-host.service",
    "_SYSTEMD_UNIT" : "phosphor-ipmi-host.service",
    "_SYSTEMD_INVOCATION_ID" : "445549d2c7ef4d809e70c54320484c6f",
    "MESSAGE" : "Set restrictedMode = false",
    "_SOURCE_REALTIME_TIMESTAMP" : "1553536011671472"
}

Still sees on https://openpower.xyz/job/openbmc-build/2026/

Mar 25 18:11:24 witherspoon ipmid[1403]: JSON file not found

I hope all the need bump are there in this level

HCL-BMC commented 4 years ago

We are also facing this issue in the phosphor-ipmi-host application. Any updates on this ?

Apr 15 18:13:51 yosemitev2 ipmid[419]: JSON file not found Apr 15 18:13:51 yosemitev2 ipmid[419]: JSON file not found

xchen20170101 commented 2 weeks ago

We have also encountered this issue, the phosphor-ipmi-host service has been unable to start up? Aug 26 15:09:09 rockchip-rk3562-evb systemd[1]: Starting Phosphor Inband IPMI... Aug 26 15:09:09 rockchip-rk3562-evb ipmid[338]: JSON file not found Aug 26 15:09:09 rockchip-rk3562-evb systemd[1]: Started Phosphor Inband IPMI. Aug 26 15:09:10 rockchip-rk3562-evb systemd[1]: phosphor-ipmi-host.service: Main process exited, code=dumped, status=11/SEGV Aug 26 15:09:10 rockchip-rk3562-evb systemd[1]: phosphor-ipmi-host.service: Failed with result 'core-dump'. Aug 26 15:09:11 rockchip-rk3562-evb systemd[1]: phosphor-ipmi-host.service: Scheduled restart job, restart counter is at 1. Aug 26 15:09:11 rockchip-rk3562-evb systemd[1]: Stopped Phosphor Inband IPMI. Aug 26 15:09:11 rockchip-rk3562-evb systemd[1]: Starting Phosphor Inband IPMI... Aug 26 15:09:11 rockchip-rk3562-evb systemd[1]: Started Phosphor Inband IPMI. Aug 26 15:09:12 rockchip-rk3562-evb systemd[1]: phosphor-ipmi-host.service: Main process exited, code=dumped, status=11/SEGV Aug 26 15:09:12 rockchip-rk3562-evb systemd[1]: phosphor-ipmi-host.service: Failed with result 'core-dump'.