Index: [Article Count Order] [Thread]

Date:  Wed, 6 Dec 2006 18:52:27 -0500
From:  "Brian N. Smith" <brian (at mark) nuonce.net>
Subject:  [coba-e:08119] Re: apache won't start
To:  <coba-e (at mark) bluequartz.org>
Message-Id:  <003e01c71991$960c9db0$1e64a8c0 (at mark) nuonce.net>
References:  <6.2.5.6.0.20061206125209.020670b0 (at mark) pdcweb.net> <042101c71972$c168b760$3446460a (at mark) CIIC2> <6.2.5.6.0.20061206160321.02263108 (at mark) pdcweb.net>
X-Mail-Count: 08119

I know that I am a tad late to the party, and I apologize.

Error:
[root@secure2 ~]# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd: [Wed Dec 06 09:41:47 2006] [warn] NameVirtualHost 
64.42.222.21:80 has no VirtualHosts
(98)Address already in use: make_sock: could not bind to address 
0.0.0.0:443
no listening sockets available, shutting down
Unable to open logs
                                                           [FAILED]


When you update Apache, it over writes some of the configuration 
files.  One thing that it does is to load SSL twice.

I include a cool little program on my ISO installer called "search". 
It cats the file, greps for a string, and if it matches, shows you the 
file.  Great for figuring out where something is.  Should any one 
every get this problem again.

cd /etc/httpd
search 443

It should respond like so;

[root@bq1 httpd]# search 443
Locating all files on your Server, please stand by [done]
Beginning Search for "443"
"443" contained in ./conf.d/ssl.conf
"443" contained in ./conf.d/ssl_perl.conf

I the file that gets "mucked" up is the ssl.conf file.  If you look in 
there, you will see:

#Listen 443

The BlueQuartz version of Apache comments it out
[root (at mark) bq1 conf.d]# rpm -qf ssl.conf
mod_ssl-2.0.52-28.ent.centos4.BQ

The Version that gets yum updated, doesn't comment that line out.  If 
you were to comment that line, and restart Apache, it would have fixed 
it.

Thanks!
Brian