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; On 08/04/2008, Benoit Guillon <guillon@thalescomputers.fr> wrote: > But with the following configuration file: > &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 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;198757...un.com/javaone _______________________________________________ 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 |