Re: example app gives errors in valgrind

This is a discussion on Re: example app gives errors in valgrind within the SNMP Coders forums, part of the Networking and Network Related category; On 25/06/07, Juuso Alasuutari <juuso.alasuutari@gmail.com> wrote: > I did as you suggested and ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-25-2007
Dave Shield
 
Posts: n/a
Default Re: example app gives errors in valgrind

On 25/06/07, Juuso Alasuutari <juuso.alasuutari@gmail.com> wrote:
> I did as you suggested and left only the 'rocommunity public' line in
> snmpd.conf, but I still get the freeze.


Hmmm...

OK - can you please try the following:

a) Replace the directive "exec truth /bin/true"
with "sh truth /tmp/true"

b) Create a shell script /tmp/true
containing

#!/bin/sh
exit 0

and re-test the agent. Does this also go runaway?
Then

c) Edit the shell script /tmp/true to read

#!/bin/sh
echo true
exit 0

and re-test the agent. What happens then?

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:15 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0