AW: Interfaces reports as down (I am really stuck!)
"Mohr James" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
>> -----Ursprüngliche Nachricht----- >> Von: Robert Story [mailto:[email protected]] >> Gesendet: Dienstag, 19. Juli 2005 17:49 >> An: Mohr James >> Cc: [email protected] >> Betreff: Re: Interfaces reports as down (I am really stuck!) >> >> >> On Sat, 16 Jul 2005 10:41:53 +0200 Mohr wrote: >> MJ> Call be a "passive" C programmer. It's been about 7 >> years since I >> MJ> did anything useful in C, but I can read it. I did a little >> MJ> debugging of my programs way back when and I will have to get >> MJ> debugger for these Solaris machines (e.g. gdb from >> sunfreeware). I >> MJ> used patch a few times, so I don't see that there would be a >> MJ> problems. As long as you are patient and willing, I will >> be both, as >> MJ> well. ;-) >> >> OK, here we go. Apply this patch to 5.2.1, recompile, run it >> on one of the failing machines with -Dkernel_sunos5, run >> 'snmpwalk localhost ifOperStatus' and send me the snmpd debug output. Starting it with the -Dkernel_sunos5 it will hang for a while before I get "Timeout: No response". At this point, net-snmpd is no longer running. I have even set the timeout to 30 seconds with the same results. Without the -Dkernel_sunos5 things are happy. /var/log/snmpd.log contains this: kernel_sunos5: registered alarm 1 with period 5s kernel_sunos5: registered alarm 2 with period 30s NET-SNMP version 5.2.1 kernel_sunos5: cache[0] time 0 ttl 0 kernel_sunos5: cache[1] time 0 ttl 30 kernel_sunos5: cache[2] time 0 ttl 0 kernel_sunos5: cache[3] time 0 ttl 60 kernel_sunos5: cache[4] time 0 ttl 60 kernel_sunos5: cache[5] time 0 ttl 30 kernel_sunos5: cache[6] time 0 ttl 300 kernel_sunos5: cache[7] time 0 ttl 60 kernel_sunos5: cache[8] time 0 ttl 60 kernel_sunos5: cache[9] time 0 ttl 30 kernel_sunos5: cache[10] time 0 ttl 30 kernel_sunos5: cache[11] time 0 ttl 30 kernel_sunos5: cache[12] time 0 ttl 0 kernel_sunos5: cache[13] time 0 ttl 0 kernel_sunos5: cache[14] time 0 ttl 0 kernel_sunos5: cache[15] time 0 ttl 0 kernel_sunos5: cache[16] time 0 ttl 0 kernel_sunos5: cache[17] time 0 ttl 0 kernel_sunos5: cache[18] time 0 ttl 0 kernel_sunos5: cache[19] time 0 ttl 0 kernel_sunos5: getMibstat (1, *, 152, 1, *, *) kernel_sunos5: ... cache_valid 0 time 0 ttl 30 now 1124100712 kernel_sunos5: ...... getif lo0 kernel_sunos5: ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ 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