OCS error Invalid command 'PerlSetEnv'

Solved/Closed
Stavo - 27 Jan 2008 à 10:31
mrslash Posts 159 Registration date Wednesday 20 February 2008 Status Member Last seen 9 February 2009 - 30 Mar 2008 à 12:08
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 responses

mrslash Posts 159 Registration date Wednesday 20 February 2008 Status Member Last seen 9 February 2009 45
30 Mar 2008 à 12:08
Just add 'perl' in: /etc/sysconfig/apache2 Under the APACHE_MODULES section.
Done