> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Isaac Eliassi
> Sent: Sunday, March 23, 2008 3:05 AM

> I am creating an agent and I noticed that when I run it as 
> root everything seems to be ok,
> 
> When I execute it as another user I get the following error : 
> 
> Error opening specified endpoint ""
> 
> Server Exiting with code 1
> 
> The execution command are the same 
> 
> /usr/local/sbin/snmpd -c /usr/local/share/snmp/snmpd.conf -C -Lf 1.txt
> 
> Is it because the default UDP port is 161 ? how can I run it 
> as a user which is not a superuser?

        Unixen will not permit a port <4096 to be opened by a uid other than 0. 
 If you are on a unix family host, then you may run snmpd as non-root, but 
*must* use a port number >=4096.  I typically use port numbers of the form 
XX1161/XX162, e.g. 11161/11162.


        HTH,

Mike

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to