Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.8 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

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

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
in OCS Inventory NG server for Unix by (120 points)

Please log in or register to answer this question.

 
Powered by Question2Answer
...