• 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!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Unable to generate the web server configuration file

Mike14017

New Pleskian
Hi

On Plesk 11.5.30 I have just patched with SSLfix.sh. ( http://kb.odin.com/en/125741 ).

When I run an ssl check I get - Certificate name mismatch

I am also getting the following message

Unable to generate the web server configuration file on the host because of the following errors:
Template_Exception: apache2: Syntax error on line 211 of /etc/apache2/apache2.conf: Syntax error on line 73 of /etc/apache2/mods-enabled/ssl.conf: </IfModule>SSLHonorCipherOrder without matching <IfModule>SSLHonorCipherOrder section
file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 68
code: 0
Please resolve the errors in web server configuration templates and generate the file again.

apache2.conf line 211 - Include mods-enabled/*.conf

ssl.conf line 73 - </IfModule>SSLHonorCipherOrder On

Sorry I'm not very technical so I'm not sure what other information to post.

Any help would be appreciated

Thanks

Mike
 
Hi

After further research Plesk is using the Plesk panel self certification SSL not the SSL certificate for the website.

Mike
 
Hi

Another message after cron job.

/etc/cron.daily/logrotate:
apache2: Syntax error on line 211 of /etc/apache2/apache2.conf: Syntax error on line 73 of /etc/apache2/mods-enabled/ssl.conf: </IfModule>SSLHonorCipherOrder without matching <IfModule>SSLHonorCipherOrder section
error: error running shared postrotate script for '/var/log/apache2/*.log '
error: error running non-shared postrotate script for /var/log/samba/log.smbd of '/var/log/samba/log.smbd '
error: error running non-shared postrotate script for /var/log/samba/log.nmbd of '/var/log/samba/log.nmbd '
run-parts: /etc/cron.daily/logrotate exited with return code 1

Mike
 
Hi

Now I have found that I cannot receive mail or get FTP access, is this all in connection with my original message?

Sorry if these questions/comments are naive I am trying to learn.

Mike
 
Hi

If there is not enough information here, please let me know, or would it be better to reinstall the backup I made before I made the changes.

I would prefer to solve this without reinstalling the back up.

Mike
 
Hi,

Remove all entries from the 'Configurations' table of the 'psa' database.

~# mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -e"delete from Configurations"

Remove all 'Include' records from the configuration files and all content from the directory below:

~# sed -i /Include/d /usr/local/psa/admin/conf/ip_vhosts_bootstrap.conf
~# sed -i /Include/d /usr/local/psa/admin/conf/vhosts_bootstrap.conf
~# sed -i /include/d /usr/local/psa/admin/conf/nginx_vhosts_bootstrap.conf
~# sed -i /Include/d /usr/local/psa/admin/conf/webmail_horde_bootstrap.conf
~# sed -i /Include/d /usr/local/psa/admin/conf/webmail_atmail_bootstrap.conf
~# sed -i /Include/d /etc/httpd/conf.d/zz010_psa_httpd.conf
~# rm -f /usr/local/psa/admin/conf/generated/*

Reconfigure the Apache server using the 'httpdmng' utility:

~# /usr/local/psa/admin/bin/httpdmng --reconfigure-all
 
@ serverpoint_tom :

I wonder why you try to push 6-months-old threads, but your suggestion

sed -i /Include/d /etc/httpd/conf.d/zz010_psa_httpd.conf
is a CentOS/RHEL - based suggestion, while the thread - starter uses a Debian/Ubuntu - based system:
/etc/apache2/apache2.conf


Please note, that the error message:
Syntax error on line 73 of /etc/apache2/mods-enabled/ssl.conf: </IfModule>SSLHonorCipherOrder without matching <IfModule>SSLHonorCipherOrder section
declares pretty well, that the apache2 configtest detected an error in the configuration file "/etc/apache2/mods-enabled/ssl.conf" and not at Plesk generated configuration files.
 
Back
Top