net-snmp agent problem

2012-09-11 Thread Jatin Bodarya
Hello everyone, I have generated a C code with mib2c tool, than implemented it according to my need. Everything is working fine .I have assigned values with system calls. These system call calling a shell script and getting output from there. When I am using SNMPGET or WALK it g

net-snmp agent problem

2012-09-11 Thread Jatin Bodarya
Hello everyone, I have generated a C code with mib2c tool, than implemented it according to my need. Everything is working fine .I have assigned values with system calls. These system call calling a shell script and getting output from there. When I am using SNMPGET or WALK it g

Possible deadlock if --enable-reentrant on net-snmp 5.7.1

2012-09-11 Thread Amir Franco Joven
Hi Everyone, I am relatively new to snmp itself and I'm curretly using net-snmp 5.7.1. With my current project, I have experienced several deadlocks when trying to do MIB walk. Several days of debugging, I have arrived at the following flow that causes the dealock: In function snmp_read2 of snmp

Re: How to solve this problem.

2012-09-11 Thread Dave Shield
On 11 September 2012 05:32, Jatin Bodarya wrote: > If the port is allocated to another process kill it with > Kill -9 PROCESSID Arggg No!! Do not NOT *NOT* use "kill -9" as your weapon of choice. Use a simple "kill" by all means - that at least allows the process a chance t