Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

FM 8 Server Scripting

Featured Replies

I've got a development server on OS X (my own box). I need a script to disconnect all users, close all db's, and shut down the server before my box goes to sleep at night like I occassionally do.

How do I do that?

You don't. Server CPU's should never be set to sleep automatically. This can damage the FileMaker Pro files.

I believe you can write an external OS based script that disconnects users and stops the service. But the real question is why you're doing this?

Steven

  • Author

Let me repeat...this is "MY" development server. The "users" is me. I don't work at night, nor does my computer. So, I want to write a server script, to stop the server before my computer goes to sleep because I won't remember at the end of the day to stop the FMS service.

Make sense?

In a working environment I would never do this; but this is not a working environment; it's more like, a work in progress environment. :/

  • Author

So, doesn't anyone do OS scripts? What I find odd is there is no command line for "start" only "stop."

fmserver_helperd start

fmserver_helperd stop

fmserver start

fmserver stop

all from the Terminal.

Steven

  • Author

hm. Fmserver_helperd commands seem to do something but have no effect on the server.

fmserver simply returns command not found.

But that threw me off. The FM help says to use fmsadmin...of course that only stops not starts whereas helperd seems to have a start & stop.

My error. It should be as follows:

fmserverd start

fmserverd stop

The helper daemon runs in the background. Start and stop it as part of the routine.

Steven

  • Author

ok.. this is what I got

:) Isn't that the point...I want to stop it. This all seemed very straight forward doing this on Linux with FMS5.5. I tried

fmserverd stop

Another instance of FileMaker Server is already running.
Of COURSE IT'S RUNNING!  
sudo fmserverd stop

Another instance of FileMaker Server is already running.

thinking that it might be a permissions thing. That didn't make any difference.

Did you ever have a trial version of Server installed on this machine? That message sometimes appears when the trail version was not removed entirely.

Steven

  • Author

I had 7 advanced but never a trial version. I used the removal tool that came with 8 to pull it off.

  • 4 weeks later...

I think that the command you're looking for is "fmsadmin", not "fmserverd". The former is a command to control the latter. Typing fmsadmin by itself at the Terminal prompt will give you further information on how to get syntax, etc.

You can use systemstarter to stop and start fmserverd directly, but I don't think you'll need to do that if you use fmsadmin.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.