Re: Running master agent and subagent not as root

2008-07-02 Thread Dave Shield
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:

RE: Running master agent and subagent not as root

2008-07-02 Thread Joan Landry
@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

Re: Running master agent and subagent not as root

2008-07-02 Thread Dave Shield
2008/7/2 Joan Landry [EMAIL PROTECTED]: 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? What command did

Re: Running master agent and subagent not as root

2008-07-02 Thread Dave Shield
2008/7/2 Joan Landry [EMAIL PROTECTED]: What command did you use to start the agent? ./snmpd -f -Le That will be listening on port 161, which will fail If you specify a different (high-numbered) port when you start the agent, then it should be OK. I do not know how to do this: ./snmpd -f

RE: Running master agent and subagent not as root

2008-07-02 Thread Joan Landry
How do I change the port for _SNMP_ requests? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Wednesday, July 02, 2008 9:20 AM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Running master agent and subagent

RE: Running master agent and subagent not as root

2008-07-01 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joan Landry Sent: Tuesday, July 01, 2008 4:12 PM 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