Page 1 of 1

Unable to open logs (Win7 Home Premeum) 1.7.7 - [SOLVED]

PostPosted: 17. July 2011 13:05
by ElectrifiedBrain
I have been having trouble with XAMPP tonight. For some reason, I'm getting this error:

Image

I clicked the setup file but got this:

Image

What do I do? I got the program to work earlier by uninstalling and reinstalling, but that didn't work this time around.

Re: XAMPP won't work: Unable to open logs

PostPosted: 17. July 2011 14:47
by Altrea
wole wrote:Port 80 is used by an other program/prozess

Small correction: The error refers to port 443, not port 80

Re: XAMPP won't work: Unable to open logs

PostPosted: 17. July 2011 20:14
by ElectrifiedBrain
No, it said 443 for this one, though sometimes it says 80. I'll run the check next time I open it. It might not be shutting down properly. I did get the error after I had shut it down and was trying to open it up again later.

Re: XAMPP won't work: Unable to open logs

PostPosted: 18. July 2011 03:17
by Sharley
Because XAMPP 1.7.4 does not include the xampp-portcheck.exe utility then you may be able to find out what is using the ports that Apache (XAMPP port 80/443/3306 etc.) needs by downloading and running this nice little portable utility Curr Ports from here:
http://www.nirsoft.net/utils/cports.html
It may also allow you to clear any app. that is using a particular port.

BTW, Curr Port (cports.exe) was the underlying app included in the old xampp-portcheck.exe file.


It is blatantly obvious and quite clear to anyone actually reading your first post correctly that the error message in the console refers to a conflict on port 443, the SSL port (HTTPS) not port 80 and so Altrea and the OP have quite correctly read the first post and observed the screen cap of the console.


So to quickly circumvent this port 443 issue for testing Apache startup, you can open your C:\xampp\apache\conf\httpd.conf file in a text editor and locate this entry near the end of the file:
Code: Select all
# Secure (SSL/TLS) connections
Include "conf/extra/httpd-ssl.conf"
Now add the comment hash at the start of the line like so
Code: Select all
# Secure (SSL/TLS) connections
# Include "conf/extra/httpd-ssl.conf"
Save the file and try once again to start Apache, using the XAMPP Control Panel if possible.

This will allow Apache to start on port 80 if it is available without the need to also start listening on port 443.

Once you have located and corrected the file that is hogging port 443 then it is a simple procedure to reverse your httpd.conf file edit - from the backup you made, perhaps.

You may also consider using the new version 3 control panel by extracting the exe file to the xampp install folder as it will often give you more information in the run-time log window about what happens when you perform certain function - it is much better than the included release version:
http://arloh.de/xampp/xampp_control3.0.2.zip
The relevant topic can be found here:
viewtopic.php?f=16&t=46743


Please let the forum know how you get on and if you find the offending port hog.

Thanks, good luck and best wishes.

Re: XAMPP won't work: Unable to open logs

PostPosted: 09. October 2011 13:00
by ElectrifiedBrain
Sharley asked for feedback on this topic, so I'm posting it here. I don't remember what I did last time to fix the problem, but I got the problem again today and restarted the computer, which seems to have fixed the problem.

Re: XAMPP won't work: Unable to open logs

PostPosted: 09. October 2011 16:35
by Sharley
Thanks for the feedback. 8)