Fork in sub-agent.

Fork in sub-agent.

Post by Pasqua » Wed, 19 Mar 2003 17:55:16



Hi all.
I have a sub-agent.
When an user sets a value on a MIB variable, it starts a process by
fork-exec procedure.
During the fork, if there is an error, maybe an environment variable
doesn't set, the child process exits with 0 ( exit(0) ), (it doesn't
exec the new application). After this error, the sub-agent don't
respond to another set/get snmp command.
Why?

Thanks for yours answers.

Pasquale.