VMware Cloud Community
sgstuart
Contributor
Contributor

(hpmgmt) hp-OpenIPMI will not uninstall

Hi All,

I am hitting my head against the wall way too long now, and I am asking for help. 1 and only 1 of our many ESX boxes is having this problem. It (they all are) a 3.5.0 update 4 server. I have not been able to install hpmgmt 8.2, because it says there are some already installed. rpm and --uninstalls show that there are 2 installed a 7.8 version and a 7.9 version. When trying to uninstall using rpm -e hp-OpenIPMI-7.9.0-110.vmware30 it says that

Upgrades are not permitted for the hp-OpenIPMI package.

Please remove the package using the command: rpm -e hp-OpenIPMI

error: %prerun(hp-OpenIPMI-7.9.0-110.vmware30) scriptlet failed, exit status 1

when I run rpm -e hp-OpenIPMI by it self it has the same 3 lines after this 1 line error: "hp-OpenIPMI" specifies multiple packages so it is stuck in a recursive logic (at least not programatically Smiley Happy )

I have stopped pegasus and I do not have an hpasm to stop. I have not found anything else helpful.

Thanks,

Steven Stuart

0 Kudos
4 Replies
jonathanp
Expert
Expert

Try to see if you get the correct package name by running :

rpm -qa | grep hp-OpenIPMI

then retry with correct package name : rpm -e "package name"

if nothing works and your not afraid that this can cause other issue to your systems, you may try to force the removal by using something like this :

rpm --force -e hp-OpenIPMI

or

rpm --force --nodeps -e hp-OpenIPMI

Jonathan

0 Kudos
sgstuart
Contributor
Contributor

Hi Jonathan,

I had already done the

rpm -e "Package name"

that was the first thing that I put in my question. It was a good suggestion though.

rpm --force -e hp-OpenIPMI

gives the following error.

rpm: only installation, upgrading, rmsource and rmspec may be forced, so that is not helping.

Please any other suggestions. Even if I have to go in a delete individual files, or delete things that makes the system (or at least rpm) not think that it is installed.

Thanks,

Steven Stuart

0 Kudos
msemon1
Expert
Expert

It sounds like you are having problems with the HP Fibre agents like I was. Here was our fix

Disabling HP Fibre Channel Agents

To Eliminate SCSI reservation errors caused be HPIM agents, the following agents are recommended to be disabled:

  • Cmafcad

  • Cmahost

To disable the Fibre Agent:

1. Log into the ESX Server host service console.

2. Stop all management agents.

Service hpasm stop

Stop IPMI driver

lsmod |grep ipmi

lsof -a/dev/ipmi0

service pegasus stop

modprobe -r ipmi

Disable IPMI

chkconfig --level 12345 ipmi off

Service hpsmhd stop

Open the file /opt/Compaq/cma.conf in text editor (Nano)

Add exclude cmahost cmahostd cmafcad to the top of the file.

Save the file and exit editor

6. Issue the following commands.

  • Service hpasm start

  • Service hpsmhd start

Hope that helps.

Mike

0 Kudos
sgstuart
Contributor
Contributor

Hi Mike,

Thank you for your response. I do not have an HP Fibre Channel Agent. However, I decided to give your stuff a whirl. First hpasm does not exist, states unrecognized service.

The lsmod line gives me

ipmi_devintf

ipmi_si_drv

ipmi_msghandler

The lsof line did nothing (at least nothing apparent)

The pegasus service was/is already stopped

The modprobe line did nothing (at least nothing apparent)

I ran the chkconfig line

The hpsmhd service does not exist

and there is no cma.conf file under /opt/compaq (there is only a utils folder with a IrqRouteTable file in it)

Thanks,

Steven Stuart

0 Kudos