rescarcega
New Pleskian
I changed postfix to qmail through the component upgrade and after that Apache configuration is corrupted and will not start.
This is the error I received via mail:
Generating new Apache configuration on host <xxxx.xxx.xxx.xx> failed because the following error(s) occurred:
httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 5 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 67 of /usr/local/psa/admin/conf/generated/13391228120.29257900_server.include: Syntax error on line 6 of /usr/local/psa/admin/conf/ip_vhosts_bootstrap.conf: Could not open configuration file /var/www/vhosts/semar.gob.mx/conf/13391228120.83848500_httpd_ip_default.include: Permission denied
Please fix error(s) in templates of Apache configuration and retry generating the configuration file.
#########################
This is /var/log/sw-cp-server/error_log
2012-06-07T21:25:10-05:00 ERR (3): 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 <a href="/admin/subscription/webserver-configuration-rebuild/?returnUrl=%2Fhome%2Fadmin">here</a> to retry generating configuration.
2012-06-07T21:25:17-05:00 ERR (3): Apache config (13391223170.42606200) generation failed: httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 5 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 67 of /usr/local/psa/admin/conf/generated/13391223170.42606200_server.include: Syntax error on line 5 of /usr/local/psa/admin/conf/ip_vhosts_bootstrap.conf: Could not open configuration file /var/www/vhosts/semar.gob.mx/conf/13391220420.24702800_httpd_ip_default.include: Permission denied
2012-06-07T21:25:38-05:00 ERR (3): Web server reconfiguration failed: New Apache configuration was not built.
2012-06-07 21:25:38: (mod_fastcgi.c.2588) FastCGI-stderr: PleskUtilException: '/usr/local/psa/admin/bin/apache-config' '-t' failed with code .
stdout:
stderr:
httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 5 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 67 of /usr/local/psa/admin/conf/generated/13391223170.42606200_server.include: Syntax error on line 5 of /usr/local/psa/admin/conf/ip_vhosts_bootstrap.conf: Could not open configuration file /var/www/vhosts/xxxxxx.xxxx.xxx/conf/13391220420.24702800_httpd_ip_default.include: Permission denied
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('ae472cf6ad6f9e4...', 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/panel/application/controllers/SubscriptionController.php(999): Template_Configuration_Applier->applyConfiguration(true)
#7 /usr/local/psa/admin/panel/application/controllers/SubscriptionController.php(969): SubscriptionController->_webserverConfigurationRebuildServerwide()
#8 /usr/local/psa/admin/plib/Zend/Controller/Action.php(513): SubscriptionController->webserverConfigurationRebuildAction()
#9 /usr/local/psa/admin/plib/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('webserverConfig...')
#10 /usr/local/psa/admin/plib/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#11 /usr/local/psa/admin/panel/application/library/AdminPanel/Application/Web.php(20): Zend_Controller_Front->dispatch()
#12 /usr/local/psa/admin/panel/application/public/index.php(15): AdminPanel_Application_Web->run()
#13 {main}
2012-06-07T21:25:39-05:00 ERR (3): 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 <a href="/admin/subscription/webserver-configuration-rebuild/?returnUrl=%2Fhome%2Fadmin">here</a> to retry generating configuration.
2012-06-07 21:26:52: (connections.c.1737) SSL (error): 5 -1 32 Broken pipe
2012-06-07 21:31:54: (connections.c.1737) SSL (error): 5 -1 32 Broken pipe
2012-06-07 21:36:00: (connections.c.299) SSL: 1 error:140940E5:SSL routines:SSL3_READ_BYTES:ssl handshake failure
2012-06-07 21:36:05: (connections.c.1737) SSL (error): 5 -1 0 Success
2012-06-07 21:36:05: (connections.c.1737) SSL (error): 5 -1 0 Success
2012-06-07 21:36:05: (connections.c.1737) SSL (error): 5 -1 0 Success
2012-06-07T21:36:06-05:00 ERR (3): 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 <a href="/admin/subscription/webserver-configuration-rebuild/?returnUrl=%2Fhome%2Fadmin">here</a> to retry generating configuration.
2012-06-07T21:36:14-05:00 ERR (3): New web server configuration for some domains within the marked subscriptions was 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 <a href="/admin/subscription/webserver-configuration-rebuild/?returnUrl=%2Fsubscription%2Flist">here</a> to retry generating configuration.
2012-06-07 21:36:56: (connections.c.1737) SSL (error): 5 -1 32 Broken pipe
2012-06-07 21:41:59: (connections.c.1737) SSL (error): 5 -1 32 Broken pipe
I tried http://kb.parallels.com/en/111605 without success.
Any ideas?
My server:
Linux 2.6.32-71.el6.x86_64 #1 SMP Fri May 20 03:51:51 BST 2011 x86_64 x86_64 x86_64 GNU/Linux
This is the error I received via mail:
Generating new Apache configuration on host <xxxx.xxx.xxx.xx> failed because the following error(s) occurred:
httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 5 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 67 of /usr/local/psa/admin/conf/generated/13391228120.29257900_server.include: Syntax error on line 6 of /usr/local/psa/admin/conf/ip_vhosts_bootstrap.conf: Could not open configuration file /var/www/vhosts/semar.gob.mx/conf/13391228120.83848500_httpd_ip_default.include: Permission denied
Please fix error(s) in templates of Apache configuration and retry generating the configuration file.
#########################
This is /var/log/sw-cp-server/error_log
2012-06-07T21:25:10-05:00 ERR (3): 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 <a href="/admin/subscription/webserver-configuration-rebuild/?returnUrl=%2Fhome%2Fadmin">here</a> to retry generating configuration.
2012-06-07T21:25:17-05:00 ERR (3): Apache config (13391223170.42606200) generation failed: httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 5 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 67 of /usr/local/psa/admin/conf/generated/13391223170.42606200_server.include: Syntax error on line 5 of /usr/local/psa/admin/conf/ip_vhosts_bootstrap.conf: Could not open configuration file /var/www/vhosts/semar.gob.mx/conf/13391220420.24702800_httpd_ip_default.include: Permission denied
2012-06-07T21:25:38-05:00 ERR (3): Web server reconfiguration failed: New Apache configuration was not built.
2012-06-07 21:25:38: (mod_fastcgi.c.2588) FastCGI-stderr: PleskUtilException: '/usr/local/psa/admin/bin/apache-config' '-t' failed with code .
stdout:
stderr:
httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 5 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 67 of /usr/local/psa/admin/conf/generated/13391223170.42606200_server.include: Syntax error on line 5 of /usr/local/psa/admin/conf/ip_vhosts_bootstrap.conf: Could not open configuration file /var/www/vhosts/xxxxxx.xxxx.xxx/conf/13391220420.24702800_httpd_ip_default.include: Permission denied
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('ae472cf6ad6f9e4...', 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/panel/application/controllers/SubscriptionController.php(999): Template_Configuration_Applier->applyConfiguration(true)
#7 /usr/local/psa/admin/panel/application/controllers/SubscriptionController.php(969): SubscriptionController->_webserverConfigurationRebuildServerwide()
#8 /usr/local/psa/admin/plib/Zend/Controller/Action.php(513): SubscriptionController->webserverConfigurationRebuildAction()
#9 /usr/local/psa/admin/plib/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('webserverConfig...')
#10 /usr/local/psa/admin/plib/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#11 /usr/local/psa/admin/panel/application/library/AdminPanel/Application/Web.php(20): Zend_Controller_Front->dispatch()
#12 /usr/local/psa/admin/panel/application/public/index.php(15): AdminPanel_Application_Web->run()
#13 {main}
2012-06-07T21:25:39-05:00 ERR (3): 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 <a href="/admin/subscription/webserver-configuration-rebuild/?returnUrl=%2Fhome%2Fadmin">here</a> to retry generating configuration.
2012-06-07 21:26:52: (connections.c.1737) SSL (error): 5 -1 32 Broken pipe
2012-06-07 21:31:54: (connections.c.1737) SSL (error): 5 -1 32 Broken pipe
2012-06-07 21:36:00: (connections.c.299) SSL: 1 error:140940E5:SSL routines:SSL3_READ_BYTES:ssl handshake failure
2012-06-07 21:36:05: (connections.c.1737) SSL (error): 5 -1 0 Success
2012-06-07 21:36:05: (connections.c.1737) SSL (error): 5 -1 0 Success
2012-06-07 21:36:05: (connections.c.1737) SSL (error): 5 -1 0 Success
2012-06-07T21:36:06-05:00 ERR (3): 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 <a href="/admin/subscription/webserver-configuration-rebuild/?returnUrl=%2Fhome%2Fadmin">here</a> to retry generating configuration.
2012-06-07T21:36:14-05:00 ERR (3): New web server configuration for some domains within the marked subscriptions was 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 <a href="/admin/subscription/webserver-configuration-rebuild/?returnUrl=%2Fsubscription%2Flist">here</a> to retry generating configuration.
2012-06-07 21:36:56: (connections.c.1737) SSL (error): 5 -1 32 Broken pipe
2012-06-07 21:41:59: (connections.c.1737) SSL (error): 5 -1 32 Broken pipe
I tried http://kb.parallels.com/en/111605 without success.
Any ideas?
My server:
Linux 2.6.32-71.el6.x86_64 #1 SMP Fri May 20 03:51:51 BST 2011 x86_64 x86_64 x86_64 GNU/Linux