When trying to demolish phpmyadmin, it produces the following errors:

ERROR: Config file rpaf.conf not properly enabled: /etc/apache2/mods-enabled/rpaf.conf post file error: error processing package apache2 (--configure): error exit status 1 dpkg: apache2-mpm-prefork: apache2-mpm-prefork depends on apache2 (= 2.4.7-1ubuntu4.1); however: Package apache2 is not configured yet.

dpkg: error processing package apache2-mpm-prefork (--configure): dependency problems - leaving unconfigured dpkg: dependency problems configuration of libapache2-mod-php5: libapache2-mod-php5 depends on apache2 (> = 2.4); however: Package apache2 is not configured yet.

libpache2-mod-php5 (--configure): dependency problems - leaving unconfigured error message. Follow up error from a previous failure. Errors were encountered while processing: apache2-mpm-prefork libapache2-mod-php5 E: Sub-process / usr / bin / dpkg returned an error code (1)

How to fix it?

  • sudo dpkg-reconfigure apache2? - etki
  • issued the command "/ usr / sbin / dpkg-reconfigure: apache2 is not fully installed" tried to restart apache - issued * Restarting web server apache2 no listening sockets available, shutting down AH00015: Unable to open logs . The error log may have more information. there is nothing in the logs (( - Diefair

1 answer 1

ERROR: Config file rpaf.conf not properly enabled: /etc/apache2/mods-enabled/rpaf.conf is a real file, not touching it

in the /etc/apache2/mods-enabled/ directory, there should be no soft links (symlinks) to the files in the /etc/apache2/mods-available/ directory.

for this case, I would recommend moving this file somewhere ( /etc/apache2/mods-enabled/rpaf.conf ) and then repeating the configuration of packages that have not been configured:

 $ sudo apt-get -f install 

then the file (if necessary) can, of course, be returned, but it is better to use the one that is in /etc/apache2/mods-available/ :

 $ sudo a2enmod rpaf