Fong Tsui wrote: > Fong Tsui wrote: >>> When I try to use dlmod to load shared module, I got the following >>> error: >>> dlopen failed: /root/gtmmib.so: cannot open shared object file: >>> Permission denied >>> >>> /root/gtmmib.so has been set to "chmod 777". > /root is also "chmod 777". > > Thomas Anders> What are the permissions of the /root directory itself? > /root is also "chmod 777". > > Thomas Anders> If you strace the process, what's the output for the > dlopen call? > Attached is my strace -o strace.log snmpd -c /config/snmpd.conf. > I don't see anything for dlopen call in strace.log file.
You're not tracing the forked child. Rerun with: strace -f -o strace.log snmpd -c /config/snmpd.conf and only post the *snippet* related to the dlopen call. +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
