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

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

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

Postby ElectrifiedBrain » 17. July 2011 13:05

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.
ElectrifiedBrain
 
Posts: 7
Joined: 31. March 2010 06:51

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

Postby Altrea » 17. July 2011 14:47

wole wrote:Port 80 is used by an other program/prozess

Small correction: The error refers to port 443, not port 80
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8286
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

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

Postby ElectrifiedBrain » 17. July 2011 20:14

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.
ElectrifiedBrain
 
Posts: 7
Joined: 31. March 2010 06:51

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

Postby Sharley » 18. July 2011 03:17

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.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

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

Postby ElectrifiedBrain » 09. October 2011 13:00

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.
ElectrifiedBrain
 
Posts: 7
Joined: 31. March 2010 06:51

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

Postby Sharley » 09. October 2011 16:35

Thanks for the feedback. 8)
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 27 guests