Jump 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.

Featured Replies

Hi,

I would like to know if these are the correct steps when the server is shuting down:


"C:Program Files (x86)FileMakerFileMaker Serverfmsadmin" close -m "Please save your data.  The server will shutdown.  This is an unplanned shutdown.  Please warn the db manager."

"C:Program Files (x86)FileMakerFileMaker Serverfmsadmin" stop

this is a shutdown script that will run under Windows 2003.

Why this? Because the fms is on a windows 2003 VPS and sometimes, but rarely, the VPS is restarting without warning...

Thanks for any advice

NB

  • Author

What should I do then? I'm closing all the files and after the service.

Should it be the right steps?

  • 4 weeks later...

Hey,

In general, yes: those are the right steps. The only thing you're missing is that you're not checking that everything closed down fine. Not so easy to do from the command line, but you should be checking the Event Logs to make sure everything did as you expected to do.

Never assume anything. That's why the first 3 characters of "assume" are ASS :

Wim says:

Never assume anything. That's why the first 3 characters of "assume" are ASS

Not to mention that the remaining ones are u|me. Meaning, of course, that to assume to make an ass|u|me.

Good one, Wim.

Steven

Does anybody *have* a good script/bat file that can gracefully stop databases? I've been struggling to make this work correctly since setting up our v9 server.

This is very important for a variety of reasons - clean backup and power outtage/battery shutdown, VM server shutdown script are a few that come to mind.

It seems like the fmsadmin steps are pretty straightforward. What we need is a way to pause for 120 secs. between fmsadmin close and stopping the service.

Any help or advice greatly appreciated.

-mark

From the FMPug's Everything ReferenceB)

fmsadmin START SERVER

fmsadmin STOP {options}

-f force disconnect of all clients

-m message sends message to clients

-t seconds wait time before disconnect

--grace-time a specified number of seconds (minimum 120) before clients are disconnected. Clients receive a message asking them to disconnect

Example: fmsadmin STOP --grace-time 180

For more information review the FileMaker Server Help PDF document that comes with the product.

Steven

Create an account or sign in to comment

Important Information

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

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.