Apache web not starting after yum update install

Support/Development for PHP
calderwood
Forum User
Forum User
Posts: 14
Joined: Fri Oct 19, 2007 8:47 am

Apache web not starting after yum update install

Unread post by calderwood »

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
calderwood
Forum User
Forum User
Posts: 14
Joined: Fri Oct 19, 2007 8:47 am

Named file not starting.

Unread post by calderwood »

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.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

That sounds to me like something else is running on port 443, most likely malware of some kind.
calderwood
Forum User
Forum User
Posts: 14
Joined: Fri Oct 19, 2007 8:47 am

Started with update

Unread post by calderwood »

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?
Highland
Forum Regular
Forum Regular
Posts: 674
Joined: Mon Apr 10, 2006 12:55 pm

Unread post by Highland »

Try

Code: Select all

#netstat --listen
#netstat -an
calderwood
Forum User
Forum User
Posts: 14
Joined: Fri Oct 19, 2007 8:47 am

Problem fixed - php.ini wrong

Unread post by calderwood »

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.
calderwood
Forum User
Forum User
Posts: 14
Joined: Fri Oct 19, 2007 8:47 am

ioncube ini

Unread post by calderwood »

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?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

calderwood
Forum User
Forum User
Posts: 14
Joined: Fri Oct 19, 2007 8:47 am

Still have problems

Unread post by calderwood »

scott wrote:Check the wiki page:
http://www.atomicorp.com/wiki/index.php/PHP
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-version
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

what do you get from:

echo "<? echo phpversion(); ?>" | php
calderwood
Forum User
Forum User
Posts: 14
Joined: Fri Oct 19, 2007 8:47 am

Unread post by calderwood »

scott wrote:what do you get from:

echo "<? echo phpversion(); ?>" | php
# 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
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

ah thats sitebuilder breaking things. You'll want to get rid of that first.
calderwood
Forum User
Forum User
Posts: 14
Joined: Fri Oct 19, 2007 8:47 am

Sitebuilder

Unread post by calderwood »

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?
Post Reply