RE: netsnmp_daemonize error

[email protected]
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I realize that in snmpd.c,  the main does the initialization first then
do the net-snmp_daemonize.
If I create a thread in the initial_module, it will destroy the daemon.
I guess.

_____________________________________________
From: Guan, Chi @ MWG - Datron 
Sent: Monday, June 27, 2011 9:39 AM
To: '[email protected]'
Subject: netsnmp_daemonize error


Hi, 
I add a thread in my QNX net-snmp agent code. 
When I ran the agent, I got the following error:
"first fork failed (errno 89) in netsnmp_daemonize()
Server Exiting with code 1"
What could be worng?
Thanks

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.