• 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.

Apache web server were not built due to errors

InsertCoin

Basic Pleskian
Getting the constant error:

Error: 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.

Clicking the link and it throws another error about it failing to regenerate the configs

Regenerating via command line gives:
Code:
PleskUtilException: '/usr/local/psa/admin/bin/apache-config' '-t' failed with code .

stdout:


stderr:
[Thu Sep 27 08:53:37 2012] [warn] module ssl_module is already loaded, skipping
httpd: Syntax error on line 211 of /etc/httpd/conf/httpd.conf: Syntax error on line 7 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 6 of /usr/local/psa/admin/conf/vhosts_bootstrap.conf.K19956: Could not open configuration file /var/www/vhosts/example.com/conf/13479343750.24934500_httpd.include: No such file or directory

file: /usr/local/psa/admin/plib/Service/Agent/Transport/Local/Exec.php
line: 71
code: 0
trace: #0 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(58): Service_Agent_Transport_Local_Exec->process(4, Object(Service_Agent_Command_Exec), Object(Service_Agent_Log), Object(Service_Agent_Transport_LocalTransaction))
#1 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(24): Service_Agent_Transport_Local->_command(4, Object(Service_Agent_Command_Exec), Object(Service_Agent_Transport_LocalTransaction), Object(Service_Agent_Log))
#2 /usr/local/psa/admin/plib/Service/Agent.php(133): Service_Agent_Transport_Local->process('589fe47c0d485e6...', Array, Object(Service_Agent_Log))
#3 /usr/local/psa/admin/plib/Template/Writer/Apache.php(58): Service_Agent->commit()
#4 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(196): Template_Writer_Apache->test()
#5 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(117): Template_Configuration_Applier->_applyConfigurationsToServiceNode(1, Array)
#6 /usr/local/psa/admin/plib/WebServerManager/Adapter/Apache.php(125): Template_Configuration_Applier->applyConfiguration(true)
#7 /usr/local/psa/admin/plib/WebServerManager/Adapter/Apache.php(313): WebServerManager_Adapter_Apache->sync()
#8 /usr/local/psa/admin/plib/WebServerManager.php(199): WebServerManager_Adapter_Apache->reconfigureServer(Object(Db_Table_Row_ServiceNode))
#9 /usr/local/psa/admin/plib/api-common/Httpdmng.php(123): WebServerManager->reconfServer()
#10 /usr/local/psa/admin/sbin/httpdmng(13): Httpdmng->__construct()
#11 {main}

2012-09-27T08:53:38+01:00 ERR (3): Apache config (13487324170.24258100) generation failed: [Thu Sep 27 08:53:37 2012] [warn] module ssl_module is already loaded, skipping
httpd: Syntax error on line 211 of /etc/httpd/conf/httpd.conf: Syntax error on line 7 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 6 of /usr/local/psa/admin/conf/vhosts_bootstrap.conf.K19956: Could not open configuration file /var/www/vhosts/example.com/conf/13479343750.24934500_httpd.include: No such file or directory

[Thu Sep 27 08:53:37 2012] [warn] module ssl_module is already loaded, skipping
httpd: Syntax error on line 211 of /etc/httpd/conf/httpd.conf: Syntax error on line 7 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 6 of /usr/local/psa/admin/conf/vhosts_bootstrap.conf.K19956: Could not open configuration file /var/www/vhosts/example.com/conf/13479343750.24934500_httpd.include: No such file or directory

If I touch the file that its complaining about then the error vanishes, but gets stuck on the next domain etc.

Code:
mysql> SELECT * FROM Configurations WHERE status!='ok';
+----+-------------+------+----------------------+------------+----------+--------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------+
| id | name        | file | version              | objectType | objectId | status | description                                                                                                                                                                                                                                                                                                                                                                                                                                      | serviceNodeId |
+----+-------------+------+----------------------+------------+----------+--------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------+
| 40 | server      |      | 13479343750.24934500 | server     |     NULL | error  | [Thu Sep 27 08:50:10 2012] [warn] module ssl_module is already loaded, skipping
httpd: Syntax error on line 211 of /etc/httpd/conf/httpd.conf: Syntax error on line 7 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 5 of /usr/local/psa/admin/conf/vhosts_bootstrap.conf.K19956: Could not open configuration file /var/www/vhosts/example.com/conf/13479343750.24934500_httpd.include: No such file or directory
 |             1 |
| 41 | serverHorde |      | 13479343750.24934500 | server     |     NULL | error  | [Thu Sep 27 08:50:10 2012] [warn] module ssl_module is already loaded, skipping
httpd: Syntax error on line 211 of /etc/httpd/conf/httpd.conf: Syntax error on line 7 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 5 of /usr/local/psa/admin/conf/vhosts_bootstrap.conf.K19956: Could not open configuration file /var/www/vhosts/example.com/conf/13479343750.24934500_httpd.include: No such file or directory
 |             1 |
+----+-------------+------+----------------------+------------+----------+--------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------+
2 rows in set (0.00 sec)

Tried the fix described here http://kb.parallels.com/en/111605 but to no avail, the error keeps appearing. Is there no way to get it to completely wipe the current settings and regenerate them from scratch?
 
Back
Top