logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache 2.4.54 fails to run Windows 10 ? Event log: 7024
Author
mythbuster



Joined: 22 Sep 2022
Posts: 3
Location: Australia

PostPosted: Thu 22 Sep '22 8:02    Post subject: Apache 2.4.54 fails to run Windows 10 ? Event log: 7024 Reply with quote

Hello Apache team,
I am first time here to learn webservers and installing Apache along with PHP and SQL. I hit first hurdle when I extracted 2.4.54 contents. httpd -k install command confirms apache is installed but when I run the Apache in the services.msc in the run command.

I tried to install again by changing the servername to localhost and this is the error I have

Code:
Installing the 'Apache2.4' service
The 'Apache2.4' service is successfully installed.
Testing httpd.conf....
Errors reported here must be corrected before the service can be started.
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::40b2:3d0e:c873:2d71. Set the 'ServerName' directive globally to suppress this message
(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


I get error with event log id 7024

- System

- Provider

[ Name] Service Control Manager
[ Guid] {555908d1-a6d7-4695-8e1e-26931d2012f4}
[ EventSourceName] Service Control Manager

- EventID 7024

[ Qualifiers] 49152

Version 0

Level 2

Task 0

Opcode 0

Keywords 0x8080000000000000

- TimeCreated

[ SystemTime] 2022-09-22T03:11:18.7263364Z

EventRecordID 169248985

Correlation

- Execution

[ ProcessID] 1012
[ ThreadID] 1968

Channel System

Computer LT

Security


- EventData

param1 Apache2.4
param2 %%1
41007000610063006800650032002E0034000000


--------------------------------------------------------------------------------

Binary data:


In Words

0000: 00700041 00630061 00650068 002E0032
0010: 00000034


In Bytes

0000: 41 00 70 00 61 00 63 00 A.p.a.c.
0008: 68 00 65 00 32 00 2E 00 h.e.2...
0010: 34 00 00 00 4...

Any help is appreciated[/list]
Back to top
mythbuster



Joined: 22 Sep 2022
Posts: 3
Location: Australia

PostPosted: Thu 22 Sep '22 15:23    Post subject: Re: Apache 2.4.54 fails to run Windows 10 ? Event log: 7024 Reply with quote

Note: Resolved after I changed the listen port to 8080 from 80. Now Instead of localhost, I have to say localhost:8080 to show the webpage. How do we know which listening port are free?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7294
Location: Germany, Next to Hamburg

PostPosted: Thu 22 Sep '22 15:48    Post subject: Reply with quote

That is easy. You can even find out what process is listening on that port.

Code:

netstat -ano | findstr /R 0.0:443


Code:

TCP    0.0.0.0:80            0.0.0.0:0              ABHÖREN         4372


In this example, the result is the PID (process ID) 4372. You can find that in the Task manager.


On Windows 10 there is sometimes an error that port 80 is blocked, 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
mythbuster



Joined: 22 Sep 2022
Posts: 3
Location: Australia

PostPosted: Thu 22 Sep '22 15:56    Post subject: Reply with quote

Thank you very much
Back to top


Reply to topic   Topic: Apache 2.4.54 fails to run Windows 10 ? Event log: 7024 View previous topic :: View next topic
Post new topic   Forum Index -> Apache