linux-traipu team mailing list archive
-
linux-traipu team
-
Mailing list archive
-
Message #10950
[Bug 1307548] Re: updating from 12.04 to 14.04 causes apache to not start
The above didn't completely work for me. Since I had originally set up
mythweb to not be the only web service I had to reconfigure mythweb
twice. The first time to say mythweb would be the only web service
running and the second to say it wouldn't.
I dug a little further and found that instead of reconfiguring mythweb I
could do the following.
sudo nano /etc/apache2/sites-available/mythweb.conf
Change any reference of /var/www/mythweb to /var/www/html/mythweb
sudo a2ensite 000-default.conf
The a2ensite command didn't seem to get run when I reconfigured mythweb
and selected No for mythweb being the only web service. For some reason
it had to be toggled to Yes and then back to No.
--
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