05-06-2019, 11:32 AM #1Apache failing to start from launched plist, starts from httpd
Apache is working fine if I start it with /usr/sbin/httpd -k start But If I use the apachectl start command it fails, as does the plist file. Itís only started doing this I think since I rebooted a few days ago.
httpd -k start ,works
apachectl start ,does not.
The error in system.log appears to be ďService could not initialise: 18E226Ē but I canít see what the problem is. Latest Mojave.
The full error seems to be.
com.apple.xpc.launchd (org.apache.httpd): Service could not initialize: 18E226: xpcproxy + 11291 [1571C9B2-C489-3268-9D6B-73137AC77303]: 0x2
Anyone know why this could be happening?
Sent from my iPad using Mac-Forums
- 05-06-2019, 09:37 PM #2
apachectl is a shell script.
Is it possible that there is a path problem? Is everything the script wants in the place where the script expects it to be? Have you installed any non-Apple versions of any software that ended up in a location different from the Apple version?
FWIW (nothing), it works on my machine.
05-07-2019, 02:58 AM #3
The problem was, I'd moved the Ruby binary - and httpd-wrapper needs the Apple Ruby in /usr/bin/ruby.
I put it back, and all started to work again.
05-07-2019, 03:11 AM #4
Yeah, I figured it had to be something like that.
Glad you got it sorted.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By Nephila in forum Web Design and HostingReplies: 1Last Post: 11-28-2016, 09:17 AM
By ali55 in forum macOS - Operating SystemReplies: 0Last Post: 03-29-2015, 09:48 AM
By Solong in forum macOS - Apps and GamesReplies: 4Last Post: 08-22-2008, 03:57 PM
By plutonito in forum macOS - Development and DarwinReplies: 3Last Post: 07-28-2004, 12:19 PM
By oo_mac_oo in forum macOS - Development and DarwinReplies: 15Last Post: 10-09-2003, 10:44 AM
Tags for this Thread