Hi,

I have a starneg problem with mod_perl under a veritas Cluster Server.
Everything works fine from the command line.

in httpd.conf

...
LoadModule perl_module        libexec/libperl.so
...
AddModule mod_perl.c
...

AddHandler perl-script .pl
PerlHandler Apache::Registry
...

ha-pollux(root)# /opt/apache/bin/apachectl start
/opt/apache/bin/apachectl start: httpd started

and error_log shows

[Tue Sep  5 14:51:23 2000] [notice] caught SIGTERM, shutting down
[Tue Sep  5 14:51:37 2000] [notice] Apache/1.3.12 (Unix) mod_perl/1.24 configured -- 
resuming normal operations

Using the apachectl in a so called "online" script doesn't start the httpd server. 
Instead it notes in "error_log"

Apache.pm failed to load!.

VCS uses it's own Perl version for it's standard agents and it seems that the Perl 
environment of my httpd is 
modified if started via VCS.
If I uncomment all "Perlhandler" directives in httpd.conf the httpd starts even with 
the "online" agent.
Can I use some environment variables in mod_perl to point it to the correct Perl 
version/modules?
How can I further debug the problem?

Thanks
        Uwe

Reply via email to