Hi Dave,

Thank you very much. Your response solved my problem. One more quick
question. Everytime I restart the PC and if I run snmpd, it gives the
following error.

/usr/local/sbin/snmpd: error while loading shared libraries:
libnetsnmpagent.so.20: cannot open shared object file: No such file or
directory

To fix the issue, I am doing the following every time I restart the PC to
run snmpd.

export LD_LIBRARY_PATH="/usr/local/lib"

Is there any alternative way to fix this issue sothat I don't need to update
the environment variable?

Thanks,
Ravi
On Tue, Apr 26, 2011 at 9:22 PM, Dave Shield <[email protected]>wrote:

> On 26 April 2011 16:38, Ravi Depa <[email protected]> wrote:
> > I installed net-snmp 5.5.1 on my debian 6.1. I compiled source files
> using
> > ./configure and make is also successful.
> > I tried running /usr/local/sbin/snmpd -Le which gave following error.
> >
> > Error opening specified endpoint ""
> > Server Exiting with code 1
>
> I presume you are running this as a non-root user?
>
> By default, the SNMP agent will listen for requests on port 161,
> which is a "privileged port".   This means that only the root user
> can open this port.
>
> Either start the agent as root, or tell it to listen on a non-standard port
> (e.g.
>      /usr/local/sbin/snmpd -f -Le  16161)
>
>
> Dave
>



-- 
Thank you,
Ravi Depa
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to