Page 1 of 1

Apache shutdown unexpectedly

PostPosted: 01. December 2015 09:59
by Skorz88
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?

Re: Apache shutdown unexpectedly

PostPosted: 01. December 2015 13:48
by Altrea
Full Xampp control panel log when started as admin?

Re: Apache shutdown unexpectedly

PostPosted: 01. December 2015 18:58
by Skorz88
Altrea wrote:Full Xampp control panel log when started as admin?


Sorry, but full what? O_o

Re: Apache shutdown unexpectedly

PostPosted: 01. December 2015 21:12
by Altrea
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.

Re: Apache shutdown unexpectedly

PostPosted: 02. December 2015 14:56
by Skorz88
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.

Re: Apache shutdown unexpectedly

PostPosted: 02. December 2015 16:53
by Altrea

Re: Apache shutdown unexpectedly

PostPosted: 02. December 2015 20:16
by Skorz88
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.

Re: Apache shutdown unexpectedly

PostPosted: 02. December 2015 20:42
by Altrea
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.

Re: Apache shutdown unexpectedly

PostPosted: 03. December 2015 05:28
by Skorz88
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.