snmpd crash intermittently, when agent/subagent gets restarted with config changes.

2020-12-09 Thread SURYA T S
Hi Team, I am getting snmpd crash with below trace, during a system boot, or snmp restart with config changes. I am having netsnm version 5.7.2 running in my box. Trace 1. == Core was generated by `/usr/sbin/snmpd -Lo0-6d -f -x /var/agentx/master_VRF_1 -p /var/run/openvswitch

snmpd crash when started with udp, dltsudp, tlstcp

2019-12-04 Thread Larry Hayes
I am running net-snmp 5.8 r0. I can get snmpd, snmptrapd and snmpget working with dtlsudp and tlstcp. Except for some corner cases: If I have a trap session defined in the snmpd.conf file, but the snmptrapd is not running. snmpd gets a SIGSEGV at startup time. (If I start snmptrapd first, then ev

5.4.1 and duplicated IP addresses -> snmpd crash (SEGV)

2007-08-14 Thread Łukasz Engel
Hi everyone, After upgrading netsnmp package from 5.4 to 5.4.1 snmpd daemon on my linux ruter/firewall started to die in less than 30sec after startup (with SIGSEGV). I did some investigation and found that trigger was the same IP address on 2 interfaces - ethX and ipsecY (ipsec device on linu

Re: Re: snmpd crash

2006-10-28 Thread Venkata Guddeti
Thank you very much That worked. Reddy Dave Shield <[EMAIL PROTECTED]> wrote: On 27/10/06, Venkata Guddeti wrote:> Forgot to give my snmpd.conf file.> rocommunity gbbf> rwcommunity gbbfFrom the FAQ:How do I configure access control?- Note that it is *not* nece

Fwd: Re: snmpd crash

2006-10-28 Thread Venkata Guddeti
Forgot to give my snmpd.conf file. ### # # snmpd.conf # #   - created by the snmpconf configuration program #### # SECTION: Agent Operating Mode # #  

Re: Re: snmpd crash

2006-10-27 Thread Dave Shield
On 27/10/06, Venkata Guddeti <[EMAIL PROTECTED]> wrote: > Forgot to give my snmpd.conf file. > rocommunity gbbf > rwcommunity gbbf >From the FAQ: How do I configure access control? - Note that it is *not* necessary (and not advisible) to specify the same c

Re: snmpd crash

2006-10-27 Thread Venkata Guddeti
Hi All I messed up my snmpd configuration some how, but I have not touched snmpd.conf though. Now my problem is that when I try to do snmpset on any of the writable variables, I get error "notWritable". I have done checks to see the how the agent is registering and the MIB file. They all seem to b

Fwd: Re: snmpd crash

2006-10-23 Thread Venkata Guddeti
Sorry, to forgot to cc.Hence forwarding again.Note: forwarded message attached.--- Begin Message --- Dear DaveI will change the code back to the way it was. Assuming that the code is right,Can you please advice us with new ideas on how to fix the problem. As I mentioned in the mail, we have the man

Re: snmpd crash

2006-10-23 Thread Dave Shield
On 23/10/06, Venkata Guddeti <[EMAIL PROTECTED]> wrote: > Dear Dave > I will change the code back to the way it was. Assuming that the code is > right, Can you please advice us with new ideas on how to fix the problem. As I > mentioned in the mail, we have the manager running on the 32 bit machine.

Re: snmpd crash

2006-10-23 Thread Venkata Guddeti
Dear Dave,Thank you very much for the prompt reply from you and Robert.I have forgotten to mention that the manger machine is a 32 bit RHEL WS4 OS.Could that cause this kind of problem (getting two counter64 vars in one snmpget). Are there any rules that need to be followed when communicating betwe

Re: snmpd crash

2006-10-23 Thread Dave Shield
On 23/10/06, Venkata Guddeti <[EMAIL PROTECTED]> wrote: > case MODE_GET: > struct counter64 counterVar; > // Here I had low and high assigning as follows > // counterVar.low = newStats->NumBCFileRead & 0x; > // counterVar.high = newStats->NumBCFileRead >> 32; > // After seeing

Re: snmpd crash

2006-10-20 Thread Dave Shield
On 20/10/06, Venkata Guddeti <[EMAIL PROTECTED]> wrote: >> How are these object implemented? Scalars, or table objects? > These variables are implemented as scalars. >> Which helper? > I am sorry that I could not understand this question. What does the code of your "init" routine look like?

Re: snmpd crash

2006-10-20 Thread Robert Story
On Fri, 20 Oct 2006 20:49:27 +0100 Dave wrote: DS> > I have coded Counter64 variables using the 'struct counter64' and filling DS> > its members high and low. I have passed the args for DS> > snmp_set_var_typed_value as (u_char*) and the size as 8. DS> DS> It's probably safer to use "sizeof(struct

Re: snmpd crash

2006-10-20 Thread Dave Shield
On 20/10/06, Venkata Guddeti <[EMAIL PROTECTED]> wrote: > The snmpd is actually timing out (most of the times, crash sometimes) when I > use snmpget for two Counter64 variables. Does querying these two variables individually work correctly? How are these object implemented? Scalars, or table ob

Re: snmpd crash

2006-10-11 Thread Dave Shield
On 04/10/06, Venkata Guddeti <[EMAIL PROTECTED]> wrote: > I have recently started using net-snmp (5.3.1) on RHEL 4.0. One more thing > about the OS is that it is a 64 bit OS. When the Manager sends SNMP PDUs > (similar to snmpwalk), I am having snmpd crash. I see sometimes an erro

snmpd crash

2006-10-04 Thread Venkata Guddeti
Dear All I have recently started using net-snmp (5.3.1) on RHEL 4.0. One more thing about the OS is that it is a 64 bit OS. When the Manager sends SNMP PDUs (similar to snmpwalk), I am having snmpd crash. I see sometimes an error in the /var/log/messages saying there is an error in the received

Re: snmpd crash when master agentx and informs (possibly related to bug #1154117)

2005-10-05 Thread Peder Chr. Norgaard
On Sat, 1 Oct 2005, Robert Story wrote: > On Sat, 24 Sep 2005 18:11:16 +0200 (CEST) Peder wrote: > PCN> The crash happens shortly after a subagent has sent a notification > PCN> that must be forwarded as an inform. The crash only happens when the > PCN> receiver is not responding, so the inform

Re: snmpd crash when master agentx and informs (possibly related to bug #1154117)

2005-10-02 Thread Robert Story
On Sat, 24 Sep 2005 18:11:16 +0200 (CEST) Peder wrote: PCN>The crash happens shortly after a subagent has sent a notification PCN> that must be forwarded as an inform. The crash only happens when the PCN> receiver is not responding, so the inform times out; the snmpd reports the PCN> timeout t

snmpd crash when master agentx and informs (possibly related to bug #1154117)

2005-09-24 Thread Peder Chr. Norgaard
Hello. My snmpd agent have started crashing on me; I spent some time figuring out how and why. I think I know that now - but not how to solve it. My problem may be related to the bug 1154117 in the bug database. The behaviour is not identical, however. Version is Debian

Re: snmpd crash on adding row to table

2004-08-20 Thread Coders
On Fri, 23 Jul 2004 10:53:19 +0800 Anupama wrote: AQ> The second problem was the fact that snmpd would not start at some times AQ> - saw the log it gives udp 161 error - but when I do a ps I dont see any AQ> snmpd running - and I dont think I have any other process which uses AQ> that port numbe

Re: Data range overflow make snmpd crash when process SET command (in DEBUG mode with gdb)

2004-08-17 Thread Dave Shield
t;action", it > increases interactively form 0 (RESERVE1 phase) to 3 (COMMIT phase) - Yes - that's correct. (See AGENT.txt for an explanation of why) > where I had the snmpd crash. I walk through the code and found that this > is caused by: > > } else if (action ==

Re: Data range overflow make snmpd crash when process SET command (in DEBUG mode with gdb)

2004-08-16 Thread Coders
onding to above command, this function is called many times with DAN> almost same-value passed arguments, except for argument "action", it DAN> increases interactively form 0 (RESERVE1 phase) to 3 (COMMIT phase) - DAN> where I had the snmpd crash. This has been fixed in 5.1.2

Data range overflow make snmpd crash when process SET command (in DEBUG mode with gdb)

2004-08-04 Thread Duy A. Nguyen
t increases interactively form 0 (RESERVE1 phase) to 3 (COMMIT phase) - where I had the snmpd crash. I walk through the code and found that this is caused by:       } else if (action == COMMIT) {    rp->rt_ifix = rp->xx_ifix;// This statement have BUG ???  

Re: snmpd crash on adding row to table

2004-07-29 Thread Dave Shield
Anupama> The second problem was the fact that snmpd would not start at some Anupama> times - saw the log it gives udp 161 error - but when I do a ps I dont Anupama> see any snmpd running - and I dont think I have any other process Anupama> which uses that port number. Wes> The command: Wes>ls

Re: snmpd crash on adding row to table

2004-07-29 Thread Anupama Qanungo
Wes Hardaker wrote: On Fri, 23 Jul 2004 10:53:19 +0800, Anupama Qanungo <[EMAIL PROTECTED]> said: Anupama> Now the problem comes when I try to set a value in a Anupama> non-existant row. Since my program returns a NULL for that Anupama> row - should it not show "variable does not exist

Re: snmpd crash on adding row to table

2004-07-28 Thread Wes Hardaker
> On Fri, 23 Jul 2004 10:53:19 +0800, Anupama Qanungo <[EMAIL PROTECTED]> said: Anupama> Now the problem comes when I try to set a value in a Anupama> non-existant row. Since my program returns a NULL for that Anupama> row - should it not show "variable does not exist"- instead Anupama> snmpd

Re: snmpd crash on adding row to table

2004-07-23 Thread Anupama Qanungo
er the use otherwise it will not show the port is under usage. better use 'nmap' command to find out the port is still under usage or not. good luck. - Original Message - From: "Anupama Qanungo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 23, 2004 1

snmpd crash on adding row to table

2004-07-22 Thread Anupama Qanungo
hi! I have successfully compiled many table modules using mib2c.iterate_access.conf. It works great. There is just one problem - in the _get_first_data_point - I call my initialization module which then passes on the addresses of structures to my_data_context. Now the problem comes when I try to