Hi, I can't connect to the SNMP master agent when running as non-root user. The sample subagent created by net-snmp-config --compile-subagent exits with the following message:
Warning: Failed to connect to the agentx master agent (/var/agentx/master): Unknown host (/var/agentx/master) (Permission denied) My /etc/snmp/snmpd.conf contains these lines: master agentx agentXSocket /var/agentx/master agentXPerms 777 777 Running `ls -l /var/agentx` yields: total 0 srwxrwxrwx 1 root root 0 Oct 30 13:22 master Looks good, doesn't it? Well, as my own user, the same command gives me: total 0 ?--------- ? ? ? ? ? /var/agentx/master I can't ls the socket directly, as it tells me "Permission denied". Why does this happen, if /var/agentx/master is supposed to have perms 777? I don't understand this. Any help would be greatly appreciated. I'm running Net-SNMP version 5.3.2.2 on Red Hat Enterprise Linux 5.1. Best regards, Ulrich ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users