[ocsinventory]

licharna Messages postés 37 Date d'inscription   Statut Membre Dernière intervention   -  
jipicy Messages postés 40842 Date d'inscription   Statut Modérateur Dernière intervention   -
bonjour a tous, j'ai un petit sousi
Après avoir installé ocs,j'ai voulu redémarrer le service httpd mais cela a échoué et comme message d'erreur j'ai :
Starting httpd2 (prefork) Syntax error on line 226 of /etc/apache2/httpd.conf:
Invalid command 'PerlSetEnv', perhaps misspelled or defined by a module not included in the server configuration
quand je me rend à la ligne concernée j'ai :

# Which version of mod_perl we are using
# For mod_perl <= 1.999_21, replace 2 by 1
# For mod_perl > 1.999_21, replace 2 by 2
PerlSetEnv OCS_MODPERL_VERSION 2

j'ai lu dans un autre forum que mod_perl n'est pas activé ou pas installé, mais dans mon cas il est bien installé par contre je sais pas si il est activé, je connais pas le nom du service
j'ai tous tenté mais rien ne marche, alors j'attends votre aide, merci d'avance
A voir également:

4 réponses

pirewit
 
This worked for SuSe 10.3

Just add 'perl' in:
/etc/sysconfig/apache2
Under the APACHE_MODULES section.

Greetz
0