Apache Not Starting

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Apache Not Starting

Postby Anman » 29. January 2010 20:20

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?
Anman
 
Posts: 3
Joined: 29. January 2010 20:15

Re: Apache Not Starting

Postby Wiedmann » 29. January 2010 20:34

Apache Not Starting - Any ideas?

Read the "error.log".
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Apache Not Starting

Postby Anman » 29. January 2010 20:38

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>
Last edited by Anman on 29. January 2010 20:47, edited 1 time in total.
Anman
 
Posts: 3
Joined: 29. January 2010 20:15

Re: Apache Not Starting

Postby Wiedmann » 29. January 2010 20:46

Can you install XAMPP in "C:\" instead of "C:\Program Files\"?
(or stop and move it and call setup_xampp.bat once more.)
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Apache Not Starting

Postby Anman » 29. January 2010 20:52

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.
Anman
 
Posts: 3
Joined: 29. January 2010 20:15


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 156 guests