Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

DenBeke

macrumors regular
Original poster
Aug 11, 2011
192
8
Antwerp
I'm running macOS Sierra with the Server app.
When I installed the Server app I wanted to run another webserver on port 80 and 443, So I looked up on the internet how I could disable OS X server on those ports. After some research I was able to run my own server.

Now I wanted to start those services again. I thought that all I needed to do was this command:
Code:
launchctl load -w /Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons/com.apple.serviceproxy.plist

This does 'enable' the service, but the service keeps crashing:
Code:
Nov 24 23:06:33 arry com.apple.xpc.launchd[1] (com.apple.serviceproxy[6879]): Service exited with abnormal code: 1
Nov 24 23:06:33 arry com.apple.xpc.launchd[1] (com.apple.serviceproxy): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.

The log of the serviceproxy are all from earlier this month. So they're not relevant I guess?
Code:
[Tue Nov 15 22:54:49.400116 2016] [proxy:error] [pid 376] (61)Connection refused: AH00957: HTTP: attempt to connect to 127.0.0.1:34580 (127.0.0.1) failed
[Tue Nov 15 22:54:49.400196 2016] [proxy_http:error] [pid 376] [client 192.168.0.101:53881] AH01114: HTTP: failed to make connection to backend: 127.0.0.1
[Tue Nov 15 22:55:02.023945 2016] [proxy:error] [pid 375] (61)Connection refused: AH00957: HTTP: attempt to connect to 127.0.0.1:34580 (127.0.0.1) failed
[Tue Nov 15 22:55:02.024025 2016] [proxy_http:error] [pid 375] [client 192.168.0.101:53882] AH01114: HTTP: failed to make connection to backend: 127.0.0.1
[Tue Nov 15 22:55:02.686741 2016] [proxy:error] [pid 74033] (61)Connection refused: AH00957: HTTP: attempt to connect to 127.0.0.1:34580 (127.0.0.1) failed
[Tue Nov 15 22:55:02.686826 2016] [proxy_http:error] [pid 74033] [client 192.168.0.101:53883] AH01114: HTTP: failed to make connection to backend: 127.0.0.1
[Tue Nov 15 22:55:48.270814 2016] [core:info] [pid 366] AH00096: removed PID file /var/run/service_proxy.pid (pid=366)
[Tue Nov 15 22:55:48.271021 2016] [mpm_prefork:notice] [pid 366] AH00169: caught SIGTERM, shutting down

Anyone who can help me understand all of this? Or anyone who can at least point out where I can find a relevant error log.
I already tried completely removing Server.app and reinstalling, but had no success so far...
 
You don't need to host from 127.0.0.1 in OS X server / MacOS Server, in fact it is probably where the problem you are having is coming from.

I would suggest that you fully delete the other webserver from your server, then build your site in the default location for mac OS server websites, and point the server website to that.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.