Operating System - Linux
1752806 Members
6198 Online
108789 Solutions
New Discussion

Re: /opt/hp/hp-snmp-agents/server/etc/cmad: line 213: rc_status: command not found

 
ljinde
Occasional Contributor

/opt/hp/hp-snmp-agents/server/etc/cmad: line 213: rc_status: command not found

Hello team,

I installed hp-health and hp-snmp-agents on Red Hat machine. This is DB server. The installation od these agents were succesfull. But when I try to check the status of these agents I get the below message. Not sure how to get rid of it.

[root@server etc]# /etc/init.d/hp-snmp-agents status

cmahealthd is .../opt/hp/hp-snmp-agents/server/etc/cmad: line 213: rc_status: command not found

cmastdeqd is .../opt/hp/hp-snmp-agents/server/etc/cmad: line 213: rc_status: command not found

cmahostd is .../opt/hp/hp-snmp-agents/server/etc/cmad: line 213: rc_status: command not found

cmathreshd is .../opt/hp/hp-snmp-agents/server/etc/cmad: line 213: rc_status: command not found

cmasm2d is .../opt/hp/hp-snmp-agents/server/etc/cmad: line 213: rc_status: command not found

cmaperfd is .../opt/hp/hp-snmp-agents/server/etc/cmad: line 213: rc_status: command not found

cmapeerd is .../opt/hp/hp-snmp-agents/server/etc/cmad: line 213: rc_status: command not found

cmaeventd is .../opt/hp/hp-snmp-agents/server/etc/cmad: line 213: rc_status: command not found

cmafcad is .../opt/hp/hp-snmp-agents/server/etc/cmad: line 213: rc_status: command not found

cmasasd is .../opt/hp/hp-snmp-agents/server/etc/cmad: line 213: rc_status: command not found

cmaidad is .../opt/hp/hp-snmp-agents/server/etc/cmad: line 213: rc_status: command not found

cmaided is .../opt/hp/hp-snmp-agents/server/etc/cmad: line 213: rc_status: command not found

cmascsid is .../opt/hp/hp-snmp-agents/server/etc/cmad: line 213: rc_status: command not found

cmanicd is running... [ OK ]

 

[root@server etc]# rpm -qa | grep -i hp-
hp-ilo-8.5.0-1.rhel5
hp-health-9.20-1528.19.rhel5
hp-snmp-agents-9.20-2350.17.rhel5

Upon checking /etc/rc.status file, found that it is an empty file.

[root@server etc]# ls -lrt /etc/rc.status
-rw-r--r-- 1 root root 0 Dec 7 2016 /etc/rc.status

Any ideas ?

1 REPLY 1
KK
HPE Pro

Re: /opt/hp/hp-snmp-agents/server/etc/cmad: line 213: rc_status: command not found

Hi,

What is the server model and OS version?

Check out if the SNMP service is running on the server and restart the SNMP service, hp-health and SNMP agents services and check out. The results should be positive.

From the versions, the hp-health and snmp-agents are very old. Update the versions to the latest available.

Regards,

KK

I am an HPE Employee


Accept or Kudo