LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Apache restart error (https://www.linuxquestions.org/questions/ubuntu-63/apache-restart-error-4175562659/)

anilkumar.kathi 12-30-2015 07:38 AM

Apache restart error
 
Hi All

I am getting below error while restarting my apache2 server. can you some please help me.

Error: AH00526: Syntax error on line 229 of /etc/apache2/apache2.conf:
Dec 30 08:27:20 bugzilla apache2[8423]: Invalid command 'PerlSwitches', perhaps misspelled or defined by a module not included in the server configuration
Dec 30 08:27:20 bugzilla apache2[8423]: Action 'configtest' failed.


I added below two lines on /etc/apache2/apache2.conf file for configuring Bugzilla:


root@bugzilla:/etc/apache2# tail -2 /etc/apache2/apache2.conf
PerlSwitches -I/var/www/html/bugzilla -I/var/www/html/bugzilla/lib -w -T
PerlConfigRequire /var/www/html/bugzilla/mod_perl.pl

bathory 12-31-2015 02:22 AM

Hi,

You don't have mod_perl.
Use your distro's package manager in order to install it

Regards

Carl_cj 01-07-2016 09:32 AM

hello,
which operating system your using?
try to install mod_perl to get out off that error.

anilkumar.kathi 01-12-2016 05:57 AM

Hi,

I reinstalled mod_perl and my Issue got fixed. Thank you for your Help.


All times are GMT -5. The time now is 06:52 AM.