Jump to content
Server Maintenance This Week. ×

Installing FileMaker Server 13 On Mac with Server


Goetch

This topic is 3209 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Been reading posts about changing default ports for Mac OS X Server and Filemaker Server.

 

The standard way you get around this kind of thing on Linux, is to use different IP numbers rather than different ports.  It's fairly easy to get a Mac to pop up on more than one IP number.  The tricky bit would then be to tell each copy of Apache to listen only to *one* of the two IP numbers (i.e. a different one for each).  

 

I have it on good authority that this is impossible with Filemaker Pro Client version, but haven't tried it with Filemaker Server.

 

I have two Filemakers running on the same machine using Parallels Desktop at the moment (*not* suitable for high-load environments).  Would be interested to know if anyone's tried making Mac OS X Server Apache and Filemaker Server Apache respond only on single IP of several.  If you edit httpd.conf directly, it's easy, but of course these products write httpd.conf for you, so if you edited httpd.conf manually, it would most likely be over-written later (a bad thing).

Link to comment
Share on other sites

Larry Goldman provided great instructions in this thread. If you cannot get FileMaker's Apache configuration to work, chances are that the default Apache configuration or Server's configuration has prevented FileMaker's Apache configuration to start (even if you configure the Server .conf file to listen to ports other than 80 and 443, an update of the Server application may override your settings.

 

However, you can start FileMaker's Apache configuration by stopping the Server's or the default instance using some commands in Terminal.

 

To stop another instance of Apache, use the apachectl script:

sudo apachectl stop

To start FMS's instance of Apache, start the wrapper script to start the httpd daemon using FMS's configuration

sudo /Library/FileMaker Server/HTTPServer/bin/httpdctl start
Link to comment
Share on other sites

  • 4 weeks later...

 

http://www.yourCustomDomain.com/admin-console

 

WebDirect:

 

 

Hi, this is a great solution, and FMI works fine, but the admin console url you've suggested gives me a java error, both on the server itself, and accessing from a remote machine...

 

Failed to load the bootstrap javascript: ./VAADIN/vaadinBootstrap.js

 

 

Any ideas?

Link to comment
Share on other sites

Very interesting thread. A few comments about ambiguous terminology. Firstly on a Unix system, it is possible to run multiple copies of a server program in two ways, as follows:

1) the binaries are the same files in the same directories, but the config files are different

(I use this approach for my DNS server based on BIND, and it works fine)

2) the binaries are two different sets of files (which may be the same) but in different directories

(I'm obliged to do this with the Exim daemon (SMTP) because obviously the compiled C code includes some hard-coded stuff which cannot be overridden by a config file entry.

The second thing which could do with some clarity of terminology is, what precisely is meant by "Server" in the context of Apple. It could be:

1) A Mac Mini Server or X-Serve, in other words, Apple Hardware designed as intended for use as a server.

(These products came with licenses for Mac OS X Server 10.6 Snow Leopard pre-installed)

2) As above, but where the hard disk has been wiped or replaced, and a fresh install of Mac OS X (non-Server) installed

3) A regular mac which has been patched with the "Server" upgrade for Lion, Mountain Lion or Mavericks from the App Store

Marketing departments who write the ads sometimes rely on confusing terminology to assist them in their goals.

Link to comment
Share on other sites

  • Newbies

Using some info from this discussion and other information from Kerio and Maxum I was able to set up all FileMaker Server, Kerio Connect, and Maxum Rumpus all on a Mavericks server while letting OS X Server.app Web, Wiki, Profile Manager and VPN still do their thing properly.

I wrote up a brief but illustrated tutorial that comes with some customizable example files and posted it to the Tutorials section of the RAIS page: http://rais.precursor.ca

Link to comment
Share on other sites

  • 4 months later...
  • Newbies

Since FMS13 uses its own instance of apache web server, I found a way to get it running with Mac OS X Server:

 

Caveat: experiment with a test installation of OS X Server/FMS13.

 

Steps:

 

0) On an OS X Server machine, open a Terminal window and begin a super user session:

sudo -s
<password>

1) Stop the OS X Server apache instance:

apachectl stop

2) Confirm that ports 80 and 443 are clear:

lsof -i -P | grep "LISTEN"

3) Install and deploy FMS13, including WebDirect.

 

4) Patch the FMS13 apache files as follows:

     In /Library/FileMaker Server/HTTPServer/conf/httpd.conf: change "Listen 80" to "Listen 81".

     In /Library/FileMaker Server/HTTPServer/conf/extra/httpd-rewrite-fmiwebd.conf: change the destination of the rewrite rule from "443" to "444".

     In Library/FileMaker Server/HTTPServer/conf/extra/httpd-ssl.conf: Change all (3) relevant occurrences of "443" to "444".

 

Modified files are attached to this posting.

 

5) Restart the machine. If necessary, restart Mac OS X apache (apachtctl start) and confirm that now ports 80, 443 as well as ports 81 and 444 are open for business.

 

6) Finally, to complete the integration of FMS and OS X Server, create a OS X Server webapp by installing the attached files. The .plist belongs in "/Library/Server/Web/config/apache2/webapps", and the .conf file belongs in "/Library/Server/Web/config/apache2". Then, in OS X Server.app -> Websites -> yourCustomDomain.com -> Edit Advanced Settings: enable the FMS13Webapp.

 

To access the admin console, browse to:

 

http://www.yourCustomDomain.com/admin-console

 

WebDirect:

 

http://www.yourCustomDomain.com/fmi/webd

 

One advantage of this approach is that you only need to open ports 80 and 443 to the outside world because the "reverse proxy" is internal to the server machine. But, if you also have a firewall installed on the server, you will have to open all of the appropriate FMS 13 server ports on that machine, which is another story.

 

Does it work?

Hi, I followed your steps, unfortunately I hadn't noticed they were for Mavericks and did not work on Yosemite. I very much need to use both the server app and Filemaker server 13. Do you know of, or are you working on a solution for Yosemite? Thanks Harry

Link to comment
Share on other sites

  • 1 month later...
  • Newbies

Using some info from this discussion and other information from Kerio and Maxum I was able to set up all FileMaker Server, Kerio Connect, and Maxum Rumpus all on a Mavericks server while letting OS X Server.app Web, Wiki, Profile Manager and VPN still do their thing properly.

I wrote up a brief but illustrated tutorial that comes with some customizable example files and posted it to the Tutorials section of the RAIS page: http://rais.precursor.ca

 

I have upgraded the tutorial to include instructions for Yosemite's Server.app 4 and FileMaker Server 13.05.

 

Available in the Tutorials section of the RAIS page: http://rais.precursor.ca

 

Use at your own risk / comments welcome.

Link to comment
Share on other sites

Using some info from this discussion and other information from Kerio and Maxum I was able to set up all FileMaker Server, Kerio Connect, and Maxum Rumpus all on a Mavericks server while letting OS X Server.app Web, Wiki, Profile Manager and VPN still do their thing properly.

I wrote up a brief but illustrated tutorial that comes with some customizable example files and posted it to the Tutorials section of the RAIS page: http://rais.precursor.ca

Please update your profile to reflect your current information. i.e. Version of FileMaker, OS and Platform. Here is quick link to assist you. MY PROFILE.

Link to comment
Share on other sites

To anyone interested, I have released an updated version of the free Virtual Host Guide and Tool;  http://www.datamanix.com/news/files/FMS-virtualhost-guide-tool-v2.html

Thanks Claus. After a quick read I think you are saying SSL Is not supported. Does this mean running a wiki will be impossible?

Link to comment
Share on other sites

I explicity write that SSL is now supported and explains  how you should do it.

 

Wiki is many things. If you are thinking of Mac OS X Server builtin feature for wiki, the short answer is that, no you can't run that on the same server as FMS 13.

FMS13 "takes over Apache", which means that all configurations for OS X Server will not be used. Including the ones for wiki.

This has nothing to do with my virtual host guide & tool, but how FMS13 is working.

Link to comment
Share on other sites

  • 1 month later...
  • Newbies
Has anyone got Yosemite Server & FM 13 Server v5 with PHP-API up and running?
 
We have installed a fresh 10.10, Server App from AppStore, FMS 13, v5 Update.
Everything works fine, except the FileMaker embedded PHP. In the fmadmin it shows up as "active" but no PHP commands are executed by the server.
 
There is a Library especially for "yosemite" under /Library/FileMaker Server/Web Publishing/publishing-engine/php/yosemite,
all settings in http.conf and php.ini seems to be correct and there are no error messages while launching or at system startup.

 

Link to comment
Share on other sites

If you install on Yosemite, you need to do a full install of FMS13 on the machine.

The reason is that with the updater, it does not completely write everywhere it is needed.

So, you should un-install the FMS with the installer. Then trash the entire FileMaker Server folder and then re-install with a full installer.

After that, everything should be working fine.

 

...and yes, we have a handful of Yosemite servers with CWP, WD working just fine.

 

there is ways to do some edits in several files, but re-install with the above recommendation, will probably be faster....

 

Oh, and make sure that you backup your datafiles, scripts, plugins, webfiles before you trash the FileMaker Server folder...

Link to comment
Share on other sites

  • 5 months later...

Using some info from this discussion and other information from Kerio and Maxum I was able to set up all FileMaker Server, Kerio Connect, and Maxum Rumpus all on a Mavericks server while letting OS X Server.app Web, Wiki, Profile Manager and VPN still do their thing properly.

I wrote up a brief but illustrated tutorial that comes with some customizable example files and posted it to the Tutorials section of the RAIS page: http://rais.precursor.ca

after much fideling around, vhost settings in fms, two IP numbers, all to no avail, since osx server always takes over httpd... I tried this approach..... And it works like a charm! Thanks precursor!

Link to comment
Share on other sites

This topic is 3209 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.