Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Nov 2006 03:41:02 -0800 (PST)
From:      gahn <ipfreak@yahoo.com>
To:        Frank Staals <frankstaals@gmx.net>
Cc:        freebsd general questions <freebsd-questions@freebsd.org>
Subject:   Re: net-snmp and 6.1 (confusion)
Message-ID:  <20061114114102.77411.qmail@web52104.mail.yahoo.com>
In-Reply-To: <45599A11.6090608@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
the entry "bsnmpd_enable="NO"" does works and the
result from "sockstat" showed there is no snmpd
running. then i added following entries in rc.conf:

snmpd_enable="YES"
snmpd_flags="-a -p /var/run/snmpd.pid"
snmptrapd_enable="YES"
snmptrapd_flags="-a -p /var/run/snmptrapd.pid"
snmpd_conffile="/usr/local/etc/snmp/snmpd.conf"

well, they started snmpd alright, but i am not sure
which one: bsnmpd or net-snmpd since i still have
error messages in snmpd.log:

[init_smux] bind failed: Address already in use
Error opening specified endpoint "udp:161"
Server Exiting with code 1

any ideas?




--- Frank Staals <frankstaals@gmx.net> wrote:

> gahn wrote:
> > thanks.
> >
> > i didn't recall that i activated any snmp but
> there is
> > a bsnmpd running though:
> >
> > root     snmpd      414   13 tcp4   *:199         
>    
> >    *:*
> > root     snmpd      414   14 udp4   *:161         
>    
> >    *:*
> > root     snmptrapd  408   10 udp4   *:162         
>    
> >    *:*
> >
> > how could i remove it? in rc.conf? or else?
> >
> > thanks
> >
> >
> >
> > --- Frank Staals <frankstaals@gmx.net> wrote:
> >
> >   
> >> gahn wrote:
> >>     
> >>> hi:
> >>>
> >>> is a generic snmp running with 6.1? i installed
> >>> net-snmp on 6.1 and it seems to have conflict
> with
> >>> some another snmp process:
> >>>
> >>> [init_smux] bind failed: Address already in use
> >>> Error opening specified endpoint "udp:161"
> >>> Server Exiting with code 1
> >>>
> >>> i have no anothe snmp application running except
> >>>       
> >> the
> >>     
> >>> net-snmp.
> >>>
> >>> any ideas?
> >>>
> >>>
> >>>
> >>>
> >>>  
> >>>
> >>>       
> >
>
____________________________________________________________________________________
> >   
> >>> Cheap talk?
> >>> Check out Yahoo! Messenger's low PC-to-Phone
> call
> >>>       
> >> rates.
> >>     
> >>> http://voice.yahoo.com
> >>> _______________________________________________
> >>> freebsd-questions@freebsd.org mailing list
> >>>
> >>>       
> >
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >   
> >>> To unsubscribe, send any mail to
> >>>       
> >> "freebsd-questions-unsubscribe@freebsd.org"
> >>     
> >>>   
> >>>       
> >> I believe there is no smnp daemon running by
> >> default. Maybe you 
> >> accidentally allready started it ? You might
> check
> >> it with sockstat -4  
> >> | grep 161
> >>
> >> -- 
> >> -Frank Staals
> >>
> >>
> >>
> >>     
> >
> >
> >
> >  
> >
>
____________________________________________________________________________________
> > Cheap talk?
> > Check out Yahoo! Messenger's low PC-to-Phone call
> rates.
> > http://voice.yahoo.com
> >
> >
> >   
> Hmm apparantly there IS a bsndmp running. Didn't see
> that one on my 
> server, anyway on my laptop it wasn't running as I
> apparantly disabled it:
> 
> frank@Riza$ cat /etc/rc.conf | grep snmpd
> bsnmpd_enable="NO"
> 
> that might help I guess
> 
> -- 
> -Frank Staals
> 
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"
> 



 
____________________________________________________________________________________
Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061114114102.77411.qmail>