All sites are down. Apache fails to start after a Plesk 9.x or Sitebuilder 4.x upgrade. In some cases, the following error is displayed:
Error: Web server reconfiguration failed: New Apache configuration was not built. 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.
When trying to start it from the command line interface, this error is returned:
# /etc/init.d/httpd start Starting httpd: [Mon Jul 16 02:52:13 2012] [warn] module ssl_module is already loaded, skipping (98)Address already in use: make_sock: could not bind to address [::]:80 (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs [FAILED]
In some cases, when trying to check the PHP version or list of enabled modules using the below commands, an error or segmentation fault appears:
# php -v # php -m
In the case of a problem, no output is generated or a segmentation fault occurs.
The PHP IonCube loader extension is included incorrectly in the PHP configuration.
Find all IonCube loader entries in the PHP configuration .ini files with this command:
# grep -iR ioncube /etc/php*
Make sure that the following is true:
- Only one IonCube loader is included.
- It corresponds with your PHP version. To check the PHP version, you can comment out all IonCube entries and run "
- It is included before all other Zend extensions.
If an ioncube entry is present in the PHP configuration, make sure that Ioncube_loader is installed on the server:
# php -v PHP 5.1.6 (cli) (built: Jun 27 2012 12:21:16) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies
If it is not, as in the above example, you need to either install it or comment out the entry in the PHP configuration:
# cat /etc/php.d/ioncube-loader.ini | grep zend_extension # zend_extension=/usr/lib/php/modules/ioncube_loader_lin_5.1.so