ProLiant Servers (ML,DL,SL)
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem installing hp-health on debian lenny/proliant dl120

Erwan Lemonnier
Occasional Visitor

Problem installing hp-health on debian lenny/proliant dl120

Hello!

I am trying to install the debian package hp-health_8.2.5.47-11_amd64.deb found inside the latest proliant support pack. I am running on a debian lenny 5.0.1. And it does not work:

WWW0:~# apt-get install hp-health
Reading package lists... Done
Building dependency tree
Reading state information... Done
hp-health is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 39 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up hp-health (8.2.5.47-11) ...
Using Proliant Standard
IPMI based 1XX System Health Monitor
Using standard Linux IPMI device driver
Starting Proliant Standard
IPMI based 1XX System Health Monitor (hpasmpld):

invoke-rc.d: initscript hp-health, action "start" failed.
dpkg: error processing hp-health (--configure):
subprocess post-installation script returned error exit status 61
Errors were encountered while processing:
hp-health
E: Sub-process /usr/bin/dpkg returned an error code (1)


My system has one ipmi device:
WWW0:~# ls /dev/ | grep -i ipmi
ipmi0

And when I run '/etc/init.d/hp-health start' with '/bin/sh -x', I get the following trace:

+ AGENTS='cmahealthd cmastdeqd cmahostd cmathreshd cmasm2d cmarackd cmapeerd cmaeventd cmafcad cmasasd cmaidad cmaided cmascsid cmanicd'
+ HPOPENIPMI_ROOT=/opt/hp/hp-OpenIPMI
++ uname -r
+ KVER=2.6.26-2-amd64
+ PARAM=start
+ PFLAGS=
+ export RETVAL=0
+ RETVAL=0
+ export PNAME
+ export PFLAGS
+ export STARTADDON
+ export STOPADDON
+ export STATUSADDON
+ EXTRAMSG='PLEASE WAIT! It may take a few minutes'
+ unset LD_ASSUME_KERNEL
+ unset LD_LIBRARY_PATH
+ unset VMWARE
+ ''
+ ''
+ ''
+ ''
+ ''
+ LOGFILE=/var/log/hp-health/hpasmd.log
+ ''
+ ''
+ ''
+ PIDOF=/bin/pidof
+ SUPPORTED_100_SERIES=
+ DetermineProg
+ is_supported_100_series
+ ''
+ SUPPORTED_100_SERIES=1
++ which dmidecode
+ ''
++ dmidecode
++ grep 'Product Name'
++ cut '-d ' -f4
++ head -n1
+ PRODNAME=DL120
++ dmidecode
++ grep 'Product Name'
++ cut '-d ' -f5
++ head -n1
+ GENERATION=G5
++ echo DL120
++ sed 's///g'
+ PRODNUM=120
+ ''
+ ''
+ SUPPORTED_100_SERIES=0
+ return 0
+ use_hpasmpld
+ NAME='Proliant Standard\n \tIPMI based 1XX System Health Monitor'
+ PNAME=hpasmpld
++ guess_dev_file
++ is_OS_VMware4x
++ test -x /usr/bin/vmware
++ return 1
++ is_supported_100_series
++ ''
++ return 0
++ echo /dev/ipmi0
++ return
+ PFLAGS='-f /dev/ipmi0'
+ cmaecho 'Using Proliant Standard\n \tIPMI based 1XX System Health Monitor'
+ printf ' Using Proliant Standard\n \tIPMI based 1XX System Health Monitor\n'
Using Proliant Standard
IPMI based 1XX System Health Monitor
+ printf ' Using Proliant Standard\n \tIPMI based 1XX System Health Monitor\n'
+ return
+ SetupIPMI
+ is_OS_VMware4x
+ test -x /usr/bin/vmware
+ return 1
+ have_embedded_health
++ lspci -d 0e11:b203
++ cut -d ' ' -f1
+ BUSDEV=
+ ''
+ return 1
+ is_supported_100_series
+ ''
+ return 0
+ have_hp_ipmi
+ test -f /opt/hp/hp-OpenIPMI/hp-OpenIPMI
+ have_distro_ipmi
+ ''
+ modprobe -n ipmi_si
+ return 0
+ supports_pci_vend_devs
+ grep -q pci_vend_devs
++ module_path
+++ module_name
+++ is_24_kernel
++++ uname -r
++++ cut -d. -f1-2
+++ ''
+++ return 1
+++ echo ipmi_si.ko
++ local module=ipmi_si.ko
++ have_hp_ipmi
++ test -f /opt/hp/hp-OpenIPMI/hp-OpenIPMI
++ echo /lib/modules/2.6.26-2-amd64/kernel/drivers/char/ipmi/ipmi_si.ko
+ modinfo -p /lib/modules/2.6.26-2-amd64/kernel/drivers/char/ipmi/ipmi_si.ko
+ return 1
+ is_24_kernel
++ uname -r
++ cut -d. -f1-2
+ ''
+ return 1
+ supports_pci_probe
+ grep -q ipmi_pci_probe
++ module_path
+++ module_name
+++ is_24_kernel
++++ uname -r
++++ cut -d. -f1-2
+++ ''
+++ return 1
+++ echo ipmi_si.ko
++ local module=ipmi_si.ko
++ have_hp_ipmi
++ test -f /opt/hp/hp-OpenIPMI/hp-OpenIPMI
++ echo /lib/modules/2.6.26-2-amd64/kernel/drivers/char/ipmi/ipmi_si.ko
+ nm /lib/modules/2.6.26-2-amd64/kernel/drivers/char/ipmi/ipmi_si.ko
+ return 0
+ is_24_kernel
++ uname -r
++ cut -d. -f1-2
+ ''
+ return 1
+ modprobe_delay=0
+ config_distro_ipmi '' 0
+ local modopts=
+ local modprobe_delay=0
+ delay=
+ ''
+ ''
+ ''
+ STARTADDON='modprobe -a ipmi_si ipmi_devintf'
+ STATUSADDON=:
+ cmaecho 'Using standard Linux IPMI device driver'
+ printf ' Using standard Linux IPMI device driver\n'
Using standard Linux IPMI device driver
+ printf ' Using standard Linux IPMI device driver\n'
+ ''
+ ''
+ /opt/hp/hp-health/bin/IrqRouteTbl
+ RETVAL=0
+ PATH=/opt/hp/hp-health/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ case "$1" in
+ start_proc
+ modprobe -a ipmi_si ipmi_devintf
+ RETVAL=0
+ ''
+ ''
+ cmaechon 'Starting Proliant Standard\n \tIPMI based 1XX System Health Monitor (hpasmpld): '
+ printf ' Starting Proliant Standard\n \tIPMI based 1XX System Health Monitor (hpasmpld): '
Starting Proliant Standard
IPMI based 1XX System Health Monitor (hpasmpld): + printf ' Starting Proliant Standard\n \tIPMI based 1XX System Health Monitor (hpasmpld): '
++ /bin/pidof -o 26460 hpasmpld
+ pidlist=
+ ''
+ hpasmpld -f /dev/ipmi0
+ RETVAL=61
+ ''
+ ''
+ showfailure
+ ''
+ ''
+ printf '\t\t\n'

+ cmaecho
+ printf ' \n'

+ printf ' \n'
+ exit 61


When I try starting hpasmpld by hand, I get this error:

WWW0:~# /opt/hp/hp-health/bin/hpasmpld -f /dev/ipmi0
hpasmpld: Failed to inialize HP iLO Code Interface: Illegal seek

So what should I do?
Pleeez, help!

Kindly,
/Erwan Lemonnier



3 REPLIES
Erwan Lemonnier
Occasional Visitor

Re: Problem installing hp-health on debian lenny/proliant dl120

Some more information :)
In /var/log/daemon.log, hpasmpld writes the following:

Nov 30 15:23:22 WWW0 hpasmpld: Dup Entity(00)/(00) from 31 - 33 (sensor range)
Nov 30 15:23:22 WWW0 hpasmpld: Dup Entity(00)/(00) from 31 - 34 (sensor range)
(... similar message repeated many times)
Nov 30 15:23:22 WWW0 hpasmpld: Dup Entity(00)/(00) from 37 - FE (sensor range)
Nov 30 15:23:22 WWW0 hpasmpld: Dup Entity(00)/(00) from 38 - FE (sensor range)
Nov 30 15:23:22 WWW0 hpasmpld: Dup Entity(00)/(00) from 24 - FE (sensor range)
Nov 30 15:23:22 WWW0 hpasmpld: Dup Entity(00)/(00) from 21 - FE (sensor range)
Nov 30 15:23:22 WWW0 hpasmpld: Cannot parse repository - monitoring disabled
Nov 30 15:23:22 WWW0 hpasmpld: Not able to initialize data structures!


A strace on 'hpasmpld -f /dev/ipmi0' shows that each logged error corresponds to blocks similar to:

open("/dev/console", O_WRONLY|O_CREAT|O_APPEND, 0666) = 5
fstat(5, {st_mode=S_IFCHR|0600, st_rdev=makedev(5, 1), ...}) = 0
ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 -opost -isig -icanon -echo ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2de019d000
fstat(5, {st_mode=S_IFCHR|0600, st_rdev=makedev(5, 1), ...}) = 0
lseek(5, 0, SEEK_END) = -1 ESPIPE (Illegal seek)


Anybody having an idea as to what's going on?

Kind regards,
/Erwan Lemonnier
Andrew Brady_1
Occasional Visitor

Re: Problem installing hp-health on debian lenny/proliant dl120

Just a quick "me too". I get this on two identical systems.

Model : HP DL180 G5
OS : OpenSuSE11.1
RPMS : hp-health-8.2.5-50.sles11,OpenIPMI-2.0.14-1.36
Firmware : Management Firmware version 3.11

/opt/hp/hp-health/bin/hpasmpld -f /dev/ipmi0
hpasmpld: Failed to initialize HP iLO Code Interface: Illegal seek

I am not actively looking into this. But if there is an answer, I would appreciate it.

Andy
Fireto
Occasional Visitor

Re: Problem installing hp-health on debian lenny/proliant dl120

I spent some time trying to solve this for CentOS 5.5 on DL 120 G5.

Eventualy i contacted HP support. They replyed:

PSP is not supported on the 100 series servers. Please do not install it. It will not work.

 

...unfortunately