Article ID: 111605, created on Jul 31, 2013, last review on Aug 12, 2014

  • Applies to:
  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 10.4 for Linux/Unix
  • Plesk 10.3 for Linux/Unix

Use Webserver Configuration Troubleshooter for Parallels Plesk Panel 10.4 and higher.


The following error is shown in Parallels Plesk Panel 10 on page Home:

New files of configuration for Apache web server were not built due to errors in configuration templates. The detailed error message was e-mailed to you, so please check the e-mail, fix the errors, and click here to retry generating configuration

The link provided in the error message does not resolve the problem.


1. Mailman package is not installed on the server. The following error is shown when try to recreate Apache configuration files:

~# /usr/local/psa/admin/sbin/httpdmng --reconfigure-all
No valid mailman bindir detected

Mailman directories from psa.conf file are missing:

~# grep MAILMAN /etc/psa/psa.conf
MAILMAN_ROOT_D /usr/lib/mailman
MAILMAN_VAR_D /var/lib/mailman

~# ls -ld /usr/lib/mailman /var/lib/mailman
ls: /usr/lib/mailman: No such file or directory
ls: /var/lib/mailman: No such file or directory

2. Several domains have Apache configuration files regenerated with older version of Parallels Plesk Panel 9.x, 8.x. Apache configuartion file cannot be generated with Parallels Plesk Panel 10.3 anew.

3. Apache configuraiton files of some domains cannot be generated by Parallels Plesk Panel. To see the error open domain hosting preferences in Control Panel (Control Panel > Websites & Domains > DOMAIN.TLD).

4. There is corrupted web application installed on a domain that do not allow generating Apache configuration with Parallels Plesk Panel 10.3. To see the error try to open preferences of CGI support (Control Panel > Websites & Domains > DOMAIN.TLD > CGI support).


1. Install mailman package. The rpm package file may be downloaded from the autoinstaller website (, the file is located in the 'update-rpm-*' directory. On the website choose your Plesk version, operating system and architecture, for example:

2. Remove old configuration and generate it anew.

Enable logs in PHP configuration of Parallels Plesk Panel 10.3, generate Apache configuration files anew and monitor the errors in /var/log/sw-cp-server/error_log.

 a) Enable errors reporting in PHP configuration file of Parallels Plesk Panel 10.3:
~# sed -i 's/display_errors = Off/display_errors = On/' /usr/local/psa/admin/conf/php.ini
~# /etc/init.d/sw-cp-server restart

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

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

 c) Remove all 'Include' records from 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/*

 d) Reconfigure the Apache server using the 'httpdmng' utility:

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

Monitor /var/log/sw-cp-server/error_log for other error notifications.

3. The following error is shown in GUI when change to domain preferences in Control Panel (Control Panel > Websites & Domains > DOMAIN.TLD):

PHP Notice: Trying to get property of non-object
Line: 233
File: /usr/local/psa/admin/smb/application/library/Smb/Form/Final/Web/Abstract.php
Stack Trace:

Disable and enable CGI support on the domain to recreate Apache configuration files with hosting preferences:

~# /usr/local/psa/bin/domain --update DOMAIN.TLD -cgi false
~# /usr/local/psa/bin/domain --update DOMAIN.TLD -cgi true

4. The following error is shown in log file of sw-cp-server when change to CGI support for DOMAIN.TLD (Control Panel > Websites & Domains > DOMAIN.TLD > CGI support). For example:

2011-08-05T02:03:41-04:00 ERR (3): Exception: PHP Warning:  PHP Startup: mcrypt: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP    compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
 in Unknown on line 0
PHP Warning:  mysql_connect(): Access denied for user 'sjdyh3ia'@'localhost' (using password: NO) in /usr/local/psa/var/apspackages/WordPress-2.3.3-5/cache/scripts/db-util.php on line 66
Unable to connect to DB: Access denied for user 'sjdyh3ia'@'localhost' (using password: NO)

Remove broken web application WordPress-2.3.3-5 through Control Panel: Home > Installed Applications > WordPress > Remove.

56797cefb1efc9130f7c48a7d1db0f0c dd0611b6086474193d9bf78e2b293040 a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 f4ce8084cb23619ef5fe9428ecc388ea 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7 01bc4c8cf5b7f01f815a7ada004154a2 0a53c5a9ca65a74d37ef5c5eaeb55d7f aea4cd7bfd353ad7a1341a257ad4724a e8756e9388aeca36710ac39e739b2b37 742559b1631652fadd74764ae8be475e

Email subscription for changes to this article
Save as PDF