← Back to team overview

linux-traipu team mailing list archive

[Bug 1307548] Re: updating from 12.04 to 14.04 causes apache to not start

 

I performed the 12.04 to 14.04 upgrade this morning.  I was getting the same reported symptoms (AH00526: Syntax error on line 30 of /etc/apache2/sites-enabled/mythweb.conf:)
The detailed fix did not work on my machine either. 

When trying to start the apache2 server I got the following message:

AH00558: apache2: Could not reliably determine the server's fully
qualified domain name, using 127.0.1.1. Set the 'ServerName' directive
globally to suppress this message

-- 
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to Mythbuntu.
https://bugs.launchpad.net/bugs/1307548

Title:
  updating from 12.04 to 14.04 causes apache to not start

Status in Mythbuntu, Ubuntu derivative focused upon MythTV:
  New
Status in “mythtv” package in Ubuntu:
  Confirmed

Bug description:
  Upgrading from 12.04 to 14.04 causes apache to not start:

   * Starting web server apache2                                                                                                                  * 
   * The apache2 configtest failed.
  Output of config test was:
  AH00526: Syntax error on line 30 of /etc/apache2/sites-enabled/mythweb.conf:
  You may not use 'Options +All' or 'Options -All'.
  Action 'configtest' failed.
  The Apache error log may have more information.

  
  This is because 12.04 had apache2 2.2.  14.04 has 2.4.  The supported syntax changed between apache releases.

  Fixed by:

  $ sudo rm /etc/apache2/sites-available/mythweb.conf
  $ sudo dpkg-reconfigure mythweb
  $ sudo /etc/init.d/apache2 start

  
  I think during dist-upgrade we might want to either remove mythweb.conf so it can regenerate (easier/safer), or fix this in postinst for upgrade.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mythbuntu/+bug/1307548/+subscriptions


References