snmptrapd.conf

This is a discussion on snmptrapd.conf within the SNMP Users forums, part of the Networking and Network Related category; Dear Sirs, I wanted to use snmptrapd in the Linux server (there is Linux Fedora Core 6). There is my ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-28-2008
Peter Sonenberk
 
Posts: n/a
Default snmptrapd.conf

Dear Sirs,

I wanted to use snmptrapd in the Linux server (there
is Linux Fedora Core 6).
There is my simple configuration file /etc/snmp/snmptrapd.conf


# snmptrapd.conf
#
snmpTrapdAddr udp:10.1.1.212:162
#
pidFile /var/run/snmptrapd.pid
#
authCommunity log public
#

This server has the IP address on eth0 interface 10.1.1.212.

I used these options for start:
OPTIONS="-Lf /var/log/snmp.log -n -c /etc/snmp/snmptrapd.conf"

And before start file /var/run/snmptrapd.pid didn't exist.

After start snmptrapd I obtained this error message:

NET-SNMP version 5.3.1
couldn't open udp:10.1.1.212:162 -- errno 98 ("Address already in use")

But there is only one daemon in this server -> snmptrapd!
Who uses port 162 with udp?


It seems there is some mistake in snmptrapd program ........

Be so kind and try to get me some help how to do right configuration.
Thank you very much for your help.
Best regards,

Sonenberk



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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
  #2 (permalink)  
Old 05-28-2008
Dave Shield
 
Posts: n/a
Default Re: snmptrapd.conf

2008/5/28 Peter Sonenberk <sonenberk@webserver.cz>:
> After start snmptrapd I obtained this error message:
>
> NET-SNMP version 5.3.1
> couldn't open udp:10.1.1.212:162 -- errno 98 ("Address already in use")
>
> But there is only one daemon in this server -> snmptrapd!
> Who uses port 162 with udp?


Maybe there's another copy of snmptrapd running.

What does
ps -ef | grep snmp
display?

What does
netstat -an --program | grep 162
display?

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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 11:11 PM.


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