Page 1 of 2
apache does not start.
Posted:
06. May 2017 18:26
by dennisbartole
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.
Re: apache does not start.
Posted:
06. May 2017 18:29
by Altrea
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
Re: apache does not start.
Posted:
06. May 2017 18:31
by dennisbartole
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
Re: apache does not start.
Posted:
06. May 2017 18:41
by Altrea
Please try to execute the apache_start.bat script and tell us its response
Re: apache does not start.
Posted:
06. May 2017 18:50
by dennisbartole
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...
Re: apache does not start.
Posted:
06. May 2017 18:53
by Altrea
So either there is already a process occupying port 80 or your system or a security script prevents xampp Apache to open that port.
Re: apache does not start.
Posted:
06. May 2017 18:59
by dennisbartole
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!"
Re: apache does not start.
Posted:
06. May 2017 19:08
by Altrea
This issue is described here:
[Q&A] Apache won't start
Re: apache does not start.
Posted:
06. May 2017 19:17
by dennisbartole
what is the "Windows commandline"?
Re: apache does not start.
Posted:
06. May 2017 19:20
by Altrea
cmd.exe
Re: apache does not start.
Posted:
06. May 2017 19:24
by dennisbartole
ok the "prompt"!
Now it works!
thanks
DB
Re: apache does not start.
Posted:
06. May 2017 19:32
by Altrea
Great
You're welcome
Re: apache does not start.
Posted:
06. May 2017 19:32
by dennisbartole
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
Re: apache does not start.
Posted:
06. May 2017 19:54
by dennisbartole
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
Re: apache does not start.
Posted:
06. May 2017 19:57
by dennisbartole
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.