common XAMPP (won't start) problem, lame user

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

common XAMPP (won't start) problem, lame user

Postby James E » 16. July 2018 01:13

Team. I looked at other thoughtful and well-laid-out related posts and I’m sure what I need is there but I have minimal expertise re: Apache, XAMPP, etc. and I'm just not very confident about trying to fix my apparently common XAMPP problem. Advancing age just makes all that worse.

I don't want to be a moocher or take advantage of goodwill on the forum but I need to get some assistance. So I’m quite willing to pay someone to provide that assistance. Without such help I think I’m screwed.

And, of course, I waited to the last minute to make changes to my web content.

Just upgraded to Win 10 64 bit.

FYI, using XAMPP Version: 7.0.6 from 2015. Maybe just installing newer version might be the solution?

Initial error message...

12:20:13 PM [Apache] Problem detected!
12:20:13 PM [Apache] Port 80 in use by "Unable to open process" with PID 4!
12:20:13 PM [Apache] Apache WILL NOT start without the configured ports free!
12:20:13 PM [Apache] You need to uninstall/disable/reconfigure the blocking application
12:20:13 PM [Apache] or reconfigure Apache and the Control Panel to listen on a different port

Against my better judgement I tried the first option/solution shown on the forum involving command prompt and the entry netsh http add iplisten ipaddress=::

Well, now the error message above is gone but XAMPP still does not work and error log says

4:41:08 PM [main] You are not running with administrator rights! This will work for
4:41:08 PM [main] most application stuff but whenever you do something with services
4:41:08 PM [main] there will be a security dialogue or things will break! So think
4:41:08 PM [main] about running this application with administrator rights!
4:41:08 PM [main] XAMPP Installation Directory: "c:\xampp\"
4:41:08 PM [main] Checking for prerequisites
4:41:08 PM [main] All prerequisites found
4:41:08 PM [main] Initializing Modules
4:41:08 PM [main] Enabling autostart for module "Apache"
4:41:08 PM [main] Starting Check-Timer
4:41:08 PM [main] Control Panel Ready
4:41:08 PM [Apache] Autostart active: starting...
4:41:08 PM [Apache] Attempting to start Apache app...
4:41:09 PM [Apache] Status change detected: running
4:41:11 PM [Apache] Status change detected: stopped
4:41:11 PM [Apache] Error: Apache shutdown unexpectedly.
4:41:11 PM [Apache] This may be due to a blocked port, missing dependencies,
4:41:11 PM [Apache] improper privileges, a crash, or a shutdown by another method.
4:41:11 PM [Apache] Press the Logs button to view error logs and check
4:41:11 PM [Apache] the Windows Event Viewer for more clues
4:41:11 PM [Apache] If you need more help, copy and post this
4:41:11 PM [Apache] entire log window on the forums

Also, I’m not much of a Windows expert but I am the only account holder and that by default I have admin rights. Unfortunately I don’t know (1/10th) of what I don’t know.
James E
 
Posts: 4
Joined: 16. July 2018 00:42
XAMPP version: 7.0.6
Operating System: Windows 10 Pro 64 Bit

Re: common XAMPP (won't start) problem, lame user

Postby Altrea » 16. July 2018 07:03

Hi,

Please execute the apache_start.bat script as described in [Q&A] Insufficient debug information - Apache starting issue and show us the response.
It should give you information about the issue.

best wishes,
Altrea
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: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: common XAMPP (won't start) problem, lame user

Postby James E » 16. July 2018 15:25

LIke I said, lame user. This is feeling around in a dark room with many sharp edges for me.

If there is anyone who will help me for pay I'd appreciate it. Deadlines loom and I do not feel very empowered
or confident about figuring this out. Venmo anyone?

When running the start bat file the windows command execution window pops up then goes away.

Used screen capture and retyping to get this content.

Diese Eingabeforderung nicht waehrend des Running beenden
Bitte erst bei einem gewollten Shutdown schliessen
Please close this command only for Shutdown
Apache 2 is starting …
(OS10048)Only one usage of each socket address (protocol/network address/port)
Is normally permitted. : AH00072: make_sock: could not bind to address [::]80

BTW, I did try bot suggestions under the thread/topic
[Q&A] solving Port 80 in use by PID 4 (HTTP.sys) issue under the subtopic Configure HTTP.sys to only bind to IPv6

JIm Eyer
510 482 3516
James E
 
Posts: 4
Joined: 16. July 2018 00:42
XAMPP version: 7.0.6
Operating System: Windows 10 Pro 64 Bit

Re: common XAMPP (won't start) problem, lame user

Postby Altrea » 16. July 2018 16:05

So it seams that there is still something listening on port 80.
Please open a Windows command line window (cmd.exe) with enhanced administrator rights (rightclick -> run as Administrator).
In that command line windows please type in
Code: Select all
netstat -aon |find ":80 "


Search especially for the line where :80 is found in the second column of the output.
The number at the end of that line is the importnt information to identify the process blocking your port 80.
If that number is 4, than your strategy of remapping HTTPS.sys to IPv6 has failed. Either a restart is needed or you need to try one of the other solutions like disabling WWW-Publishung service completely.
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: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: common XAMPP (won't start) problem, lame user

Postby James E » 16. July 2018 18:19

First, Altrea, thank you very much for helping. I really appreciate folks' willingness to take valuable time out of their life to assist someone that they do not know! I promise to try to return the favor somehow.

I guess that I should feel empowered by your assistance but I don't feel very confident about getting this resolved but I'll slog away at it. Like I said, if you are willing to help, say over the phone, to walk me through troubleshooting and fixing, I'll pay. I'm pretty desperate.

Anyway, here is the line that I think you asked for.

TCP [::]:80 [::]:0 LISTENING 4

Jim
510 482 3516
James E
 
Posts: 4
Joined: 16. July 2018 00:42
XAMPP version: 7.0.6
Operating System: Windows 10 Pro 64 Bit

Re: common XAMPP (won't start) problem, lame user

Postby Nobbie » 16. July 2018 19:42

James E wrote:Jim
510 482 3516


Nice.

You live in Germany? Not? Because we do. We cannot simply dial an US-American phonenumber.

Actually, here is a really nice documentation about your problem, is that still too difficult to follow?

See http://www.jmobile.net/webpage?ReadForm ... BEI-9SAHTY
Nobbie
 
Posts: 13182
Joined: 09. March 2008 13:04

Re: common XAMPP (won't start) problem, lame user

Postby James E » 16. July 2018 20:36

Nobbie.

I have great German heritage but U.S. citizen. How embarrassing THAT is these days.

Anyway, THANK YOU so much. I am very grateful!!

That seems to have worked. I did have o figure out how to do it in Windows 10 because the write-up you linked to seemed to be for Windows 7? Despite "rubber brain" I did do as it suggested, disabling the WWW service.

Are there any notable implications of leaving that service turned off that I should be aware of, in case I need to turn it back on?

Have a great day!
James E
 
Posts: 4
Joined: 16. July 2018 00:42
XAMPP version: 7.0.6
Operating System: Windows 10 Pro 64 Bit

Re: common XAMPP (won't start) problem, lame user

Postby Nobbie » 16. July 2018 21:34

James E wrote:Are there any notable implications of leaving that service turned off that I should be aware of, in case I need to turn it back on?


Only if you like to run Microsot IIS instead of Apache (but actually, with Xampp you decided just vice verse).

James E wrote:I have great German heritage but U.S. citizen. How embarrassing THAT is these days.


So if we call you, we can speak German?
Nobbie
 
Posts: 13182
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 137 guests