Hi,

I’ve got trouble with net-snmp and the pass_persist interface under ucLinux.

The agent hangs at the fork() call, when a request gets into the subtree handled by pass_persist.

The start command for snmp is:

/bin/snmpd –f –Dall –Le –c /etc/snmpd.conf

 

I tried to change fork() into vfork() but it doesn’t work either.

 

I „make“ snmp with these parameters

 

CC=/home/alex/picotux/source/picotux/build/stageing_host/opt/bin/armeb-uclinux-gcc \
./configure --disable-shared \
--disable-ipv6 \
--with-endianness=little\
--host=arm-linux \
--enable-mini-agent \
--disable-privacy \
--disable-des \
--disable-snmpv2c \
--disable-md5 \
--disable-mib-loading \
--disable-debugging \
--with-mib-modules=“ucd-snmp/pass ucd-snmp/pass_persist“

 

 

Do you know how to fix the problem?

I think, I located the problem in ../agent/util_funcs.c in „int get_exec_pipes(…)“,

in this function the process forks its child.

 

Regards

Alex

 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to