logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 



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

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



Apache issues since update to Macintosh High Sierra

 
Post new topic   Reply to topic    Apache Forum Index -> Apache



View previous topic :: View next topic  
Author Message
thespis



Joined: 14 Oct 2017
Posts: 1

PostPosted: Sat 14 Oct '17 23:26    Post subject: Apache issues since update to Macintosh High Sierra Reply with quote

HI...since I upgraded to High Sierra on my Mac, I have been unable to run my web server. My configuration has always required a web hop via DynDNS from port 80 to port 8201. Since re-doing my httpd.conf file and putting in the proper "Listen 8201" command, I can't get Apache to start successfully. I have ostensibly opened the ports on my router (the same as they have always been) and matched the port to the static address I've given my Mac on the LAN. I start up Apache using the "sudo apachectl start" command in the Terminal and nothing happens. Port 8201 is showing as closed. A few questions:

1. Will port 8201 only open once Apache successfully launches? That would seem to mean my config is wrong (it's slightly different from the last version I had and perhaps I'm not including modules?)

2. Do my previous locations for the Web Documents need to revert to some default location?

3. Comcast claims they do not block ports and I have always used 8201 as the hop.Is there some other process that is now using 8201? I don't know how to check. If so, is there a different recommended port number that I should use instead?

4. Would a corrupt preference file on the Mac be the root of my problems?

Those are the big four questions for now. I'm really beginning to suspect my router is failing, but if indeed port 8201 won't open until Apache is successfully launched, then it would appear the problem here is something else. Thanks for any help.
Back to top
James Blond
Moderator


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

PostPosted: Tue 31 Oct '17 18:05    Post subject: Reply with quote

You have to look into your error log to figure out what is going wrong. IIRC the error log in in /var/log/apache2/error_log

Also on the terminal

sudo /usr/sbin/httpd -t
sudo /usr/sbin/httpd -S


sudo /usr/sbin/httpd -V
will show the version that you are using and some debug details
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Apache
Page 1 of 1