- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- Re: Error: Unable to execute /opt/hp/hpsmh/data/cg...
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
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
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
01-03-2014 05:56 AM
01-03-2014 05:56 AM
Hi,
I have installd the HP Health agents version 9.40 on my Ubuntu 10.04LTS servers.
I am unable to clear the integrated management logs through the system management homepage.
If i select an entry and click "Mark selected items repaired" or if i click "Mark all items repaired"
Then i only get the following error message "Error: Unable to execute /opt/hp/hpsmh/data/cgi-bin/snmpagent/SetSNMPData.cgis"
The file is not executable on the system, if i try and set it to be executable, i get no error message at all, but the IML entry does not get cleared.
This works fine on Ubuntu 10.04 using the 8.50 hp health package.
Anyone seen this or have any suggestions as to what i can try?
Many thanks for any imput.
Br
Patric Gustavsson
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2014 09:49 AM
01-03-2014 09:49 AM
Re: Error: Unable to execute /opt/hp/hpsmh/data/cgi-bin/snmpagent/SetSNMPData.cgis
I gues you use SNMP as a dataprovider, did you also create a SNMP write comunity in your Snmpd.conf?
Kind regards,
Andrew
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2014 06:51 AM - edited 01-15-2014 06:52 AM
01-15-2014 06:51 AM - edited 01-15-2014 06:52 AM
Re: Error: Unable to execute /opt/hp/hpsmh/data/cgi-bin/snmpagent/SetSNMPData.cgis
Hi,
Yes i have, i have tried with these two setups in snmpd.conf (one a direct copy of my working setup on ubunty 10.04)
/etc/snmp/snmpd.conf (working on ubuntu 10.04)
dlmod cmaX /usr/lib64/libcmaX64.so
rocommunity INLIGHT2
rwcommunity INLIGHT
trapcommunity INLIGHT
trapsink dnsname.of.my.hpsim.com INLIGHT
authtrapenable 1
syscontact Root <root@localhost> (configure /etc/snmp/snmpd.local.conf)
syslocation Unknown (configure /etc/snmp/snmpd.local.conf)
com2sec readwrite 10.211.111.222 INLIGHT
# Second, map the security names into group names:
# sec.model sec.name
group MyROSystem v1 paranoid group
MyROSystem v2c paranoid group
MyROSystem usm paranoid group
MyROGroup v1 readonly group
MyROGroup v2c readonly group
MyROGroup usm readonly group
MyRWGroup v1 readwrite group
MyRWGroup v2c readwrite group
MyRWGroup usm readwrite
#### # Third, create a view for us to let the groups have rights to:
# incl/excl subtree mask
view all included .1 80
view system included .1.3.6.1.2.1.1
#view system included .iso.org.dod.internet.mgmt.mib-2.system
#### # Finally, grant the 2 groups access to the 1 view with different
# write permissions:
# context sec.model sec.level match read write notif
access MyROSystem "" any noauth exact system none none
access MyROGroup "" any noauth exact all none none
access MyRWGroup "" any noauth exact all all none
# -----------------------------------------------------------------------------
/etc/snmp/snmpd.conf (new config not working either)
dlmod cmaX /usr/lib/libcmaX64.so
rwcommunity INLIGHT 127.0.0.1
rocommunity INLIGHT2 127.0.0.1
rwcommunity INLIGHT myhpsim.dns.name.com
trapcommunity INLIGHT
trapsink myhpsim.dns.name.com INLIGHT
syscontact patric.gustavsson@myemail.com
syslocation Town
com2sec local localhost INLIGHT
com2sec mynetwork 136.111.111.0/23 INLIGHT
group MyRWGroup v1 local
group MyRWGroup v2c local
group MyRWGroup usm local
group MyROGroup v1 mynetwork
group MyROGroup v2c mynetwork
group MyROGroup usm mynetwork
view all included .1 80
access MyROGroup "" any noauth exact all none none
access MyRWGroup "" any noauth exact all all none
Br
Patric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2014 03:18 AM
01-24-2014 03:18 AM
Re: Error: Unable to execute /opt/hp/hpsmh/data/cgi-bin/snmpagent/SetSNMPData.cgis
Same error here. My snmpd.conf only has ro-, rw- and trapcommunty.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2014 10:18 PM
03-18-2014 10:18 PM
Re: Error: Unable to execute /opt/hp/hpsmh/data/cgi-bin/snmpagent/SetSNMPData.cgis
I was able to get this working by modifiying permissions on SetSNMPData.cgis to 755 and setting the group from root to hpsmh and by making sure the snmp config has a read/write commuity enabled.
Hope this helps someone else...
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2014 06:38 AM
04-04-2014 06:38 AM
Re: Error: Unable to execute /opt/hp/hpsmh/data/cgi-bin/snmpagent/SetSNMPData.cgis
Hi,
Many thanks for the reply and suggestion!
i have tried the method that helped you, i set the SetSNMPData.cgis file to 755 , however the group owner of the file is already set to hpsmh.
Now i no longer get any error message, but i still cannot clear any errors in the iml log, the log list just reloads without clearing the error :(
Any other suggestions are most welcome!
Br
Patric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2014 01:27 AM
04-11-2014 01:27 AM
SolutionUpdate!
This solved it for me :
chmod 755 /opt/hp/hpsmh/data/cgi-bin/snmpagent/SetSNMPData.cgi
AND
chmod 755 /opt/hp/hpsmh/data/cgi-bin/snmpagent/SetSNMPData.cgis
Many thanks to ericj123 who lead me in the right direction!