Hi Pachi -
Something must be happening in the child initialization. can you run
strace (or truss) against httpd as it starts up? each of those
utilities have a flag to tell it to follow forks
i think for strace its like:
strace -f httpd
send me that output, it might get us more info about where the child is
dying.
sterling
On Friday, August 30, 2002, at 06:59 AM, Pachi Sucunza wrote:
>
> Hi, John...
>
> It's me again :)
>
> I've been doing some more tests with mod_cplusplus and my simple
> mod_HelloWorld. The results are just the same. Tried with Debian Woody,
> hoping that some libraries might have been updated and would solve the
> problem, but I was wrong :)
> Also tried with apache 2.0.39, (and mod_cplusplus 1.0.2, in this case)
> to avoid the API differences you mentioned. But again the same!
>
> Maybe it's a problem with apache, not with mod_cplusplus? But
> everything
> works OK if I don't load any c++ module... With gdb I found a more
> exact
> place where problems begin: it's in the fork() which apache uses to
> become a daemon. Then, the parent exits (intentional and succesfully),
> but the child just dies...
>
> Please let me know if you find anything (if you don't mind), for the
> moment I need to go on working on my modules, so I'll make my tests
> with
> apache in single-process mode (although I read somewhere it's
> discouraged...).
>
> Thank you very much for your help, again...
|