Apache shutdown unexpectedly

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

Apache shutdown unexpectedly

Postby Skorz88 » 01. December 2015 09:59

Everytime I try to run apache I get this error message:

9:53:44 [Apache] Attempting to start Apache app...
9:53:44 [Apache] Status change detected: running
9:53:44 [Apache] Status change detected: stopped
9:53:44 [Apache] Error: Apache shutdown unexpectedly.
9:53:44 [Apache] This may be due to a blocked port, missing dependencies,
9:53:44 [Apache] improper privileges, a crash, or a shutdown by another method.
9:53:44 [Apache] Press the Logs button to view error logs and check
9:53:44 [Apache] the Windows Event Viewer for more clues
9:53:44 [Apache] If you need more help, copy and post this
9:53:44 [Apache] entire log window on the forums

Yes, I've seen the posts like mine and I've searched the forum for some solution, but the only thing I've found was to run it as admin. I already did it and there's something else strange. I can't open log files cause they don't exist. Can anyone help me, please?
Skorz88
 
Posts: 5
Joined: 01. December 2015 09:45
Operating System: Windows 8.1 x64

Re: Apache shutdown unexpectedly

Postby Altrea » 01. December 2015 13:48

Full Xampp control panel log when started as admin?
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: Apache shutdown unexpectedly

Postby Skorz88 » 01. December 2015 18:58

Altrea wrote:Full Xampp control panel log when started as admin?


Sorry, but full what? O_o
Skorz88
 
Posts: 5
Joined: 01. December 2015 09:45
Operating System: Windows 8.1 x64

Re: Apache shutdown unexpectedly

Postby Altrea » 01. December 2015 21:12

start your control panel with enhanced administration rights (rightclick -> run as Administrator) and show us all messages it showes beginning with the very first you can find by scrolling up.
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: Apache shutdown unexpectedly

Postby Skorz88 » 02. December 2015 14:56

Altrea wrote:start your control panel with enhanced administration rights (rightclick -> run as Administrator) and show us all messages it showes beginning with the very first you can find by scrolling up.


14:53:40 [main] Initializing Control Panel
14:53:40 [main] Windows Version: Windows 8.1 Pro 64-bit
14:53:40 [main] XAMPP Version: 5.6.14
14:53:40 [main] Control Panel Version: 3.2.2 [ Compiled: Nov 12th 2015 ]
14:53:40 [main] Running with Administrator rights - good!
14:53:40 [main] XAMPP Installation Directory: "d:\xampp\"
14:53:40 [main] Checking for prerequisites
14:55:05 [main] All prerequisites found
14:55:05 [main] Initializing Modules
14:55:05 [Apache] Problem detected!
14:55:05 [Apache] Port 80 in use by "Unable to open process" with PID 4!
14:55:05 [Apache] Apache WILL NOT start without the configured ports free!
14:55:05 [Apache] You need to uninstall/disable/reconfigure the blocking application
14:55:05 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
14:55:05 [Tomcat] Problem detected!
14:55:05 [Tomcat] Port 8080 in use by "Unable to open process"!
14:55:05 [Tomcat] Tomcat WILL NOT start without the configured ports free!
14:55:05 [Tomcat] You need to uninstall/disable/reconfigure the blocking application
14:55:05 [Tomcat] or reconfigure Tomcat and the Control Panel to listen on a different port
14:55:05 [main] Starting Check-Timer
14:55:05 [main] Control Panel Ready

Guess the problem is that port 80 is in use.
Skorz88
 
Posts: 5
Joined: 01. December 2015 09:45
Operating System: Windows 8.1 x64

Re: Apache shutdown unexpectedly

Postby Altrea » 02. December 2015 16:53

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: Apache shutdown unexpectedly

Postby Skorz88 » 02. December 2015 20:16

I couldn't get it work with the topic you've linked. I can't find any folder called etc in my Windows\sytsem32\drivers folder. And I can't tell what program is using port 80 by using the mentioned console commands.
Skorz88
 
Posts: 5
Joined: 01. December 2015 09:45
Operating System: Windows 8.1 x64

Re: Apache shutdown unexpectedly

Postby Altrea » 02. December 2015 20:42

Every Windows does have a Windows\system32\drivers\etc folder with a hosts file in it. It could be hidden but it is present.

And the linked post describes more than one possible solution. If one is not working for you try another one.
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: Apache shutdown unexpectedly

Postby Skorz88 » 03. December 2015 05:28

Altrea wrote:Every Windows does have a Windows\system32\drivers\etc folder with a hosts file in it. It could be hidden but it is present.

And the linked post describes more than one possible solution. If one is not working for you try another one.



Okay, I'll try. Sorry for being so dumb, I'm just trying to learn php at home so I don't much about these things :S Anyway, thanks for helping me.
Skorz88
 
Posts: 5
Joined: 01. December 2015 09:45
Operating System: Windows 8.1 x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 117 guests