B
basw80
Guest
Hey there,
After an upgrade to plesk 10.4.4, the webserver won't start any more.
I can't seem to pinpoint the problem, the error messages are to vague.
Errors occur when I try:
/usr/local/psa/admin/sbin/httpdmng --reconfigure-server
or
/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
PleskUtilException: '/usr/local/psa/admin/bin/apache_control_adapter' '--restart' '--restart-interval' '0' '--http-port' '80' '--https-port' '443' failed with code 255.
stdout:
Service /etc/init.d/httpd failed to start
Service /etc/init.d/httpd failed to start
stderr:
Service /etc/init.d/httpd failed to start
Service /etc/init.d/httpd failed to start
file: /usr/local/psa/admin/plib/Service/Agent/Transport/Local/Exec.php
line: 98
code: 0
trace: #0 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(58): Service_Agent_Transport_Local_Exec->process(0, 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(0, 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('06f1c5c41011b41...', Array, Object(Service_Agent_Log))
#3 /usr/local/psa/admin/plib/Template/Writer/Apache.php(82): Service_Agent->commit()
#4 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(202): Template_Writer_Apache->restart()
#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}
2011-12-05T10:40:57+01:00 ERR (3): Apache config (13230780550.62305300) generation failed: Can not restart web server: Service /etc/init.d/httpd failed to start
Service /etc/init.d/httpd failed to start
Can not restart web server: Service /etc/init.d/httpd failed to start
Service /etc/init.d/httpd failed to start
The error-mail I receive:
Generating new Apache configuration on host <hostname> failed because the following error(s) occurred:
Can not restart web server: Service /etc/init.d/httpd failed to start Service /etc/init.d/httpd failed to start
Please fix error(s) in templates of Apache configuration and retry generating the configuration file.
I surely would like to fix the errors, but where can I find the exact errors?
/var/log/sw-cp-server/error_log does not give me more detail.
Also:
apachectl -t
Syntax OK
After an upgrade to plesk 10.4.4, the webserver won't start any more.
I can't seem to pinpoint the problem, the error messages are to vague.
Errors occur when I try:
/usr/local/psa/admin/sbin/httpdmng --reconfigure-server
or
/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
PleskUtilException: '/usr/local/psa/admin/bin/apache_control_adapter' '--restart' '--restart-interval' '0' '--http-port' '80' '--https-port' '443' failed with code 255.
stdout:
Service /etc/init.d/httpd failed to start
Service /etc/init.d/httpd failed to start
stderr:
Service /etc/init.d/httpd failed to start
Service /etc/init.d/httpd failed to start
file: /usr/local/psa/admin/plib/Service/Agent/Transport/Local/Exec.php
line: 98
code: 0
trace: #0 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(58): Service_Agent_Transport_Local_Exec->process(0, 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(0, 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('06f1c5c41011b41...', Array, Object(Service_Agent_Log))
#3 /usr/local/psa/admin/plib/Template/Writer/Apache.php(82): Service_Agent->commit()
#4 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(202): Template_Writer_Apache->restart()
#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}
2011-12-05T10:40:57+01:00 ERR (3): Apache config (13230780550.62305300) generation failed: Can not restart web server: Service /etc/init.d/httpd failed to start
Service /etc/init.d/httpd failed to start
Can not restart web server: Service /etc/init.d/httpd failed to start
Service /etc/init.d/httpd failed to start
The error-mail I receive:
Generating new Apache configuration on host <hostname> failed because the following error(s) occurred:
Can not restart web server: Service /etc/init.d/httpd failed to start Service /etc/init.d/httpd failed to start
Please fix error(s) in templates of Apache configuration and retry generating the configuration file.
I surely would like to fix the errors, but where can I find the exact errors?
/var/log/sw-cp-server/error_log does not give me more detail.
Also:
apachectl -t
Syntax OK
Last edited by a moderator: