Re: snmpd suddenly stopped working

Julius <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
> > Hi,
> >
> > i was using snmp v3 with AuthNoPriv, then without notice i couldnt even
> > do a snmpwalk.
> >
> > so i removed the old config files and started from scratch, but now even
> > a simple snmp v1 config wont run...
> >
> >
> >
> > why is snmpd not accepting connections?
> >
> > cat /etc/snmp/snmpd.conf 
> > rocommunity public
> >
> > snmpwalk -v 1 -c public localhost system
> > Timeout: No Response from localhost
> >
> >
> > /var/log/snmpd.log
> > NET-SNMP version 5.4.2.1
> > Connection from UDP: [127.0.0.1]->[127.0.0.1]:-5226 REFUSED
> > Connection from UDP: [127.0.0.1]->[127.0.0.1]:-5226 REFUSED
> > Connection from UDP: [127.0.0.1]->[127.0.0.1]:-5226 REFUSED
> > Connection from UDP: [127.0.0.1]->[127.0.0.1]:-5226 REFUSED
> > Connection from UDP: [127.0.0.1]->[127.0.0.1]:-5226 REFUSED
> > Connection from UDP: [127.0.0.1]->[127.0.0.1]:-5226 REFUSED
> >
> >
> >
> > this file is generated by snmpd each time it starts
> >
> > grep -v '^#'  /var/net-snmp/snmpd.conf
> > setserialno 1626188070
> > ifXTable .1 14:0 18:0x $
> > ifXTable .2 14:0 18:0x $
> > ifXTable .3 14:0 18:0x $
> > engineBoots 4
> > oldEngineID 0x80001f88802f206f7d14a8314900000000[/code]
> >
> >
> >
> >
> >
> > greets



On Sun, 2008-11-30 at 18:23 +0100, Jan Houtsma wrote:
> Isn't that the same as the one i posted before ("Re: Fedora
> 10+x86_64+snmpd gives segfault in libc-2.9.so at startup")?
> 
> The first symptom of snmpd not starting is that you get connection
> errors...... Are you on x86_64?
> 
> Greetz, jan


Yes, its x86_64.
heres a strace output from snmpd starting up: 
http://www.reactos.org/paste/index.php/2451/

contains a lot lines like this:
close(344)                              = -1 EBADF (Bad file descriptor)

how can i check if snmpd crashes on libc.so.x ?

but i doubt that glibc/snmpd versions are a problem here, both were not
updated in my archlinux distribution after the first working
installation.

greets


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.