• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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