httpd problem

billy_rud10

Verified User
Joined
Feb 25, 2008
Messages
5
Hey, I've been a DA user for a few years now. I've recently ran into a problem with httpd. I woke up this morning and I received several emails saying my httpd was down, so I tried starting it within the DA Panel, and it says "Process is stopped". So I looked at the logs(error_log, access_log, and messages), and it doesn't show the httpd stopping or having any errors.
I did a configtest and that returned OK, so then I tried /sbin/service httpd start, and it said it started ok, but no httpd process was running. I then tried to disable all vhosts, and the same thing happened. So I turned to rebuilding apache using custombuild, and it continues to happen.
I have not changed anything to do with permissions or httpd in well over a few months. Have not added any new users either.

Here's some basic info on the system
OS: CentOS
Kernel: 2.6.9-67.0.1.ELsmp
Apache: 1.3.41
php: 5
 
I did. The only information shown is:

[Mon Feb 25 01:15:05 2008] [error] mod_ssl: SSL handshake failed (server removed.forprivacy.com:443, client 76.21.x.x) (OpenSSL library error follows)
[Mon Feb 25 01:15:05 2008] [error] OpenSSL: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol [Hint: speaking not SSL to HTTPS port!?]

That was 1:15AM, nothing since then, even after starting apache several times.
 
I don't know. If you mean that when you start apache it stops immediately without writing anything to a log, then you might want to check space left on the partition holding your logs. In fact check all your partition space.

Otherwise you may need to have someone log into your server to figure it out.

Jeff
 
Hard drive space seems fine.
Filesystem Size Used Avail Use% Mounted on
/dev/sda7 21G 1.6G 18G 9% /
/dev/sda1 190M 78M 103M 44% /boot
none 1010M 0 1010M 0% /dev/shm
/dev/sda2 83G 71G 8.1G 90% /home
/dev/sda8 1012M 34M 927M 4% /tmp
/dev/sda6 21G 1.7G 18G 9% /usr
/dev/sda5 21G 5.1G 15G 26% /var

I've also talked to multiple people to try and figure this out, but so far nothings turned up :(
 
Hard drive space seems fine.
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 83G 71G 8.1G 90% /home

I've also talked to multiple people to try and figure this out, but so far nothings turned up :(
check on the size of the log files and empty their content, if too big. Then
/sbin/service httpd restart

What do you get when you run this command:
php -v

If you don't get any response, that means a module is corrupted and preventing Apache from re/starting.
 
PHP 4.4.8 (cli) (built: Feb 25 2008 08:10:54)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

Thats correct, I rebuilt apache and php4, but not 5.

I removed all the apache logs and apache starts and stays running now, but now I recieve this error.

[Mon Feb 25 13:00:14 2008] [notice] child pid 2958 exit signal Segmentation fault (11)
[Mon Feb 25 13:00:14 2008] [notice] child pid 2959 exit signal Segmentation fault (11)
[Mon Feb 25 13:00:14 2008] [notice] child pid 2960 exit signal Segmentation fault (11)

Followed by:

[Mon Feb 25 13:00:14 2008] [error] mod_ssl: SSL handshake failed (server removed.forprivacy.com:443, client 68.158.x.x) (OpenSSL library error follows)
[Mon Feb 25 13:00:14 2008] [error] OpenSSL: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol [Hint: speaking not SSL to HTTPS port!?]
 
EDIT: Problem here has been fixed.

However the error_log is still being flooded with the bottom half of the post above.
 
Last edited:
Back
Top