Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: Apache issues since update to Macintosh High Sierra |
|
Author |
|
thespis
Joined: 14 Oct 2017 Posts: 1
|
Posted: Sat 14 Oct '17 23:26 Post subject: Apache issues since update to Macintosh High Sierra |
|
|
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: 7371 Location: Germany, Next to Hamburg
|
Posted: Tue 31 Oct '17 18:05 Post subject: |
|
|
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 |
|
|
|
|
|
|