Hi, John!
I'm very glad to tell you that my modules are working, at last!
Thank you very much for your help and suggestions. With "strace -f" I've
been able to see that the child process was giving a strange error
message (wich wasn't written to any of the log files), complainig about
libmod_HelloWorld.so (my module's file name) not being found. As this
seemed weird, I've tried to put the full path to my .so in the
LoadCPPHandler directives, and... voila! It works!
It's surprising that the parent had no problem finding the modules, but
the children did. I'll keep investigating what can be the reasons for
this (maybe it's a problem with my ld.so.conf, or my environment
variables, or something.
If you like, you could add a little comment about this to your sample
conf files, just in case someone else gets the same problems.
BTW, something not related to all of this: As I'll be using
mod_cplusplus with Win32/MSVC++6 as well as with linux/gcc, I've created
some .dsp's to be able to use and compile your sample modules. If you're
interested, I could send them to you, in case you want to include them
in the CVS to help other users.
Thank you very much for your help!
Best regards,
Pachi.
On Sat, 2002-08-31 at 19:04, John K.Sterling wrote:
> 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
>
>
|