OCS error Invalid command 'PerlSetEnv'

Solved/Closed
Stavo - Jan 27, 2008 at 10:31 AM
mrslash
Posts
159
Registration date
Wednesday February 20, 2008
Status
Member
Last seen
February 9, 2009
- 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.

2 replies

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