• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Resolved Apache not running after Dist-Upgrade to Ubuntu 16.04

jradzuweit

Basic Pleskian
Hi,
I have done a distribution upgradde from Ubuntu 14.04 to 16.04, it worked so far without major problerms except to things.

1. the file /etc/os-release still says it is a Ubuntu 14.04 instead of 16.04. The apt-get files say it has all repos switched to xenial aka Ubuntu 16.04.

2. This is a more serious problem, after the upgrade the apache does not start and the command systemctl says:

Okt 02 12:21:55 vega.radzuweit.eu apache2[3112]: * The apache2 configtest failed.
Okt 02 12:21:55 vega.radzuweit.eu apache2[3112]: Output of config test was:
Okt 02 12:21:55 vega.radzuweit.eu apache2[3112]: AH00526: Syntax error on line 240 of /etc/apache2/plesk.conf.d/ip_default/radzuweit.eu.conf:
Okt 02 12:21:55 vega.radzuweit.eu apache2[3112]: Invalid command 'DirectoryIndex', perhaps misspelled or defined by a module not included in the server configuration
Okt 02 12:21:55 vega.radzuweit.eu apache2[3112]: Action 'configtest' failed.


Any idea what to do next? The apache files where not changed and the DirectoryIndex is a common config directive in apache.
I already searched the KB and the forum here but nothing suitable found so far..

Thanx for any suggestion
Jürgen
 
Make sure that dir module is enabled in Tools&Settings-> Apache Web Server
 
... it seems that during the upgrade a link gets lost. Here a solution to get this fixed:

  1. go to /etc/apache2/mods-enabled and check if a link to ../mods-available/dir.conf and ../mods-available/dir.load exists
  2. if not create links with
>ln -s ../mods-available/dir.conf
>ln -s ../mods-available/dir.load
Apache is now running
 
Back
Top