Server Management - Remote Server Management
cancel
Showing results for 
Search instead for 
Did you mean: 

hp-health and hp-ilo failing on Fedora 28 DL180 G6

 
Highlighted
Occasional Advisor

hp-health and hp-ilo failing on Fedora 28 DL180 G6

I'm trying to use these 2 versions on Fedora 28, which I'm sure if part of the problem:
1) HP Health 10.7-1846.6, hp-health-10.70-1846.6.rhel7.x86_64
2) HP ILO 8.5 hp-ilo-8.5.0-1.rhel5.x86_64

systemctl status hp-health

hp-health.sh[31576]:   Trying to identify the Product Name...  Done
hp-health.sh[31576]:   Using Proliant Standard
hp-health.sh[31576]:          IPMI based 1XX System Health Monitor
hp-health.sh[31576]:   Using standard Linux IPMI device driver
hp-health.sh[31576]:   Starting Proliant Standard
hp-health.sh[31576]:          IPMI based 1XX System Health Monitor (hpasmpld):
hp-health.sh[31576]: [FAILED]
systemd[1]: hp-health.service: Control process exited, code=exited status=22
systemd[1]: hp-health.service: Failed with result 'exit-code'.
systemd[1]: Failed to start HP System Health Monitor.

systemctl status hp-ilo

systemd[1]: Starting LSB: hpilo Driver init script...
hp-ilo[30205]:   Starting hp-ilo: [FAILED]
hp-ilo[30205]:   Check installed kernel failed
systemd[1]: hp-ilo.service: Control process exited, code=exited status=1
systemd[1]: hp-ilo.service: Failed with result 'exit-code'.
systemd[1]: Failed to start LSB: hpilo Driver init script.

I created symbolic links to ~/kernel/drivers/char/ipmi/ipmi_si.ko and ~/source/include/linux/autoconf.h. I uploaded the make.log here. The last few lines are:

/opt/hp/hp-ilo/drivers/misc/hpilo.c:711:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ilo_map_device’
 static int __devinit ilo_map_device(struct pci_dev *pdev, struct ilo_hwinfo *hw)
                      ^~~~~~~~~~~~~~
/opt/hp/hp-ilo/drivers/misc/hpilo.c:780:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ilo_probe’
 static int __devinit ilo_probe(struct pci_dev *pdev,
                      ^~~~~~~~~
/opt/hp/hp-ilo/drivers/misc/hpilo.c:902:14: error: ‘ilo_probe’ undeclared here (not in a function); did you mean ‘ilo_close’?
  .probe    = ilo_probe,
              ^~~~~~~~~
              ilo_close
/opt/hp/hp-ilo/drivers/misc/hpilo.c:903:14: error: implicit declaration of function ‘__devexit_p’ [-Werror=implicit-function-declaration]
  .remove   = __devexit_p(ilo_remove),
              ^~~~~~~~~~~

cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:331: /opt/hp/hp-ilo/drivers/misc/hpilo.o] Error 1
make[1]: *** [Makefile:1565: _module_/opt/hp/hp-ilo/drivers/misc] Error 2
make[1]: Leaving directory '/usr/src/kernels/4.16.13-300.fc28.x86_64'
BUILD ERROR: Build for  KERNEL VERSION: 4.16.13-300.fc28.x86_64  LINUX_BUILD_DIR:  /lib/modules/4.16.13-300.fc28.x86_64/build/ FAILED
 
make: *** [Makefile:20: build] Error 1

8 REPLIES 8
Highlighted
Honored Contributor

Re: hp-health and hp-ilo failing on Fedora 28

what server model / generation are you working with?

No support by private messages. Please ask the forum! 
Highlighted
Occasional Advisor

Re: hp-health and hp-ilo failing on Fedora 28

Sorry I should have put that: ProLiant DL180 G6

Highlighted
Occasional Advisor

Re: hp-health and hp-ilo failing on Fedora 28

Update: I got hp-health to start by downgrading to

hp-health-10.00-1688.34.rhel6.x86_64

but hp-ilo still fails with the same errors.

Highlighted
Occasional Advisor

Re: hp-health and hp-ilo failing on Fedora 28

Now we are getting this:

systemctl status hp-health
Jun 18 12:12:25  hp-health[16844]:   Starting NIC Agent Daemon (cmanicd):   Unable to determine if cmanic successfully started
Jun 18 12:12:25  hp-health[16844]:   
Jun 18 12:12:25  systemd[1]: hp-health.service: Control process exited, code=exited status=22
Jun 18 12:12:25  systemd[1]: hp-health.service: Failed with result 'exit-code'.
Jun 18 12:12:25  systemd[1]: Failed to start LSB: hp System Health Monitor and Command line Utility Package.

Same thing when I try to start cmanicd manually:

/opt/hp/hp-snmp-agents/nic/etc/cmanic restart
Re-starting NIC Agents (cmanic): All agents
   
  Shutting down NIC Agent Daemon (cmanicd):                [FAILED]
  Starting NIC Agent Daemon (cmanicd):   Unable to determine if cmanic successfully started

Anybody have any suggestions? Now at least hp-ilo and hp-snmp-agents are starting.

Highlighted
Occasional Advisor

Re: hp-health and hp-ilo failing on Fedora 28

Well I got a little bit further, after seeing these error messages with cmanicd:

cmanicd: error while loading shared libraries: libnetsnmphelpers.so.20: cannot open shared object file: No such file or directory
cmanicd: error while loading shared libraries: libnetsnmpmibs.so.20: cannot open shared object file: No such file or directory

So I was able to make symbolic links to the existing libraries but alas another error appeared which is where I'm stuck:

Jul 12 15:26:13 storm systemd[1]: hp-health.service: Control process exited, code=exited status=22
Jul 12 15:26:13 storm systemd[1]: hp-health.service: Failed with result 'exit-code'.
Jul 12 15:26:13 storm systemd[1]: Failed to start LSB: hp System Health Monitor and Command line Utility Package..
Jul 12 15:27:50 storm hpasmpld[27376]: usage:  hpasmpld -f <ipmi device> -d <debug flags>
Jul 12 15:27:50 storm hpasmpld[27376]:         debug flags (add together to combine):  1- Do not deamonize, 2 - Verbose Output
Jul 12 15:27:50 storm hpasmpld[27376]:                                                 4- Print IPMI CMD / RSP, 8- Print SDR's
Jul 12 15:27:53 storm hpasmpld[27381]: IPMICTL_SET_GETS_EVENTS_CMD failed!

And the in the hpasmd.log:

Trying to identify the Product Name...  Done
  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):
hpasmpld: get_options  failed: Invalid argument

Not sure if anyone is reading these but perhaps it'll help someone else...

Highlighted
Honored Contributor

Re: hp-health and hp-ilo failing on Fedora 28

hp-ilo has been open sourced and included in the upstream kernel tree for some time now, you shouldn't need to  install it.  You might try hp-health-10.80-1855.21.rhel7.x86_64.rpm but I don't think it is tested on Fedora.  If you just want health information, look at loading 'ams' which will report health information to iLO

No support by private messages. Please ask the forum! 
Highlighted
Occasional Advisor

Re: hp-health and hp-ilo failing on Fedora 28

Thanks Jimmy I upgraded:

 

rpm -q hp-health
hp-health-10.80-1855.21.rhel7.x86_64

Still getting:

 

Trying to identify the Product Name...  Done
  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): 
hpasmpld: get_options  failed: Invalid argumen

Any idea where I can perhaps comment out "get_options"? I'm also seeing:

hpasmpld[2174]: hpasmpld:  Invalid Device: /dev/ipmi0

 

 

 

 

Highlighted
Honored Contributor

Re: hp-health and hp-ilo failing on Fedora 28

is ipmi enabled? When it is not you will generally get a message like

Invalid Device: /dev/ipmi0

When an ipmi utility tries to query the system 

No support by private messages. Please ask the forum!