Author |
|
mikeatutsw
Joined: 15 Oct 2015 Posts: 5 Location: Dallas
|
Posted: Tue 07 Aug '18 17:44 Post subject: Apache service randomly crashing after nmap security scans |
|
|
We are experiencing a random issue where after our security group runs nmap (Nexspose) security scans sometimes it crashes the Windows Apache service and we get the following error when we try to restart the service.
The Apache service named reported the following error:
>>> (OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : AH00072: make_sock: could not bind to address 0.0.0.0:80 .
So something about Windows or the Apache service is still binding to the listening port and won't release it.
This issue just started in July for us.
Any ideas?
Windows Server 2012 R2; Apache 2.4.29 and Apache 2.4.33 |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 08 Aug '18 8:57 Post subject: |
|
|
Another application or service is listening on that port
run cmd.exe as Administrator
Code: | netstat -ano | findstr /R 0.0:80 |
With the pid you can find that application in the taskmanager.
It might be W3SVC service. Set it to "manual" starting.
Code: | french name is: "Service de publication World Wide Web"
english name is: "World Wide Web Publishing Services"
german name is: "WWW-Publishingdienst"
Polish name is: "Usluga publikowania w sieci WWW"
Russian name is "Служба веб-публикаций" |
|
|
Back to top |
|
mikeatutsw
Joined: 15 Oct 2015 Posts: 5 Location: Dallas
|
Posted: Wed 08 Aug '18 15:34 Post subject: |
|
|
So IIS is not installed on this server. It's almost like Apache is still bound to 80 but the Windows Apache service is broken. So you can't restart/stop/start it.
This doesn't happen every time they scan but when they do and it breaks, just the scan items are in the Apache logs. The event logs are empty. |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
|
Back to top |
|
mikeatutsw
Joined: 15 Oct 2015 Posts: 5 Location: Dallas
|
Posted: Mon 13 Aug '18 17:39 Post subject: |
|
|
I installed the update on the affected servers, and it seems it might have worked. No servers went down after this weekend's security scans.
Thank you for your help! |
|
Back to top |
|