- Plesk Onyx for Linux
Unable to complete installation of Plesk due to the following error:
ERROR: Config file dir.conf not properly enabled: /etc/apache2/mods-enabled/dir.conf is a real file, not touching it
dpkg: error processing package apache2 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of libapache2-mod-php5:
libapache2-mod-php5 depends on apache2 (>= 2.4); however:
Package apache2 is not configured yet.
dpkg: error processing package libapache2-mod-php5 (--configure):
dependency problems - leaving unconfigured
Previous attempt to install Plesk has been interrupted and installation is incomplete.
Connect to the server via SSH
apache2package with all its dependencies:
# apt-get remove apache2
# rm -rf /etc/apache2
- Continue with Plesk installation.