Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Error opening specified endpoint "" in Debian 6.0

1,190 views
Skip to first unread message

Dave Shield

unread,
Apr 26, 2011, 11:52:19 AM4/26/11
to
On 26 April 2011 16:38, Ravi Depa <ravir...@gmail.com> 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

------------------------------------------------------------------------------
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
Net-snm...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Dave Shield

unread,
Apr 26, 2011, 4:24:33 PM4/26/11
to
On 26 April 2011 17:23, Ravi Depa <ravir...@gmail.com> wrote:
> 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?

Create a file
/etc/ld.so.conf.d/local.conf

containing
/usr/local/lib

Then run "ldconfig"

0 new messages