-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Wednesday, July 02, 2008 8:33 AM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Running master agent and subagent not as root
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 you use to start the agent? ./snmpd -f -Le >>By default, the agent will attempt to listen on UDP port 161, which it can't do if it's running as a non-root user. >>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: I tried: ./snmpd -f -Le -x 22222 But I get the same error. Can you give me an example of how to specify a different port? Also, I am not sure if part of the problem is that because I am not starting it up as root - the program fails because it can not write out the config file to: /var/net-snmp/snmp.conf (as it would not have permissions to do this). My problem is that I need to run the subagent as non root, and I am under the impression that in order to run the subagent as non root the master agent has to also run as non root. Thanks for the help. ------------------------------------------------------------------------- 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