apache does not start.

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

apache does not start.

Postby dennisbartole » 06. May 2017 18:26

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


it is not possible to view the error log file.
dennisbartole
 
Posts: 12
Joined: 06. May 2017 18:12
XAMPP version: 3.2.2
Operating System: w10

Re: apache does not start.

Postby Altrea » 06. May 2017 18:29

But it is possible to follow the log advise:
19:19:52 [Apache] If you need more help, copy and post this
19:19:52 [Apache] entire log window on the forums
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: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: apache does not start.

Postby dennisbartole » 06. May 2017 18:31

thanks for your reply. here it is:
I am already running as an admin.


19:41:41 [main] Initializing Control Panel
19:41:41 [main] Windows Version: Pro 64-bit
19:41:41 [main] XAMPP Version: 5.6.30
19:41:41 [main] Control Panel Version: 3.2.2 [ Compiled: Nov 12th 2015 ]
19:41:41 [main] Running with Administrator rights - good!
19:41:41 [main] XAMPP Installation Directory: "c:\xampp\"
19:41:41 [main] Checking for prerequisites
19:41:41 [main] All prerequisites found
19:41:41 [main] Initializing Modules
19:41:41 [mysql] XAMPP MySQL is already running on port 3306
19:41:41 [main] The FileZilla module is disabled
19:41:41 [main] The Mercury module is disabled
19:41:41 [main] Starting Check-Timer
19:41:41 [main] Control Panel Ready
19:41:43 [Apache] Attempting to start Apache app...
19:41:43 [Apache] Status change detected: running
19:41:44 [Apache] Status change detected: stopped
19:41:44 [Apache] Error: Apache shutdown unexpectedly.
19:41:44 [Apache] This may be due to a blocked port, missing dependencies,
19:41:44 [Apache] improper privileges, a crash, or a shutdown by another method.
19:41:44 [Apache] Press the Logs button to view error logs and check
19:41:44 [Apache] the Windows Event Viewer for more clues
19:41:44 [Apache] If you need more help, copy and post this
19:41:44 [Apache] entire log window on the forums
dennisbartole
 
Posts: 12
Joined: 06. May 2017 18:12
XAMPP version: 3.2.2
Operating System: w10

Re: apache does not start.

Postby Altrea » 06. May 2017 18:41

Please try to execute the apache_start.bat script and tell us its response
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: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: apache does not start.

Postby dennisbartole » 06. May 2017 18:50

Please close this command only for Shutdown
Apache 2 is staring
(OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions. : AH00072: make_sock: could not bind to address [::]:80
(OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions. : AH00072: make_sock: could not bind to address 0.0.0.0:80
AH00451: no listening sockets available, shutting down
AH00015: Unable to open logs
Apache could not be started
Press any key to continue...
dennisbartole
 
Posts: 12
Joined: 06. May 2017 18:12
XAMPP version: 3.2.2
Operating System: w10

Re: apache does not start.

Postby Altrea » 06. May 2017 18:53

So either there is already a process occupying port 80 or your system or a security script prevents xampp Apache to open that port.
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: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: apache does not start.

Postby dennisbartole » 06. May 2017 18:59

i have already tried to switch apache to 8080... and this is the result.

if i left port 80 it tells me that "Port 80 in use by "Unable to open process" with PID 4!"
dennisbartole
 
Posts: 12
Joined: 06. May 2017 18:12
XAMPP version: 3.2.2
Operating System: w10

Re: apache does not start.

Postby Altrea » 06. May 2017 19:08

This issue is described here: [Q&A] Apache won't start
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: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: apache does not start.

Postby dennisbartole » 06. May 2017 19:17

what is the "Windows commandline"?
dennisbartole
 
Posts: 12
Joined: 06. May 2017 18:12
XAMPP version: 3.2.2
Operating System: w10

Re: apache does not start.

Postby Altrea » 06. May 2017 19:20

cmd.exe
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: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: apache does not start.

Postby dennisbartole » 06. May 2017 19:24

ok the "prompt"!

Now it works!

thanks
DB
dennisbartole
 
Posts: 12
Joined: 06. May 2017 18:12
XAMPP version: 3.2.2
Operating System: w10

Re: apache does not start.

Postby Altrea » 06. May 2017 19:32

Great :D
You're welcome
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: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: apache does not start.

Postby dennisbartole » 06. May 2017 19:32

no, it worked for one second.

i have typed:

netsh http add iplisten ipaddress=::

and after that...
what does this string mean?
http://localhost

00
dennisbartole
 
Posts: 12
Joined: 06. May 2017 18:12
XAMPP version: 3.2.2
Operating System: w10

Re: apache does not start.

Postby dennisbartole » 06. May 2017 19:54

I have added the last row but apache still not start

# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
localhost 127.0.0.1
dennisbartole
 
Posts: 12
Joined: 06. May 2017 18:12
XAMPP version: 3.2.2
Operating System: w10

Re: apache does not start.

Postby dennisbartole » 06. May 2017 19:57

this is the error log


[Sat May 06 21:06:41.087217 2017] [ssl:warn] [pid 9296:tid 180] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat May 06 21:06:41.118472 2017] [mpm_winnt:crit] [pid 9296:tid 180] (OS 109)The pipe has been ended. : AH00404: Child: Unable to read socket data from parent
[Sat May 06 21:06:41.118472 2017] [mpm_winnt:crit] [pid 9992:tid 548] AH00427: Parent: child process 9296 exited with status 3 -- Aborting.
dennisbartole
 
Posts: 12
Joined: 06. May 2017 18:12
XAMPP version: 3.2.2
Operating System: w10

Next

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 111 guests