インストールした環境
$ uname -a Linux backup2012.localdomain 2.6.32-279.14.1.el6.x86_64 #1 SMP Tue Nov 6 23:43:09 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux $ cat /etc/redhat-release CentOS release 6.3 (Final) $ rpm -qa |grep ^hp hpmouse-1.2.1-1.noarch hponcfg-4.0.1-0.noarch hp-health-9.1.0.42-54.rhel6.x86_64 hpacucli-9.30-15.0.x86_64 hpvca-7.1.2-0.i386 hp-smh-templates-9.2.5.6-6.all.noarch hpsmh-7.1.2-3.x86_64 hp-snmp-agents-9.1.0.57-51.rhel6.x86_64 hp-fc-enablement-1.2-14.noarch hpdiags-9.3.0-466.x86_64
hp-snmp-agentsやhp-health を起動しようとすると 『セグメンテーション違反です』と言われる。
/etc/init.d/hp-snmp-agents start
とすると hp-health の起動スクリプトでエラー。
/etc/init.d/hp-health start
すると当然エラー。
日本語だと。
# /etc/init.d/hp-snmp-agents start Using Proliant Standard IPMI based 1XX System Health Monitor Using standard Linux IPMI device driver Starting ipmi drivers: [ OK ] Starting Proliant Standard IPMI based 1XX System Health Monitor (hpasmpld): /etc/init.d/hp-health: line 666: 2710 セグメンテーション違反です (コアダンプ) $PNAME $PARGS < /dev/null >> $LOGFILE 2>&1 [失敗] /etc/init.d/hp-health: failed to start! Please review log file for details. The log file locations are documented in the hp-health(4) man page. # # # /etc/init.d/hp-health start Using Proliant Standard IPMI based 1XX System Health Monitor Using standard Linux IPMI device driver Starting ipmi drivers: [ OK ] Starting Proliant Standard IPMI based 1XX System Health Monitor (hpasmpld): /etc/init.d/hp-health: line 666: 2922 セグメンテーション違反です (コアダンプ) $PNAME $PARGS < /dev/null >> $LOGFILE 2>&1 [失敗]
LANG=C をするとこんな感じ。
# LANG=C /etc/init.d/hp-snmp-agents start Using Proliant Standard IPMI based 1XX System Health Monitor Using standard Linux IPMI device driver Starting ipmi drivers: [ OK ] Starting Proliant Standard IPMI based 1XX System Health Monitor (hpasmpld): /etc/init.d/hp-health: line 666: 2795 Segmentation fault (core dumped) $PNAME $PARGS < /dev/null >> $LOGFILE 2>&1 [FAILED] /etc/init.d/hp-health: failed to start! Please review log file for details. The log file locations are documented in the hp-health(4) man page. # # # LANG=C /etc/init.d/hp-health start Using Proliant Standard IPMI based 1XX System Health Monitor Using standard Linux IPMI device driver Starting ipmi drivers: [ OK ] Starting Proliant Standard IPMI based 1XX System Health Monitor (hpasmpld): /etc/init.d/hp-health: line 666: 3006 Segmentation fault (core dumped) $PNAME $PARGS < /dev/null >> $LOGFILE 2>&1 [FAILED]
いろいろ調べたらHPのメーリングリストに書いてあった。Fix for hp-health on DL100 series running CentOS6
で解決。
mcelogdを止めてからhp-healthを起動するとうまくいくらしい。
/etc/init.d/hp-healthの
# chkconfig: 2345 91 2 を
# chkconfig: 2345 31 2 に直したあと
chkconfig –del hp-health
chkconfig –add hp-health
して、自動起動を設定し直す。
で、ちゃんと起動するようになりました。