This is a discussion on Re: snmptrapd does not work with snmpTrapdAddr within the SNMP Users forums, part of the Networking and Network Related category; Dave Shield wrote: >On 08/04/2008, Benoit Guillon <guillon@thalescomputers.fr> wrote: > = > >> ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Dave Shield wrote:
>On 08/04/2008, Benoit Guillon <guillon@thalescomputers.fr> 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 > = > Thanks much! That was the reason of the troubles. Using the -C option = with -c also does the trick :-\ Regards, -- = Beno=EEt Guillon guillon@thalescomputers.fr tel. : 33 (0)4 98 16 33 90 = ------------------------------------------------------------------------- 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;198757....sun.com/java= one _______________________________________________ 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/...net-snmp-users |