cancel
Showing results for 
Search instead for 
Did you mean: 

hponcfg and hprsm issue...

SOLVED
Go to solution
roliva
Occasional Advisor

hponcfg and hprsm issue...

Hello,

I have an issue with hponcfg command :

[root@qvidlas2 tmp]# hponcfg
HPONCFG RILOE II/iLO setup and configuration utility
Version 1.6 (c) Hewlett-Packard Company, 2005-2006

ERROR: Couldn't detect iLO/RILOE-II device.
iLO/RILOE-II Driver module is not running OR
iLO/RILOE-II Hardware does not exist OR
There is some problem in detecting iLO/RILOE-II Hardware.
[root@qvidlas2 tmp]#


I have removed hponcfg and hprsm packages.. but I encounter sone issue on one server during hprsm installation :
[root@qvidlas2 tmp]# rpm -i hprsm-7.9.0-108.rhel4.x86_64.rpm
Please read the License Agreement for this software at

/opt/compaq/hprsm/hprsm.license

By not removing this package, you are accepting the terms
of the "License for HP Value Added Software".
Building custom cpqci driver
Failed to rebuild for custom kernel.
No Insight Management devices available
(missing or disabled) on this system.
Please remove the hprsm package at your
earliest convenience (rpm -e hprsm).

==============================================================================
NOTE: New cma.conf entries were added to the top of /opt/compaq/cma.conf
==============================================================================
Starting HP Lights-Out Drivers and Agents (hprsm):

The hprsm RPM installation failed!
Installation failure may be due to incomplete or missing
build environment or to absent hardware (RILOE/RILOE II,
iLo/iLo 2). Please refer to the installation notes or to the
Linux Management HowTo available from http://www.hp.com/linux.
error: %post(hprsm-7.9.0-108.rhel4.x86_64) scriptlet failed, exit status 1
[root@qvidlas2 tmp]#

Someone can help me ?

Thanks,
10 REPLIES
~sesh
Esteemed Contributor

Re: hponcfg and hprsm issue...

Not very sure, but it could be looking for the system health & insight management agents which provided communication & health status monitoring for the installed hardware components.

See this link (assuming you have RHEL4 since you have hprsm for RHEL4):

http://h18023.www1.hp.com/support/files/server/us/download/27590.html?jumpid=reg_R1002_USEN

Install the above system health and insight management agents and then try installing hprsm & hponcfg.

Good Luck!
roliva
Occasional Advisor

Re: hponcfg and hprsm issue...

Hello,

I have remove hprsm, hponcfg, hpasm... and reinstalled them and same result...
hprsm installation failed.


[root@qvidlas1 tmp]# rpm -i hprsm-7.9.0-108.rhel4.x86_64.rpm
Please read the License Agreement for this software at

/opt/compaq/hprsm/hprsm.license

By not removing this package, you are accepting the terms
of the "License for HP Value Added Software".
Building custom cpqci driver
Failed to rebuild for custom kernel.
No Insight Management devices available
(missing or disabled) on this system.
Please remove the hprsm package at your
earliest convenience (rpm -e hprsm).

==============================================================================
NOTE: New cma.conf entries were added to the top of /opt/compaq/cma.conf
==============================================================================
Starting HP Lights-Out Drivers and Agents (hprsm):

The hprsm RPM installation failed!
Installation failure may be due to incomplete or missing
build environment or to absent hardware (RILOE/RILOE II,
iLo/iLo 2). Please refer to the installation notes or to the
Linux Management HowTo available from http://www.hp.com/linux.
error: %post(hprsm-7.9.0-108.rhel4.x86_64) scriptlet failed, exit status 1
[root@qvidlas1 tmp]#


???
~sesh
Esteemed Contributor

Re: hponcfg and hprsm issue...

Apparently, the installation is failing due to an issue with build environment or absent hardware.

Either hprsm can't detect your iLO/RILOE hardware, or may be due to missing libraries for the build.

Please reboot the server & see if your iLO/RILOE initializes during POST. If it doesn't, it's a physical problem with it. If it initializes, but you still can't install hprsm, try to update the firmware for iLO/RILOE.

Not too sure, how to check for the missing build libraries though. You could check for the required dependencies for the hprsm by:

rpm -qp --requires

i.e. rpm -qp --requires hprsm.xx.x.x

The other thing you can try is, to skip the script execution in rpm, by adding the --noscripts switch.
roliva
Occasional Advisor

Re: hponcfg and hprsm issue...

Hello,

The ILO works properly... and the firmware are identical on several servers on which hponcfg command works.

It seems all necessary libraies are installed :
[root@qvifsal2 ~]# rpm -qp --requires /tmp/hprsm-7.9.0-108.rhel4.x86_64.rpm
/bin/sh
/bin/bash
hpasm >= 7.5.0
/bin/sh
/bin/sh
/bin/sh
/bin/sh
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
[root@qvifsal2 ~]#


With --noscripts option the result is the same...

[root@qvifsal2 ~]# rpm -i --noscripts /tmp/hprsm-7.9.0-108.rhel4.x86_64.rpm
[root@qvifsal2 ~]#
[root@qvifsal2 ~]#
[root@qvifsal2 ~]# rpm -i /tmp/hponcfg-1.6.0-1.linux.rpm
[root@qvifsal2 ~]#
[root@qvifsal2 ~]#
[root@qvifsal2 ~]# hponcfg
HPONCFG RILOE II/iLO setup and configuration utility
Version 1.6 (c) Hewlett-Packard Company, 2005-2006

ERROR: Couldn't detect iLO/RILOE-II device.
iLO/RILOE-II Driver module is not running OR
iLO/RILOE-II Hardware does not exist OR
There is some problem in detecting iLO/RILOE-II Hardware.
[root@qvifsal2 ~]#


Have you got ohter ideas ?


Thanks,
roliva
Occasional Advisor

Re: hponcfg and hprsm issue...

I think there is an issue with cpqci module... on impacted servers this module isn't loaded in kernel...

# lsmod |grep cpq
cpqci 42344 0
#
~sesh
Esteemed Contributor
Solution

Re: hponcfg and hprsm issue...

Oh great! Then you should be looking for HP Lights-Out Drivers and Agents for Red Hat Enterprise Linux 4 at:

http://h18007.www1.hp.com/support/files/server/us/download/27045.html

OR

http://h18007.www1.hp.com/support/files/server/us/download/27043.html
roliva
Occasional Advisor

Re: hponcfg and hprsm issue...

I have just checked all RPM install scripts and I found the issue... sometimes gcc wasn't installed on some servers.

So, I have to find why gcc isn't installed everytime by kickstart.

Thanks for your help.
~sesh
Esteemed Contributor

Re: hponcfg and hprsm issue...

Great stuff! Thanks for the update.
Gerardo Arceri
Trusted Contributor

Re: hponcfg and hprsm issue...

Hello,
I have the same issue, but the gcc is installed
hardware : ProLiant DL380 G3
SO : Red Hat Enterprise Linux AS release 4 (Nahant Update 4)

-----
# rpm -i hprsm-7.6.0-106.rhel4.i386.rpm
Please read the License Agreement for this software at

/opt/compaq/hprsm/hprsm.license

By not removing this package, you are accepting the terms
of the "License for HP Value Added Software".
Building custom cpqci driver
Failed to rebuild for custom kernel.
No Insight Management devices available
(missing or disabled) on this system.
Please remove the hprsm package at your
earliest convenience (rpm -e hprsm).

==============================================================================
NOTE: New cma.conf entries were added to the top of /opt/compaq/cma.conf
==============================================================================
Starting HP Lights-Out Drivers and Agents (hprsm):

The hprsm RPM installation failed!
Installation failure may be due to incomplete or missing
build environment or to absent hardware (RILOE/RILOE II,
iLo/iLo 2). Please refer to the installation notes or to the
Linux Management HowTo available from http://www.hp.com/linux.
error: %post(hprsm-7.6.0-106.rhel4.i386) scriptlet failed, exit status 1

-----
#lsmod |grep cpq
cpqphp 62949 0
James Burwell
Occasional Visitor

Re: hponcfg and hprsm issue...

This can also happen if you don't have the -devel version of the Kernel installed.

You have to load the kernel-devel RPM (aka the kernel source files in /usr/src) for the kernel you are running or it can't build the kernel driver.

This means if you're running kernel-.*.smp or kernel-.*-largesmp the devel RPM for those needs to be loaded.