OCS error Invalid command 'PerlSetEnv' [Solved/Closed]

Report
-
Posts
159
Registration date
Wednesday February 20, 2008
Status
Member
Last seen
February 9, 2009
-
Hello,
I have just finished installing OCS Inventory Agent for Linux Server on Redhat Enterprise 4 but now my httpd service wont start, it is giving me the error below:

Starting httpd: Syntax error on line 16 of /etc/httpd/conf.d/ocsinventory.conf:
Invalid command 'PerlSetEnv', perhaps mis-spelled or defined by a module not included in the server configuration.

If anyone can assist will be most gratefull.

thanks in advance

Stavo.

2 replies

Posts
159
Registration date
Wednesday February 20, 2008
Status
Member
Last seen
February 9, 2009
45
Just add 'perl' in: /etc/sysconfig/apache2 Under the APACHE_MODULES section.
Done
1
Thank you

A few words of thanks would be greatly appreciated. Add comment

CCM 4220 users have said thank you to us this month

añade la siquiente liena a tu httpd.conf:

LoadModule perl_module modules/mod_perl.so