• 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

[BUG?] Error in httpd.conf/ssl.conf

StayAllive

Basic Pleskian
Hey All,

After updating to Plesk 11.5 (and every little MU update after that) reconfiguring the vhosts fails with the following error:

Code:
Template_Exception: httpd: Syntax error on line 222 of /etc/httpd/conf/httpd.conf: Syntax error on line 12 of /etc/httpd/conf.d/ssl.conf: LoadModule takes two arguments, a module name and the name of a shared object file to load it from

file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 68
code: 0

This can be fixed by editing "/etc/httpd/conf.d/ssl.conf" and commenting out line 12 and running "/usr/local/psa/admin/sbin/httpdmng --reconfigure-all".
However on each update the file is recreated or something so the error returns... Luckily auto-updating seems te be not working atm so I can catch it with a 2 minute downtime but I would love to have a permenant fix for this! Any ideas?

I am running Plesk 11.5.30 Update #10 on CentOS 6.4 (Final).
 
Just fix your ssl.conf. Plesk doesn't modify this file - it is from your OS vendor packages. If mod_ssl is in a separate (from httpd) package on your OS, then the simplest solution is to reinstall this package thus obtaining default configuration file version.

Also, what do you mean by "Luckily auto-updating seems te be not working atm"?
 
I modified ssl.conf, but after the update a few hours back (http://kb.parallels.com/116636) wich I manually applied through the installer somehow uncommented the line again... (I checked if it was commented before starting the update) and I did not run anything that could update it in the meantime on the server (only Plesk processes were running).

After updating to 11.5 the last 3 MU updates did not apply automaticly like I am used to (updating around midnight). I have my update settings set to automatic install updates to the current Plesk version, keep 3rd party software up-to-date and notify my off common releases.
 
You should not comment anything. You need this module working! Just fix the configuration. Something like (this is only an example!):

LoadModule ssl_module modules/mod_ssl.so
 
LoadModule ssl_module modules/mod_ssl.so

That is the exact line I commented out... so the config should be fine... it worked before the Plesk 11.5 update.

Is there anything I can check or do to troubleshoot or provide more information?

P.S. Auto Update seems te be working again.
 
It just happened again after a auto-update resulting in 10 min downtime because we could respond fast (it's 3:30am right now).

Is there anything I can do to provide more info to resolve this problem?
 
Back
Top