On Wed, Nov 15, 2017 at 12:23 PM, sebb <seb...@gmail.com> wrote: > This disables the safety check for all httpd processes. > > Would it not be better to use Passenger 5.1.11 instead? > Or does that not solve the problem?
Doesn't solve the problem for me :-( Hopefully this is either a temporary thing, or a better workaround is found. - Sam Ruby > On 15 November 2017 at 16:12, <ru...@apache.org> wrote: >> This is an automated email from the ASF dual-hosted git repository. >> >> rubys pushed a commit to branch master >> in repository https://gitbox.apache.org/repos/asf/whimsy.git >> >> >> The following commit(s) were added to refs/heads/master by this push: >> new 985347b include a High Sierra workaround >> 985347b is described below >> >> commit 985347b913548bf136999184508db47e22b997c9 >> Author: Sam Ruby <ru...@intertwingly.net> >> AuthorDate: Wed Nov 15 11:12:39 2017 -0500 >> >> include a High Sierra workaround >> --- >> MACOSX.md | 23 +++++++++++++++++++++++ >> 1 file changed, 23 insertions(+) >> >> diff --git a/MACOSX.md b/MACOSX.md >> index 8dee970..812fc83 100644 >> --- a/MACOSX.md >> +++ b/MACOSX.md >> @@ -293,6 +293,29 @@ Content-Length: 45 >> Content-Type: text/html >> ``` >> >> +This may fail on High Sierra with a [We cannot safely call it or ignore it >> in >> +the fork() child process. Crashing >> +instead.](https://blog.phusion.nl/2017/10/13/why-ruby-app-servers-break-on-macos-high-sierra-and-what-can-be-done-about-it/) >> message in your `/var/log/apache/error.log` file. If so, do the following: >> + >> +``` >> +cp /System/Library/LaunchDaemons/org.apache.httpd.plist >> /Library/LaunchDaemons/ >> +``` >> + >> +Edit ` /Library/LaunchDaemons/org.apache.httpd.plist` and add the following >> to >> +`EnvironmentVariables/Dict`: >> + >> +``` >> + <key>OBJC_DISABLE_INITIALIZE_FORK_SAFETY</key> >> + <string>YES</string> >> +``` >> + >> +Finally: >> + >> +``` >> +sudo launchctl unload /System/Library/LaunchDaemons/org.apache.httpd.plist >> +sudo launchctl load -w /Library/LaunchDaemons/org.apache.httpd.plist >> +``` >> + >> Configure whimsy.local vhost >> ---------------------------- >> >> >> -- >> To stop receiving notification emails like this one, please contact >> ['"comm...@whimsical.apache.org" <comm...@whimsical.apache.org>'].