On Thu, Dec 15, 2011 at 4:42 AM, 梅亮 <meiliangw...@gmail.com> wrote:
> Hi Net-SNMP coders,
>
> When I am compiling snmpd and run it, I encountered the following errmsg:
>
> [root@limei net-snmp-5.5.1]# snmpd
>
> snmpd: error while loading shared libraries: libnetsnmp.so.20: cannot enable
> executable stack as shared object requires: Permission denied

This is an selinux error message.  I personally know very little about
selinux other than it gets in the way a lot.

When I encounter an error message that I don't understand, I like to
search for it in Google.  Searching for "cannot enable executable
stack as shared object requires" returns a lot of hits.
http://www.crypt.gen.nz/selinux/faq.html#CP.19 implies that you may be
able to use "execstack -s snmpd" to mark snmpd as requiring an
executable stack, but I have no way to know if that will help you or
not.

  Bill

------------------------------------------------------------------------------
10 Tips for Better Server Consolidation
Server virtualization is being driven by many needs.  
But none more important than the need to reduce IT complexity 
while improving strategic productivity.  Learn More! 
http://www.accelacomm.com/jaw/sdnl/114/51507609/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to