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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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
> >>>       
> >> "[EMAIL PROTECTED]"
> >>     
> >>>   
> >>>       
> >> 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:
> 
> [EMAIL PROTECTED] 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
> "[EMAIL PROTECTED]"
> 



 
____________________________________________________________________________________
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 "[EMAIL PROTECTED]"

Reply via email to