Bluehost.com Web Hosting $6.95

Re: snmptrapd does not work with snmpTrapdAddr

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: > = > >> ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008
Benoit Guillon
 
Posts: n/a
Default Re: snmptrapd does not work with snmpTrapdAddr

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 07:53 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0