Apache web not starting after yum update install
-
- Forum User
- Posts: 14
- Joined: Fri Oct 19, 2007 8:47 am
Apache web not starting after yum update install
I installed atomic yum, then installed php-mcrypt, php-mhash, (these required that I install php-common, php-domxml, php-xml. I've re-booted the server, but still have no http sites - email seems ok.
I then did a total yum update which appeared to have completed successfully. Re-booted, but still no apache web server service.
Plesk version psa v8.2.1_build82070918.10 os_CentOS 4.2
Operating system Linux 2.6.9-42.0.3.ELsmp
# apachectl graceful
httpd not running, trying to start
(98)Address already in use: make_sock: could not bind to address [::]:443
no listening sockets available, shutting down
Unable to open logs
# apachectl restart
httpd not running, trying to start
(98)Address already in use: make_sock: could not bind to address [::]:443
no listening sockets available, shutting down
Unable to open logs
I then did a total yum update which appeared to have completed successfully. Re-booted, but still no apache web server service.
Plesk version psa v8.2.1_build82070918.10 os_CentOS 4.2
Operating system Linux 2.6.9-42.0.3.ELsmp
# apachectl graceful
httpd not running, trying to start
(98)Address already in use: make_sock: could not bind to address [::]:443
no listening sockets available, shutting down
Unable to open logs
# apachectl restart
httpd not running, trying to start
(98)Address already in use: make_sock: could not bind to address [::]:443
no listening sockets available, shutting down
Unable to open logs
-
- Forum User
- Posts: 14
- Joined: Fri Oct 19, 2007 8:47 am
Named file not starting.
I've narrowed it down to the /etc/init.d/named not starting
0: /usr/local/psa/admin/plib/common_func.php3:156
psaerror(string 'Unable to make action: Unable to manage service by dnsmng: dnsmng: Service /etc/init.d/named failed to start')
1: /usr/local/psa/admin/htdocs/server/restart_services.php:28
Anyone got an idea as to where I go from here.
0: /usr/local/psa/admin/plib/common_func.php3:156
psaerror(string 'Unable to make action: Unable to manage service by dnsmng: dnsmng: Service /etc/init.d/named failed to start')
1: /usr/local/psa/admin/htdocs/server/restart_services.php:28
Anyone got an idea as to where I go from here.
-
- Forum User
- Posts: 14
- Joined: Fri Oct 19, 2007 8:47 am
Started with update
This started with the yum update. I tried to check PHP version but got 100's of errors - many pointing to php4 - do I need to do some manual changes somewhere. Looks like ioncube loader and php4
How do I check port 443 or close it down?
How do I check port 443 or close it down?
Try
Code: Select all
#netstat --listen
#netstat -an
-
- Forum User
- Posts: 14
- Joined: Fri Oct 19, 2007 8:47 am
Problem fixed - php.ini wrong
I found the error in the php.ini - it was still pointing to extensions=/php4 - changed it to /php/modules and most everything loaded. Also deleted the Zend info from the php.ini - Apache is working again and the 443 port error went away. Ran the port stat - nothing on 443. I'm still getting two errors in php:
# php -version
Failed loading /usr/lib/php/ioncube/ioncube_loader_lin_.so: /usr/lib/php/ioncube/ioncube_loader_lin_.so: cannot open shared object file: No such file or directory
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/sitebuilder.so' - /usr/lib/php/modules/sitebuilder.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 5.2.3 (cli) (built: Aug 27 2007 08:18:18)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies
Is there anything else I should run from the atomic update?
Thanks for your help.
# php -version
Failed loading /usr/lib/php/ioncube/ioncube_loader_lin_.so: /usr/lib/php/ioncube/ioncube_loader_lin_.so: cannot open shared object file: No such file or directory
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/sitebuilder.so' - /usr/lib/php/modules/sitebuilder.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 5.2.3 (cli) (built: Aug 27 2007 08:18:18)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies
Is there anything else I should run from the atomic update?
Thanks for your help.
-
- Forum User
- Posts: 14
- Joined: Fri Oct 19, 2007 8:47 am
ioncube ini
I found the ini file that is pointing to ioncube-loader, but there is no matching file, there are files with 5.3.0 in the name. Should I update the ioncube.ini to point to that file loader?
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Check the wiki page:
http://www.atomicorp.com/wiki/index.php/PHP
http://www.atomicorp.com/wiki/index.php/PHP
-
- Forum User
- Posts: 14
- Joined: Fri Oct 19, 2007 8:47 am
Still have problems
Everything on the wiki waas done, but to be sure I redid it, got messages that there was nothing to do, copied the php.ini, but still getting the same message on php-versionscott wrote:Check the wiki page:
http://www.atomicorp.com/wiki/index.php/PHP
-
- Forum User
- Posts: 14
- Joined: Fri Oct 19, 2007 8:47 am
# echo "<? echo phpversion(); ?>" | phpscott wrote:what do you get from:
echo "<? echo phpversion(); ?>" | php
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/sitebuilder.so' - /usr/lib/php/modules/sitebuilder.so: cannot open shared object file: No such file or directory in Unknown on line 0
-
- Forum User
- Posts: 14
- Joined: Fri Oct 19, 2007 8:47 am
Sitebuilder
I don't use it. Its PSA installed back in version 7, so can I remove that through yum? Or should I just get rid of the reference in the ini? Now that I'm using the art install, I see that there are still some PSA programs - am I right to think that I still need to update those from plesk, or does the art updates take care of them?