Thanks for the recommendations on what to try. I removed the agentXperms and I did a chmod 755 on /tmp/agentx
Which helped get past the original error. However, I get a new error now when I try to run the master agent: agentx/master: initializing... agentx/master: initializing... DONE Error opening specified endpoint "" Server Exiting with code 1 Any ideas on what would cause this? Thanks for the help -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Wednesday, July 02, 2008 4:14 AM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Running master agent and subagent not as root >> Can anyone tell me how to run the master agent and the subagent not >> as root? >> >> I tried adding the following to snmpd.conf master agentx agentXSocket >> /tmp/agentx/master agentXperms 0660 0550 nobody snmp >> But get this error when I run the master agent: >> agentx/master: initializing... >> Error: Couldn't open a master agentx socket to listen on >> (/tmp/agentx/master): > > I haven't tried this myself, but my first thought would be to check if the /tmp/agentx directory exists..? And if it does, check the permissions. Another thing to try - what happens if you omit the "agentXperms" line? If the agent is running as a user other than 'nobody', then it's possible that it won't be able to create and/or use the socket, since you are specifying an explicit user/group. It might work better with the default user/group. Dave ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ 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