snmpd -f (some issue)
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi All, I added few lines of C code in net-snmp source files. My code includes open (), read () operations on a normal file (flat/text) and handling some string arrays. I could read file contents and set my strings correctly and code is executing correctly when I run snmpd with -f option (-f: do not fork from the shell). But file operations are failing completely when -f option is not used along with snmpd. Thanks for any help/ relevant information to this kind of problem. Mahesh