Does it happen after you make changes to OSX Server?
Does the FMS produce an error related to WPE in the log, does it get disabled?
>> Does it happen after you make changes to OSX Server?
No. Nothing has been changed on OS X Server.
>> Does the FMS produce an error related to WPE in the log, does it get disabled?
No error shown in the log.
The reason I asked is because making changes to OSX Server could rewrite some apache stuff.
It's so difficult to trace this stuff. Is it OSX Server or FM Server messing thing up.
You could try disabling the OSX Apache altogether following this article:
Other than that, i think digging in the system logs could point out what's really happening.
is something in common when apache stops? Any action taken before? Apache is 'only for WebD'?
Do you think it would be a good idea to uninstall OS X Server?
>> is something in common when apache stops?
>> Any action taken before?
No. It happens randomly.
>> Apache is 'only for WebD'?
If you don't use it then yes. Filemaker recommends not to use the server machine for anything else than the server.
I've osx server running but only for Open Directory, and DNS. It doesn't fail randomly like yours. Only if I do something stupid and usually WPE fails after a restart.
I'd recommend to perform a clean install: wipe the drives, install Yosemite, then filemaker server.
Uninstalling OSX server may not remove all stuff.
I´ll do a fresh install of Yosemite.
My setup is identical to yours.
While Apache isn't running you can manually start FileMaker's Apache process and watch the logs to see what errors occur.
- Open terminal and type the following
- cd /Library/FileMaker\ Server/HTTPServer/bin/
- sudo ./httpdctl start
- cd /Library/FileMaker\ Server/HTTPServer/logs/
- ll -rt # One of the last files on the list will be of the format error_log.<numbers>. Use it in the next command.
- tail error_log.<numbers>
I found the following error in my error_log:
[Wed Jun 24 08:26:09.764960 2015] [ssl:emerg] [pid 6937] AH02564: Failed to configure encrypted (?) private key __my_server_name__:443:0, check /Library/FileMaker Server/HTTPServer/conf/server.key
So, for my setup, it stopped working after enabling https and uploading the certificate. I got it working after following the "John's Blog" link above, replacing the ssl certificates, and manually starting the Apache server again.
Thank you for your post.
Finally I made a fresh install of everything: Yosemite + FMS14.
This time, I´m not using Apple Server.
Now everything runs as expected.