- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: hpasmcli command is not working .
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2010 11:54 PM
тАО11-28-2010 11:54 PM
ips132root#hpasmcli
HP management CLI for Linux (v1.0)
Copyright 2004 Hewlett-Packard Development Group, L.P.
--------------------------------------------------------------------------
NOTE: Some hpasmcli commands may not be supported on all Proliant servers.
Type 'help' to get a list of all top level commands.
--------------------------------------------------------------------------
hpGetSemID() semget failed: No such file or directory
ERROR: Could not open /dev/cpqhealth/cdt.
Please make sure the Health Monitor is started.
Another error is : -
ipl133root#hpasmcli
HP management CLI for Linux (v1.0)
Copyright 2004 Hewlett-Packard Development Group, L.P.
--------------------------------------------------------------------------
NOTE: Some hpasmcli commands may not be supported on all Proliant servers.
Type 'help' to get a list of all top level commands.
--------------------------------------------------------------------------
Can anyone help in finding out the real cause and the solution for this issue.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2010 08:50 AM
тАО11-29-2010 08:50 AM
Re: hpasmcli command is not working .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2010 10:21 PM
тАО11-29-2010 10:21 PM
Re: hpasmcli command is not working .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2010 01:26 AM
тАО11-30-2010 01:26 AM
Re: hpasmcli command is not working .
Which Proliant model(s) have this problem? Please show the full model string, including the generation number. For example: DL380 G6 or ML370 G3. If there is no generation identifier, the server is probably a first-generation version of that model.
You can usually find the model string with:
dmidecode |grep -i proliant
What's the name and version of your Linux distribution?
Please show the output of these commands:
ls -l /dev/cpqhealth
(If this directory does not exist or does not contain the appropriate device nodes, then the HP hardware monitoring drivers are *not* running properly.)
rpm -q hp-health hpasm hprsm
(If hpasmcli and the associated tools were installed using RPMs, this command should identify the installed versions.)
lsmod | grep -e ^hp -e ^cpq
ps -ef | grep cma
(These commands should list the kernel modules and processes associated with the hardware monitoring drivers.)
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2010 12:29 AM
тАО12-03-2010 12:29 AM
Re: hpasmcli command is not working .
This is the output which you asked.
Also our HP server model is Base model
HP Proliant DL 580 G5. Also the same issue is with DL 380 servers .
ls -l /dev/cpqhealth
ips132root#ls -l /dev/cpqhealth
total 0
crw-r--r-- 1 root root 255, 171 Oct 8 2009 casr
crw-r--r-- 1 root root 255, 173 Oct 8 2009 ccsm
crw-r--r-- 1 root root 255, 178 Oct 8 2009 cdt
crw-r--r-- 1 root root 255, 172 Oct 8 2009 cecc
crw-r--r-- 1 root root 255, 176 Oct 8 2009 cevt
crw-r--r-- 1 root root 255, 180 Oct 8 2009 crom
crw-r--r-- 1 root root 255, 192 Oct 8 2009 indc
crw-r--r-- 1 root root 255, 191 Oct 8 2009 proc
ips132root#rpm -q hp-health hpasm hprsm
hp-health-8.1.1-14.rhel4
package hpasm is not installed
package hprsm is not installed
cd
cd
ips132root#lsmod |grep -e ^hp -e ^cpq
hp_ilo 44156 5
ips132root#ps -ef |grep cma
root 4254 1 0 2009 ? 00:17:55 cmastdeqd -p 30
root 4257 1 0 2009 ? 00:35:07 cmahealthd -p 30 -s OK -t OK -i
root 4259 1 0 2009 ? 00:00:00 cmathreshd -p 5 -s OK
root 4277 1 0 2009 ? 00:01:39 cmasm2d -p 30
root 4279 1 0 2009 ? 08:30:14 cmahostd -p 15 -s OK
root 4325 1 0 2009 ? 00:00:00 cmapeerd
root 4341 1 0 2009 ? 00:04:25 cmaeventd -p 15
root 4359 1 0 2009 ? 00:25:31 cmafcad -p 15 -s OK
root 4377 1 0 2009 ? 00:00:00 cmasasd -p 15 -s OK
root 4391 1 0 2009 ? 00:51:45 cmaidad -p 15 -s OK
root 4406 1 0 2009 ? 00:00:00 cmaided -p 15 -s OK
root 4431 1 0 2009 ? 00:00:00 cmascsid -p 15 -s OK
root 4448 1 0 2009 ? 00:00:01 cmanicd
root 18378 11585 0 13:54 pts/2 00:00:00 grep cma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2010 12:35 PM
тАО12-03-2010 12:35 PM
Re: hpasmcli command is not working .
2) the error states your issue ?
"ERROR: Could not open /dev/cpqhealth/cdt.
Please make sure the Health Monitor is started."
stop and restart the health services and look for /dev/cpqhealth/cdt file like it is asking for.
service hp-health status
service hp-health restart.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2010 10:57 PM
тАО12-03-2010 10:57 PM
Re: hpasmcli command is not working .
One more error is there . I checked for hp-health status.It is running normally. For the two types of errors i checked for hp-health status . it is running .
Please find below status .
ipl133root#hpasmcli
HP management CLI for Linux (v1.0)
Copyright 2004 Hewlett-Packard Development Group, L.P.
--------------------------------------------------------------------------
NOTE: Some hpasmcli commands may not be supported on all Proliant servers.
Type 'help' to get a list of all top level commands.
--------------------------------------------------------------------------
ipl133root#service hp-health status
hp-OpenIPMI Status:
Module Size Used by
ipmi_si 75680 2
ipmi_devintf 44432 4
ipmi_msghandler 72052 2 ipmi_si,ipmi_devintf
(hpasmxld) is running... [ OK ]
ips132root#hpasmcli
HP management CLI for Linux (v1.0)
Copyright 2004 Hewlett-Packard Development Group, L.P.
--------------------------------------------------------------------------
NOTE: Some hpasmcli commands may not be supported on all Proliant servers.
Type 'help' to get a list of all top level commands.
--------------------------------------------------------------------------
hpGetSemID() semget failed: No such file or directory
ERROR: Could not open /dev/cpqhealth/cdt.
Please make sure the Health Monitor is started.
ips132root#service hp-health status
hp-OpenIPMI Status:
Module Size Used by
ipmi_si 44760 2
ipmi_devintf 11024 4
ipmi_msghandler 34824 2 ipmi_si,ipmi_devintf
(hpasmxld) is running... [ OK ]
ips132root#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-14-2010 12:06 AM
тАО12-14-2010 12:06 AM
Re: hpasmcli command is not working .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2018 12:28 AM
тАО05-14-2018 12:28 AM
SolutionDear All,
I finally succeed to make the command "hplog -v " to work, that's why I am sharing with the community my experience.
We have a dataserver with ~300 servers family HP Proliant most are BL460c with few DL380 type and we have generation: G6, G7, GEN8 and GEN9.
They are running Linux Sientific Linux CERN 6 (SLC6), based on RHEL6 and a CentOs CERN 7 (CC7 x86_64), based on CentOs version.
On all our CC7 x86_64 almost all runing "3.10.0-693.11.6.el7.x86_64" kernel we always experienced the error: "/dev/cpqhealth/cdt not found"
It seams that this is due to IPMI kernel modules for CentOs7 that have change formating.
HP agents try to communicate with :
/lib/modules/3.10.0-693.11.6.el7.x86_64/kernel/drivers/char/ipmi/ipmi_si.ko
instead of the module :
/lib/modules/3.10.0-693.11.6.el7.x86_64/kernel/drivers/char/ipmi/ipmi_si.ko.xz
to check witch one are installed: [root] ~ # find /lib/modules/ -name ipmi_si.ko*
Of course you should have the following modules in your kernel
[root] ~ # lsmod | grep -e ^hp -e ^cpq
hpwdt 14278 0
hpilo 17381 12
hpsa 99514 4
[root] ~ # lsmod |grep ipmi
ipmi_si 53456 0
ipmi_devintf 17572 0
ipmi_msghandler 46608 2 ipmi_devintf,ipmi_si
Since the last HP-HEALTH version 10.70 that you can find under:
https://downloads.linux.hpe.com/SDR/repo/spp/2018.03.0/packages/
You can download the two following packages:
hp-health-10.70-1846.6.rhel7.x86_64
hp-snmp-agents-10.70-2962.5.rhel7.x86_64
and then install them:
yum install ./hp-health-10.70-1846.6.rhel7.x86_64.rpm hp-snmp-agents-10.70-2962.5.rhel7.x86_64.rpm
/bin/systemctl restart hp-snmp-agents.service
and the hplog command work fine after!
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2018 01:08 AM
тАО10-19-2018 01:08 AM
Re: hpasmcli command is not working .
I am having the same issue with a HP ProLiant ML350p G8 running Debian 7 (OpenVZ 2.6.32 kernel).
I've tried to restart the hp-health and hp-snmp-agents services, reinstalling them (removing them with purge).
I have these kernel modules loaded: hpilo, hpwdt, hpsa
When I issue the hpasmcli command I get this:
ERROR: Could not open /dev/cpqhealth/cdt.
Please make sure the Health Monitor is started.
Can you suggest something to solve this?
Thank you!