On 08/04/2008, Benoit Guillon <[EMAIL PROTECTED]> wrote:
> But with the following configuration file:
>
> # more /etc/snmp/snmptrapd.conf
> disableAuthorization yes
>
> snmpTrapdAddr udp:192.168.1.1:162
>
> I have the following error:
>
> # snmptrapd -f -c /etc/snmp/snmptrapd.conf -Lo
> NET-SNMP version 5.3.1
> couldn't open udp:192.168.1.1:162 -- errno 98 ("Address already in use")
What happens if you run:
snmptrapd -f -Lo
?
I suspect that the trap receiver is reading the file
/etc/snmp/snmptrapd.conf automatically,
and hence starting to listen on this port.
Then it processes the -c option, (re-)reads the
config file /etc/snmp/snmptrapd.conf and
tries to listen on the specified port. But it
can't because something (itself) is already
listening on that port.
Try omitting the -c option
Dave
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users