• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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