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: Problems with starting Apache 2.4
Author
Markus_Aurelius



Joined: 30 Sep 2015
Posts: 17
Location: worester, usa

PostPosted: Mon 06 Aug '18 21:02    Post subject: Problems with starting Apache 2.4 Reply with quote

Hi People,
I installed apache from a zip file. I am using a version of 2.4.
I am also running PHP 7 on Windows 10 64 bit.
The apache file I got is the most recent file download from this site.
I am getting a message that is as follows:
AH00558: httpd.exe: Could not reliably determine the server's fully qualified domain name, using fe80::8e3:cd11:606a:1510. Set the 'ServerName' directive globally to suppress this message
(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
AH00451: no listening sockets available, shutting down
AH00015: Unable to open logs


I can't make heads or tails out of this report.

Any help is appreciated.

Thanks in advance
Back to top
DnvrSysEngr



Joined: 15 Apr 2012
Posts: 215
Location: Denver, CO USA

PostPosted: Tue 07 Aug '18 9:47    Post subject: Reply with quote

Markus:

What this is telling you is that some other program on your Windows 10 workstation is more than likely listening on Port 80. Might be Skype that is listening on Port 80 in Windows 10.

Port 80 is what Apache uses by default. Here is what you can do to find out what is listening on Port 80.

Click on on the start button for Windows 10
Find the folder called Windows System and click on it.
RIGHT mouse click on Command Prompt, click on More and select Run As Administrator
At the command prompt, type in netstat -q -b
This will show you what program is listening on what port.

Output might look like this:

C:\WINDOWS\system32>netstat -q -b

Active Connections

Proto Local Address Foreign Address State
TCP 0.0.0.0:80 MyComputer:0 LISTENING
[someprogram.exe]

Find the program that is listening on Port 80 (if not httpd.exe), stop it and make sure it is stopped permanently.

Then try to start Apache.
Back to top
Markus_Aurelius



Joined: 30 Sep 2015
Posts: 17
Location: worester, usa

PostPosted: Fri 10 Aug '18 0:32    Post subject: Problems with starting Apache 2.4 Reply with quote

I did what you posted. Then I ran netstat again. No apache as expected.
I started apache and still got nothing. It would not start.
I got this message: AH00558: httpd.exe: Could not reliably determine the server's fully qualified domain name, using fe80::8e3:cd11:606a:1510. Set the 'ServerName' directive globally to suppress this message.

It looks different than the last message I got.
Back to top
DnvrSysEngr



Joined: 15 Apr 2012
Posts: 215
Location: Denver, CO USA

PostPosted: Fri 10 Aug '18 0:55    Post subject: Reply with quote

Markus:

As a test, open httpd.conf in a text editor such as notepad, look for the line "listen" and change it from the default of 80 to 88.

Also, look for the line "ServerName" and change it to LOCALHOST.

Try to start Apache and let me know if it starts now.


From there we can work on why it worn't start on the default of PORT 80.
-S
Back to top
Markus_Aurelius



Joined: 30 Sep 2015
Posts: 17
Location: worester, usa

PostPosted: Fri 10 Aug '18 22:44    Post subject: Problems with starting Apache 2.4 Reply with quote

OK, I changed it to 88 and stil got this:
PS C:\apache24\bin> .\httpd -k start
AH00558: httpd.exe: Could not reliably determine the server's fully qualified domain name, using fe80::8e3:cd11:606a:1510. Set the 'ServerName' directive globally to suppress this message
Back to top
DnvrSysEngr



Joined: 15 Apr 2012
Posts: 215
Location: Denver, CO USA

PostPosted: Fri 10 Aug '18 23:43    Post subject: Reply with quote

Markus:

At least we know that APACHE can start and run.

We now need to find what is running on PORT 80.

To do so:

Click on on the start button for Windows 10
Find the folder called Windows System and click on it.
RIGHT mouse click on Command Prompt, click on More and select Run As Administrator
At the command prompt, type in netstat -q -b
This will show you what program is listening on what port.

Output might look like this:

C:\WINDOWS\system32>netstat -q -b

Active Connections

Proto Local Address Foreign Address State
TCP 0.0.0.0:80 MyComputer:0 LISTENING

[someprogram.exe]

Find the program that is listening on PORT 80 (if not httpd.exe), stop it and make sure it is stopped permanently

You should see HTTPD.EXE listening on PORT 88.

As for the AH00558: httpd.exe: Could not reliably determine the server's fully qualified domain name, using fe80::8e3:cd11:606a:1510. Set the 'ServerName' directive globally to suppress this message, Open HTTPD.Conf in a text editor, look for the line "ServerName" and change it from localhost, to the actual name of your Apache server. Usually you can leave it as localhost and not have any issues.
Back to top
Markus_Aurelius



Joined: 30 Sep 2015
Posts: 17
Location: worester, usa

PostPosted: Sat 11 Aug '18 0:04    Post subject: Problems with starting Apache 2.4 Reply with quote

I got it working. phpinfo() works.
Thanks for the help. It work on Port 80.
Back to top
DnvrSysEngr



Joined: 15 Apr 2012
Posts: 215
Location: Denver, CO USA

PostPosted: Sat 11 Aug '18 1:42    Post subject: Reply with quote

Markus:

That is great news. Have a great weekend.

-S
Back to top


Reply to topic   Topic: Problems with starting Apache 2.4 View previous topic :: View next topic
Post new topic   Forum Index -> Apache