• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Deinstall Passenger/ruby/gem -> apache2.conf error

Oliver Marugg

Basic Pleskian
Hi

In Ubuntu 16.04 with Onyx 17.0.17 I deinstalled Passenger, ruby and Gem support via the 8447 Update/upgrade Page, after that my currently installed domain had apache2.conf error:
Code:
Unable to generate the web server configuration file on the host <MYSERVER> because of the following errors:

Template_Exception: apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/mods-enabled/passenger.load: No such file or directory

file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0

Please resolve the errors in web server configuration templates and generate the file again.

Reconfiguration via configurations troubleshooter didnt work, but after re-installing those three software and a reconfiguration via configurations troubleshooter the conf were ok again.

Regards, oliver
 
Hi Oliver Marugg,

did you consider just to remove the symlink "/etc/apache2/mods-enabled/passenger.load", which might have been an unexpected left-over from your passenger - de-installation? ( hint: "No such file or directory" )
 
Back
Top