Apache refuse start

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

Apache refuse start

Postby pavelsustek » 06. July 2018 11:53

I ask for your help .
I installed XAMPP(Apache and PHP) .Installation performed succesfully ,but Apache don´t start .I didn´t try PHP .I want execute program written in HTML with PHP fragment .

After start Apache appeared in log Windows message „XAMPP control panel wrote:XX:XX:XX [Apache] Port 80 in use by "Unable to open process" with PID 4!“ and rectangle Apache did not change color .

XAMPP version number 7.2.6
Bundle version (I do not know)
Instar file type - .exe
the full filename of the downloaded xampp installation file (xampp-win32-7.2.6-0-VC15-installer.exe)


operating system version
OS – Windows 10 Pro ,64bit
XAMPP installation path
C:\xampp\
any configuration changes made since installation
nothing after reinstallation(showed later)
full qualified issue report
actions – start Apache
expected reactions – welchome page of Apache
received reactions- Control Panel stay
Showing reserved IRLs

CODE: SELECT ALL
netsh http show urlacl
Result : Microsoft Windows [Version 10.0.17134.112]
(c) 2018 Microsoft Corporation. Všechna práva vyhrazena.

C:\Users\Pavel>netsh http show urlacl

URL Reservations:
-----------------

Reserved URL : http://*:5357/
User: BUILTIN\Users
Listen: Yes
Delegate: No
User: NT AUTHORITY\LOCAL SERVICE
Listen: Yes
Delegate: No
SDDL: D:(A;;GX;;;BU)(A;;GX;;;LS)

Reserved URL : http://+:80/Temporary_Listen_Addresses/
User: \Everyone
Listen: Yes
Delegate: No
SDDL: D:(A;;GX;;;WD)

Reserved URL : https://*:5358/
User: BUILTIN\Users
Listen: Yes
Delegate: No
User: NT AUTHORITY\LOCAL SERVICE
Listen: Yes
Delegate: No
SDDL: D:(A;;GX;;;BU)(A;;GX;;;LS)

Reserved URL : http://*:2869/
User: NT AUTHORITY\LOCAL SERVICE
Listen: Yes
Delegate: No
SDDL: D:(A;;GX;;;LS)

Reserved URL : http://+:10247/apps/
User: NT AUTHORITY\Authenticated Users
Listen: Yes
Delegate: No
SDDL: D:(A;;GX;;;AU)

Reserved URL : https://+:10245/WMPNSSv4/
User: NT SERVICE\WMPNetworkSvc
Listen: Yes
Delegate: No
SDDL: D:(A;;GX;;;S-1-5-80-2375682873-768044350-3534595160-1005545032-2873800392)

Reserved URL : http://+:10243/WMPNSSv4/
User: NT SERVICE\WMPNetworkSvc
Listen: Yes
Delegate: No
SDDL: D:(A;;GX;;;S-1-5-80-2375682873-768044350-3534595160-1005545032-2873800392)

Reserved URL : http://+:80/0131501b-d67f-491b-9a40-c4bf27bcb4d4/
User: NT AUTHORITY\NETWORK SERVICE
Listen: Yes
Delegate: No
SDDL: D:(A;;GX;;;NS)

Reserved URL : https://+:443/C574AC30-5794-4AEE-B1BB-6651C5315029/
User: NT AUTHORITY\NETWORK SERVICE
Listen: Yes
Delegate: No
SDDL: D:(A;;GX;;;NS)

Reserved URL : http://+:80/116B50EB-ECE2-41ac-8429-9F9E963361B7/
User: NT AUTHORITY\NETWORK SERVICE
Listen: Yes
Delegate: No
SDDL: D:(A;;GX;;;NS)

Reserved URL : https://+:5986/wsman/
User: NT SERVICE\WinRM
Listen: Yes
Delegate: No
User: NT SERVICE\Wecsvc
Listen: Yes
Delegate: No
SDDL: D:(A;;GX;;;S-1-5-80-569256582-2953403351-2909559716-1301513147-412116970)(A;;GX;;;S-1-5-80-4059739203-877974739-1245631912-527174227-2996563517)

Reserved URL : http://+:47001/wsman/
User: NT SERVICE\WinRM
Listen: Yes
Delegate: No
User: NT SERVICE\Wecsvc
Listen: Yes
Delegate: No
SDDL: D:(A;;GX;;;S-1-5-80-569256582-2953403351-2909559716-1301513147-412116970)(A;;GX;;;S-1-5-80-4059739203-877974739-1245631912-527174227-2996563517)

Reserved URL : https://+:443/sra_{BA195980-CD49-458b-9E23-C84EE0ADCD75}/
User: NT SERVICE\SstpSvc
Listen: Yes
Delegate: Yes
User: BUILTIN\Administrators
Listen: No
Delegate: No
User: NT AUTHORITY\SYSTEM
Listen: Yes
Delegate: Yes
SDDL: D:(A;;GA;;;S-1-5-80-3435701886-799518250-3791383489-3228296122-2938884314)(A;;GR;;;BA)(A;;GA;;;SY)

Reserved URL : http://+:5985/wsman/
User: NT SERVICE\WinRM
Listen: Yes
Delegate: No
User: NT SERVICE\Wecsvc
Listen: Yes
Delegate: No
SDDL: D:(A;;GX;;;S-1-5-80-569256582-2953403351-2909559716-1301513147-412116970)(A;;GX;;;S-1-5-80-4059739203-877974739-1245631912-527174227-2996563517)

Reserved URL : http://+:10246/MDEServer/
User: NT AUTHORITY\Authenticated Users
Listen: Yes
Delegate: No
SDDL: D:(A;;GX;;;AU)



C:\Users\Pavel>
Showing active registered URLs

CODE: SELECT ALL
netsh http show servicestate
Result : Microsoft Windows [Version 10.0.17134.112]
(c) 2018 Microsoft Corporation. Všechna práva vyhrazena.

C:\Users\Pavel>

C:\Users\Pavel>netsh http show servicestate

Snapshot of HTTP service state (Server Session View):
-----------------------------------------------------

Server session ID: FF00000020000001
Version: 2.0
State: Active
Properties:
Max bandwidth: 4294967295
Timeouts:
Entity body timeout (secs): 120
Drain entity body timeout (secs): 120
Request queue timeout (secs): 65535
Idle connection timeout (secs): 120
Header wait timeout (secs): 120
Minimum send rate (bytes/sec): 240
URL groups:
URL group ID: FE00000040000001
State: Active
Request queue name: DefaultAppPool
Properties:
Max bandwidth: inherited
Max connections: 4294967295
Timeouts:
Entity body timeout (secs): 120
Drain entity body timeout (secs): 120
Request queue timeout (secs): 65535
Idle connection timeout (secs): 120
Header wait timeout (secs): 0
Minimum send rate (bytes/sec): 0
Logging information:
Log directory: C:\inetpub\logs\LogFiles\W3SVC1
Log format: 0
Authentication Configuration:
Authentication schemes enabled:
Number of registered URLs: 1
Registered URLs:
HTTP://*:80/

Server session ID: FD00000020000001
Version: 2.0
State: Active
Properties:
Max bandwidth: 4294967295
Timeouts:
Entity body timeout (secs): 120
Drain entity body timeout (secs): 120
Request queue timeout (secs): 120
Idle connection timeout (secs): 120
Header wait timeout (secs): 120
Minimum send rate (bytes/sec): 150
URL groups:
URL group ID: FE00000240000001
State: Active
Request queue name: Request queue is unnamed.
Properties:
Max bandwidth: inherited
Max connections: inherited
Timeouts:
Timeout values inherited
Number of registered URLs: 1
Registered URLs:
HTTP://+:8501/WAFSERVICE/

Server session ID: FF00000220000001
Version: 2.0
State: Active
Properties:
Max bandwidth: 4294967295
Timeouts:
Entity body timeout (secs): 120
Drain entity body timeout (secs): 120
Request queue timeout (secs): 120
Idle connection timeout (secs): 120
Header wait timeout (secs): 120
Minimum send rate (bytes/sec): 150
URL groups:
URL group ID: FF00000140000001
State: Active
Request queue name: Request queue is unnamed.
Properties:
Max bandwidth: inherited
Max connections: inherited
Timeouts:
Timeout values inherited
Number of registered URLs: 1
Registered URLs:
HTTP://+:8502/NOVAPDF9SERVICE/

Request queues:
Request queue name: DefaultAppPool
Version: 2.0
State: Active
Request queue 503 verbosity level: Limited
Max requests: 1000
Number of active processes attached: 0
Controller process ID: 4256
Process IDs:

Request queue name: Request queue is unnamed.
Version: 2.0
State: Active
Request queue 503 verbosity level: Basic
Max requests: 1000
Number of active processes attached: 1
Process IDs:
3396

Request queue name: Request queue is unnamed.
Version: 2.0
State: Active
Request queue 503 verbosity level: Basic
Max requests: 1000
Number of active processes attached: 1
Process IDs:
3896



C:\Users\Pavel>
Configure HTTP.sys to only bind to IPv6
I performed „netsh http add iplisten ipaddress=::“
Not help .
I tried alsoo „netsh http add iplisten ipaddress=::1“
Not help .
I added to host file line „localhost 127.0.0.1“
Not help .

I performed Reconfigure Skype not to use Ports 80 & 443 as Fallback.
Not help .
But after this changes changed log Windows as that :
6:48:24 PM [Apache] Error: Apache shutdown unexpectedly.
6:48:24 PM [Apache] This may be due to a blocked port, missing dependencies,
6:48:24 PM [Apache] improper privileges, a crash, or a shutdown by another method.
6:48:24 PM [Apache] Press the Logs button to view error logs and check
6:48:24 PM [Apache] the Windows Event Viewer for more clues
6:48:24 PM [Apache] If you need more help, copy and post this
6:48:24 PM [Apache] entire log window on the forums
And rectangle Apache changed color to yellow ,shortly green and then color disappear .
Under label PID(s) appeared various numbers ,under Port(s) appeared 80,443 .Also Config>Service and Port Settings give
Main Port(80) ,SSL Port(443) with Service Name – Apache 2.4 .

full XAMPP control panel log window contents
19:12:14 [main] Initializing Control Panel
19:12:14 [main] Windows Version: Enterprise 64-bit
19:12:14 [main] XAMPP Version: 7.2.6
19:12:14 [main] Control Panel Version: 3.2.2 [ Compiled: Nov 12th 2015 ]
19:12:14 [main] Running with Administrator rights - good!
19:12:14 [main] XAMPP Installation Directory: "c:\xampp\"
19:12:14 [main] Checking for prerequisites
19:12:14 [main] All prerequisites found
19:12:14 [main] Initializing Modules
19:12:14 [main] The MySQL module is disabled
19:12:14 [main] The FileZilla module is disabled
19:12:14 [main] The Mercury module is disabled
19:12:14 [main] The Tomcat module is disabled
19:12:14 [main] Starting Check-Timer
19:12:14 [main] Control Panel Ready
19:12:19 [Apache] Attempting to start Apache service...
19:12:20 [Apache] Status change detected: running
19:12:21 [Apache] Status change detected: stopped
19:12:21 [Apache] Error: Apache shutdown unexpectedly.
19:12:21 [Apache] This may be due to a blocked port, missing dependencies,
19:12:21 [Apache] improper privileges, a crash, or a shutdown by another method.
19:12:21 [Apache] Press the Logs button to view error logs and check
19:12:21 [Apache] the Windows Event Viewer for more clues
19:12:21 [Apache] If you need more help, copy and post this
19:12:21 [Apache] entire log window on the forums


Now i reinstalled XAMPP with disabled antivir .

Then:

response of the apache_start.bat skript :

Image

Apache error log
[Thu Jul 05 20:54:35.981522 2018] [ssl:warn] [pid 17180:tid 752] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jul 05 20:54:36.047481 2018] [ssl:warn] [pid 17180:tid 752] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jul 05 20:54:36.147419 2018] [mpm_winnt:notice] [pid 17180:tid 752] AH00455: Apache/2.4.33 (Win32) OpenSSL/1.1.0h PHP/7.2.6 configured -- resuming normal operations
[Thu Jul 05 20:54:36.147419 2018] [mpm_winnt:notice] [pid 17180:tid 752] AH00456: Apache Lounge VC15 Server built: Mar 28 2018 12:12:41
[Thu Jul 05 20:54:36.147419 2018] [core:notice] [pid 17180:tid 752] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Jul 05 20:54:36.151418 2018] [mpm_winnt:notice] [pid 17180:tid 752] AH00418: Parent: Created child process 8560
[Thu Jul 05 20:54:36.919944 2018] [ssl:warn] [pid 8560:tid 660] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jul 05 20:54:36.986903 2018] [ssl:warn] [pid 8560:tid 660] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jul 05 20:54:37.033873 2018] [mpm_winnt:crit] [pid 8560:tid 660] (OS 109)Přesměrování bylo ukončeno. : AH00404: Child: Unable to read socket data from parent
[Thu Jul 05 20:54:37.040868 2018] [mpm_winnt:crit] [pid 17180:tid 752] AH00427: Parent: child process 8560 exited with status 3 -- Aborting.


I have not „xampp-portcheck.exe“ ,but i have „portcheck.bat“ .here is it .

Image

Thank for your help .
User avatar
pavelsustek
 
Posts: 1
Joined: 05. July 2018 15:30
XAMPP version: 7.2.6
Operating System: Windows 10 Pro

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 161 guests