Page 1 of 1

Apache Not Starting

PostPosted: 29. January 2010 20:20
by Anman
Greetings, I recently downloaded and installed XAMPP for my laptop. Apache does not start but MySQL does. Also if I click on it twice it starts but then promptly stops less than a second later

The port scanner shows that all the Apache ports are free.
Image

I'm on Windows 7 Home Premium, 64 bit.

What I've tried:
-Disabling firewall temporarily
-Running in windows xp SP3 compatibility mode
-Checking netstats to see if the port is in use (it wasn't)
-Running it as a service

Any ideas?

Re: Apache Not Starting

PostPosted: 29. January 2010 20:34
by Wiedmann
Apache Not Starting - Any ideas?

Read the "error.log".

Re: Apache Not Starting

PostPosted: 29. January 2010 20:38
by Anman
Wiedmann wrote:
Apache Not Starting - Any ideas?

Read the "error.log".


Syntax error on line 505 of C:/Program Files (x86)/xampp/apache/conf/httpd.conf:
SSLSessionCache: Invalid argument: size has to be >= 8192 bytes


Only error, but it's repeated several times (probably one for each time I hit Start)

Looks like a secure socket layer error, any idea on how to fix?

Also thanks for the help so far. =D

UPDATE:
Code: Select all
<IfModule ssl_module>
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    SSLSessionCache "shmcb:logs/ssl.scache(512000)" ;<--- THIS IS LINE 505
    SSLSessionCacheTimeout 300
</IfModule>

Re: Apache Not Starting

PostPosted: 29. January 2010 20:46
by Wiedmann
Can you install XAMPP in "C:\" instead of "C:\Program Files\"?
(or stop and move it and call setup_xampp.bat once more.)

Re: Apache Not Starting

PostPosted: 29. January 2010 20:52
by Anman
I don't really think that's the problem, see above post I updated it. I'm guessing the 512000 is too big.

I'd really like to keep it in Program Files (x86) but if I absolutely have to I will reinstall there.

UPDATE
I got Apache to run by commenting that SSL module out.