apache server not starting

apache server not starting

am 05.10.2010 16:24:20 von David Southwell

--Boundary-01=_UUzqMzbTYvSPqXX
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

apache22 is no longer starting after recent upgrade.

I have been trying to fix this for over a week but got nowhere - thanks in a
dvance for any help.


I have included some information which may be relevant;

Some guidance would be appreciated as I cannot get the web server to run and .

It seems that something must have changed with the latest upgrade as there
were no changes to the config.
Syntax is ok:

dns1# /usr/local/sbin/apachectl -t
Syntax OK
I have rebuilt apache22 but apache does not start as evidenced below:
dns1# /usr/local/sbin/apachectl start

Apache/2.2.16 mod_ssl/2.2.16 (Pass Phrase Dialog)
Some of your private key files are encrypted for security reasons.
In order to read them you have to provide the pass phrases.
[ NOTE I am using a self issued CA certificate which has been working fine]
Server www.vizion2000.net:443 (RSA)
Enter pass phrase:

OK: Pass Phrase Dialog successful.

dns1# ps -aux |grep httpd
root 64784 0.0 0.0 5892 1284 p1 D+ 10:42AM 0:00.00 grep httpd
dns1# /usr/local/sbin/apachectl restart
httpd not running, trying to start
Apache/2.2.16 mod_ssl/2.2.16 (Pass Phrase Dialog)
Some of your private key files are encrypted for security reasons.
In order to read them you have to provide the pass phrases.

Server www.vizion2000.net:443 (RSA)
Enter pass phrase:

OK: Pass Phrase Dialog successful.
dns1#
_____________________

Testing openssl seems to indicate certificate is fine.
dns1# openssl x509 -in www.vizion2000.net.crt -noout -subject
subject= /C=UK/ST=South Gloucestershire/L=Kingswood/O=Vizion
Communications/OU=IT/CN=www.vizion2000.net/emailAddress=davi d@vizion2000.net
dns1#


Can anyone please tell me how I can find out why apache is not starting. Here
is the entry from httpd-error.log:

[Tue Oct 05 15:21:05 2010] [info] Init: Seeding PRNG with 144 bytes of entropy
[Tue Oct 05 15:21:05 2010] [info] Loading certificate & private key of SSL-
aware server
[Tue Oct 05 15:21:05 2010] [info] Init: Requesting pass phrase via builtin
terminal dialog
[Tue Oct 05 15:21:10 2010] [debug] ssl_engine_pphrase.c(476): encrypted RSA
private key - pass phrase requested
[Tue Oct 05 15:21:10 2010] [info] Init: Wiped out the queried pass phrases
from memory
[Tue Oct 05 15:21:10 2010] [info] Init: Generating temporary RSA private keys
(512/1024 bits)
[Tue Oct 05 15:21:10 2010] [info] Init: Generating temporary DH parameters
(512/1024 bits)
[Tue Oct 05 15:21:10 2010] [info] Init: Initializing (virtual) servers for SSL
[Tue Oct 05 15:21:10 2010] [info] Configuring server for SSL protocol
[Tue Oct 05 15:21:10 2010] [debug] ssl_engine_init.c(465): Creating new SSL
context (protocols: SSLv2, SSLv3, TLSv1)
[Tue Oct 05 15:21:10 2010] [debug] ssl_engine_init.c(661): Configuring
permitted SSL ciphers [ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:
+EXP:+eNULL]
[Tue Oct 05 15:21:10 2010] [debug] ssl_engine_init.c(420): Configuring TLS
extension handling
[Tue Oct 05 15:21:10 2010] [debug] ssl_engine_init.c(792): Configuring RSA
server certificate
[Tue Oct 05 15:21:10 2010] [warn] RSA server certificate is a CA certificate
(BasicConstraints: CA == TRUE !?)
[Tue Oct 05 15:21:10 2010] [debug] ssl_engine_init.c(831): Configuring RSA
server private key
[Tue Oct 05 15:21:10 2010] [info] mod_ssl/2.2.16 compiled against Server:
Apache/2.2.16, Library: OpenSSL/1.0.0a
[Tue Oct 05 15:21:10 2010] [info] mod_unique_id: using ip addr 62.49.197.50
[Tue Oct 05 15:21:11 2010] [info] Init: Seeding PRNG with 144 bytes of entropy
[Tue Oct 05 15:21:11 2010] [info] Loading certificate & private key of SSL-
aware server
[Tue Oct 05 15:21:11 2010] [info] www.vizion2000.net:443 reusing existing RSA
private key on restart
[Tue Oct 05 15:21:11 2010] [info] Init: Generating temporary RSA private keys
(512/1024 bits)
[Tue Oct 05 15:21:11 2010] [info] Init: Generating temporary DH parameters
(512/1024 bits)
[Tue Oct 05 15:21:11 2010] [debug] ssl_scache_shmcb.c(253): shmcb_init
allocated 512000 bytes of shared memory
[Tue Oct 05 15:21:11 2010] [debug] ssl_scache_shmcb.c(272): for 511920 bytes
(512000 including header), recommending 32 subcaches, 133 indexes each
[Tue Oct 05 15:21:11 2010] [debug] ssl_scache_shmcb.c(306): shmcb_init_memory
choices follow
[Tue Oct 05 15:21:11 2010] [debug] ssl_scache_shmcb.c(308): subcache_num = 32
[Tue Oct 05 15:21:11 2010] [debug] ssl_scache_shmcb.c(310): subcache_size =
15992
[Tue Oct 05 15:21:11 2010] [debug] ssl_scache_shmcb.c(312):
subcache_data_offset = 3208
[Tue Oct 05 15:21:11 2010] [debug] ssl_scache_shmcb.c(314): subcache_data_size
= 12784
[Tue Oct 05 15:21:11 2010] [debug] ssl_scache_shmcb.c(316): index_num = 133
[Tue Oct 05 15:21:11 2010] [info] Shared memory session cache initialised
[Tue Oct 05 15:21:11 2010] [info] Init: Initializing (virtual) servers for SSL
[Tue Oct 05 15:21:11 2010] [info] Configuring server for SSL protocol
[Tue Oct 05 15:21:11 2010] [debug] ssl_engine_init.c(465): Creating new SSL
context (protocols: SSLv2, SSLv3, TLSv1)
[Tue Oct 05 15:21:11 2010] [debug] ssl_engine_init.c(661): Configuring
permitted SSL ciphers [ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:
+EXP:+eNULL]
[Tue Oct 05 15:21:11 2010] [debug] ssl_engine_init.c(420): Configuring TLS
extension handling
[Tue Oct 05 15:21:11 2010] [debug] ssl_engine_init.c(792): Configuring RSA
server certificate
[Tue Oct 05 15:21:11 2010] [warn] RSA server certificate is a CA certificate
(BasicConstraints: CA == TRUE !?)
[Tue Oct 05 15:21:11 2010] [debug] ssl_engine_init.c(831): Configuring RSA
server private key
[Tue Oct 05 15:21:11 2010] [info] mod_ssl/2.2.16 compiled against Server:
Apache/2.2.16, Library: OpenSSL/1.0.0a


Photographic Artist
Permanent Installations & Design
Creative Imagery and Advanced Digital Techniques
High Dynamic Range Photography & Official Portraiture
Combined darkroom & digital creations
& Systems Adminstrator for the vizion2000.net network

--Boundary-01=_UUzqMzbTYvSPqXX
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: 7bit



apache22 is no longer starting after recent upgrade.



I have been trying to fix this for over a week but got nowhere - thanks in a dvance for any help.




I have included some information which may be relevant;



Some guidance would be appreciated as I cannot get the web server to run and .



It seems that something must have changed with the latest upgrade as there


were no changes to the config.


Syntax is ok:



dns1# /usr/local/sbin/apachectl -t


Syntax OK


I have rebuilt apache22 but apache does not start as evidenced below:


dns1# /usr/local/sbin/apachectl start



Apache/2.2.16 mod_ssl/2.2.16 (Pass Phrase Dialog)


Some of your private key files are encrypted for security reasons.


In order to read them you have to provide the pass phrases.


[ NOTE I am using a self issued CA certificate which has been working fine]


Server www.vizion2000.net:443 (RSA)


Enter pass phrase:



OK: Pass Phrase Dialog successful.



dns1# ps -aux |grep httpd


root 64784 0.0 0.0 5892 1284 p1 D+ 10:42AM 0:00.00 grep httpd


dns1# /usr/local/sbin/apachectl restart


httpd not running, trying to start


Apache/2.2.16 mod_ssl/2.2.16 (Pass Phrase Dialog)


Some of your private key files are encrypted for security reasons.


In order to read them you have to provide the pass phrases.



Server www.vizion2000.net:443 (RSA)


Enter pass phrase:



OK: Pass Phrase Dialog successful.


dns1#


_____________________



Testing openssl seems to indicate certificate is fine.


dns1# openssl x509 -in www.vizion2000.net.crt -noout -subject


subject= /C=UK/ST=South Gloucestershire/L=Kingswood/O=Vizion


Communications/OU=IT/CN=www.vizion2000.net/emailAddress=davi d@vizion2000.net


dns1#




Can anyone please tell me how I can find out why apache is not starting. Here is the entry from httpd-error.log:



[Tue Oct 05 15:21:05 2010] [info] Init: Seeding PRNG with 144 bytes of entropy


[Tue Oct 05 15:21:05 2010] [info] Loading certificate & private key of SSL-aware server


[Tue Oct 05 15:21:05 2010] [info] Init: Requesting pass phrase via builtin terminal dialog


[Tue Oct 05 15:21:10 2010] [debug] ssl_engine_pphrase.c(476): encrypted RSA private key - pass phrase requested


[Tue Oct 05 15:21:10 2010] [info] Init: Wiped out the queried pass phrases from memory


[Tue Oct 05 15:21:10 2010] [info] Init: Generating temporary RSA private keys (512/1024 bits)


[Tue Oct 05 15:21:10 2010] [info] Init: Generating temporary DH parameters (512/1024 bits)


[Tue Oct 05 15:21:10 2010] [info] Init: Initializing (virtual) servers for SSL


[Tue Oct 05 15:21:10 2010] [info] Configuring server for SSL protocol


[Tue Oct 05 15:21:10 2010] [debug] ssl_engine_init.c(465): Creating new SSL context (protocols: SSLv2, SSLv3, TLSv1)


[Tue Oct 05 15:21:10 2010] [debug] ssl_engine_init.c(661): Configuring permitted SSL ciphers [ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+ eNULL]


[Tue Oct 05 15:21:10 2010] [debug] ssl_engine_init.c(420): Configuring TLS extension handling


[Tue Oct 05 15:21:10 2010] [debug] ssl_engine_init.c(792): Configuring RSA server certificate


[Tue Oct 05 15:21:10 2010] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)


[Tue Oct 05 15:21:10 2010] [debug] ssl_engine_init.c(831): Configuring RSA server private key


[Tue Oct 05 15:21:10 2010] [info] mod_ssl/2.2.16 compiled against Server: Apache/2.2.16, Library: OpenSSL/1.0.0a


[Tue Oct 05 15:21:10 2010] [info] mod_unique_id: using ip addr 62.49.197.50


[Tue Oct 05 15:21:11 2010] [info] Init: Seeding PRNG with 144 bytes of entropy


[Tue Oct 05 15:21:11 2010] [info] Loading certificate & private key of SSL-aware server


[Tue Oct 05 15:21:11 2010] [info] www.vizion2000.net:443 reusing existing RSA private key on restart


[Tue Oct 05 15:21:11 2010] [info] Init: Generating temporary RSA private keys (512/1024 bits)


[Tue Oct 05 15:21:11 2010] [info] Init: Generating temporary DH parameters (512/1024 bits)


[Tue Oct 05 15:21:11 2010] [debug] ssl_scache_shmcb.c(253): shmcb_init allocated 512000 bytes of shared memory


[Tue Oct 05 15:21:11 2010] [debug] ssl_scache_shmcb.c(272): for 511920 bytes (512000 including header), recommending 32 subcaches, 133 indexes each


[Tue Oct 05 15:21:11 2010] [debug] ssl_scache_shmcb.c(306): shmcb_init_memory choices follow


[Tue Oct 05 15:21:11 2010] [debug] ssl_scache_shmcb.c(308): subcache_num = 32


[Tue Oct 05 15:21:11 2010] [debug] ssl_scache_shmcb.c(310): subcache_size = 15992


[Tue Oct 05 15:21:11 2010] [debug] ssl_scache_shmcb.c(312): subcache_data_offset = 3208


[Tue Oct 05 15:21:11 2010] [debug] ssl_scache_shmcb.c(314): subcache_data_size = 12784


[Tue Oct 05 15:21:11 2010] [debug] ssl_scache_shmcb.c(316): index_num = 133


[Tue Oct 05 15:21:11 2010] [info] Shared memory session cache initialised


[Tue Oct 05 15:21:11 2010] [info] Init: Initializing (virtual) servers for SSL


[Tue Oct 05 15:21:11 2010] [info] Configuring server for SSL protocol


[Tue Oct 05 15:21:11 2010] [debug] ssl_engine_init.c(465): Creating new SSL context (protocols: SSLv2, SSLv3, TLSv1)


[Tue Oct 05 15:21:11 2010] [debug] ssl_engine_init.c(661): Configuring permitted SSL ciphers [ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+ eNULL]


[Tue Oct 05 15:21:11 2010] [debug] ssl_engine_init.c(420): Configuring TLS extension handling


[Tue Oct 05 15:21:11 2010] [debug] ssl_engine_init.c(792): Configuring RSA server certificate


[Tue Oct 05 15:21:11 2010] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)


[Tue Oct 05 15:21:11 2010] [debug] ssl_engine_init.c(831): Configuring RSA server private key


[Tue Oct 05 15:21:11 2010] [info] mod_ssl/2.2.16 compiled against Server: Apache/2.2.16, Library: OpenSSL/1.0.0a




Photographic Artist


Permanent Installations & Design


Creative Imagery and Advanced Digital Techniques


High Dynamic Range Photography & Official Portraiture


Combined darkroom & digital creations


& Systems Adminstrator for the vizion2000.net network


--Boundary-01=_UUzqMzbTYvSPqXX--

Re: apache server not starting - Please help decipheran additional clue!

am 06.10.2010 05:30:18 von Craig Huffstetler

Hi David,

> Can anyone please tell me how I can find out why apache is not starting.
> Here is the entry from httpd-error.log:

Did you rebuild mod_ssl and upgrade OpenSSL on this server/instance?

Craig

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org