Debug Apache on a FileMaker Server

Since FileMaker Server version 13, FMS has used its own Apache configuration files on macOS instead of just adding includes to the OS configuration files. Because of this, the technique I mentioned here no longer works for newer systems. This new arrangement has reduced issues for FileMaker Server’s web connectivity.

But updates or other changes can still cause the httpd process to fail to start up, and all you’ll see is something like this in the system log:

If you check on the startup process, you’ll eventually end up at the script at /Library/FileMaker Server/HTTPServer/bin/httpdctl. We can use that to determine the needed environment variables and the command to run.

First, you’ll want to be in the Terminal as root, so type:

Then paste the following into your Terminal window:

Now we can start up Apache using the same command as FMS, except that we’ll increase the logging level:

On a server recently, I got the output below. The first part was all normal, but near the end I got some useful output:

Line 78 of httpd-ssl.conf had this in it:

So now I finally know what the issue is: due to a security issue, SSL compression in Apache was completely removed by an OS update, so I need to disable or remove line 78. At this point, Apache would now start normally, and the issue was resolved.

Simon

Leave a Reply