On Fri, 18 Mar 2005 18:52:15 +0100 Norbert wrote:
NF> 3. Using 'strace -o myfile.txt ./snmptrapd -f -Le' delivers a SIGPIPE and 
NF> after this the daemon dies.

This is a known issue. You have to recompile snmptrapd to ignore SIGPIPE. Add

        signal(SIGPIPE, SIG_IGN);

near the other signal calls in snmptrapd.c.

-- 
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to