LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-30-2015, 07:38 AM   #1
anilkumar.kathi
LQ Newbie
 
Registered: Dec 2015
Posts: 2

Rep: Reputation: Disabled
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

Last edited by anilkumar.kathi; 12-30-2015 at 08:16 AM.
 
Old 12-31-2015, 02:22 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

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

Regards
 
Old 01-07-2016, 09:32 AM   #3
Carl_cj
Member
 
Registered: Sep 2014
Distribution: Slackware,Linux From Scratch
Posts: 254

Rep: Reputation: 0
hello,
which operating system your using?
try to install mod_perl to get out off that error.
 
Old 01-12-2016, 05:57 AM   #4
anilkumar.kathi
LQ Newbie
 
Registered: Dec 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi,

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache restart error gobinath1989 Linux - Newbie 3 10-02-2012 04:48 AM
[SOLVED] Apache 2 restart error alandowley Linux - Newbie 11 07-01-2011 02:13 PM
Apache 2 error on restart but doesn't effect? Should I worry? damteke Linux - Server 11 10-27-2009 04:06 AM
can't trace frequent apache crash/automagic restart error I_AM Linux - General 1 04-09-2005 08:13 AM
How do I restart Apache? 360 Linux - Networking 2 08-25-2001 06:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 09:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration