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

Stavo - Jan 27, 2008 at 10:31 AM - Latest reply: mrslash 165 Posts Wednesday February 20, 2008Registration date February 9, 2009 Last seen
- Mar 30, 2008 at 12:08 PM
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.
See more 

2 replies

Best answer
mrslash 165 Posts Wednesday February 20, 2008Registration date February 9, 2009 Last seen - Mar 30, 2008 at 12:08 PM
1
Thank you
Just add 'perl' in: /etc/sysconfig/apache2 Under the APACHE_MODULES section.
Done

Thank you, mrslash 1

Something to say? Add comment

CCM has helped 1882 users this month

0
Thank you
añade la siquiente liena a tu httpd.conf:

LoadModule perl_module modules/mod_perl.so