Quantcast
Channel: Ocsinventory Q&A - Recent questions without answers
Viewing all articles
Browse latest Browse all 4596

Server does not start due to PerlSetEnv-Usage in PERL-BEGIN-Block

$
0
0
Hello,

my Apache-Servers (Ubuntu 14.04 and Debian Wheezy, Apache 2.2, mod_perl2) do not start because in e.g. Ocsinventory.pm the environment-variable OCS_MODPERL_VERSION is tested in the BEGIN-block. But the environment-variables set by PerlSetEnv in the Apache-configuration of mod_perl are only available in a normal request and not during the BEGIN-block.

I did not find a configuration to make the environment available in the BEGIN-phase. What did I do wrong?

Thanks

Martin

Viewing all articles
Browse latest Browse all 4596

Trending Articles