Jump to content

FMS18 on Mac randomly crashing at around 11:55 PM


Recommended Posts

Hello, 

 

We run several FMS18 instances on Mac OSX machines. 

Randomly, more often on Fri / Sat / Sun, Filemaker server will shut down and disconnect all clients - curiously always at the same time, around 11:55 PM - , and I am unable to restart it from the command line and the web admin drops offline. The only way to bring it back to life is to reboot the entire machine. 

 

Is there any scheduled update job at 11:55 PM that I should be aware of that would cause this behavior? 

 

 

Edited by DataCruncher
Link to post
Share on other sites
  • 3 weeks later...

No / not yet. It still keeps crashing at 11:50 PM like clockwork on several machines. I use the term crashing loosely as when I’m connected, I get the disconnect warning message, so it seems to be a clean shutdown. I only can’t start it back up either from the command line or the web interface as that’s also shut down. Terminal responds Error 10007 to restart, start and stop commands

Link to post
Share on other sites
  • 1 month later...

Bumping this topic. It keeps happening, light clockwork, to all three of our FM 18 servers 11:55 PM every Saturday. 

All filemaker functions drop off, and CLI result in 10007 error. What I did observe is when it goes down, the connected FMP clients get this warning message "Filemaker Server is shutting down now' so this appears to be some sort of graceful commanded shutdown that then kills the entire ecosystem for good. We do not have scheduled script tasks or cron jobs running at that time - why would Filemaker Server do that? 

 

Which log should I check for hints why this is happening?

 

Thank you

Link to post
Share on other sites

Hi Data Cruncher. It seems that the data restoration function may be responsible for causing this in FMS18. I moved to FMS19 and made sure that Data Restoration was not enabled and mostly it seems more stable. That having been said, one file stopped spontaneously last week but it appears it wasn’t damaged. I hope that helps...

Link to post
Share on other sites

Thank you, John - I have data restoration disabled on all my machines as this can really really have things head south, and fast 🙂

 

I was hesitant to move to FMS19 without identifying the cause first, simply because I did not know what else that would break and whether the same error occurs again. But I'll give it a try!

 

Thank you

Link to post
Share on other sites
2 hours ago, johnBuckingham said:

I suspect its not actually possible to properly disable Restoration in 18

The link to the community page doesn't work; but you can most certainly completely disable the data restoration in 18 and 19.0.  In fact, 19.0 installs with the feature turned off by default.  The feature is gone in 19.1.

4 hours ago, DataCruncher said:

why would Filemaker Server do that? 

Because it is instructed to do so.  There is most definitely something on your machine that is triggering a shutdown.  And moving up to 19 is probably not going to solve it since this is a non-FMS event.  Use all the logs available to you through the macOS console app and go through them with a fine comb.  Tedious, and easy to get impatient with it, but the clues will be there.

Link to post
Share on other sites
3 hours ago, johnBuckingham said:

What, then, would be your advice to the OP?

I already gave it a few replies back in this thread: use all the system logs available to trace any and all activity on those boxes - the clues will be there.

Since this is a fairly specific time-frame and happens to all of the servers there it has to be some environmental thing.  Or a piece of extra software that gets installed by default on all machines.  Could be as simple as the control software for the UPSes.

This behavior is not induced by FMS, otherwise it would happen to a lot more servers everywhere and it isn't.  So it is something specific to this deployment.

Link to post
Share on other sites
  • 2 weeks later...

Thank you Wim and John - I will keep looking. Like I said, it's a graceful shutdown as far as FMS is concerned - but after that has shut down, it won't come back on even from fmsadmin CLI. That's what's weird, but I agree it has to be something in the environment. 

 

Link to post
Share on other sites

SOLVED!

Wim was very right. 

On my virtualized Mac server, I looked high and low and couldn't find any cronjobs that would run at that time. 

However, I did not check the launchd plists!!! D'Oh!

 

Turns out, /Library/LaunchDaemons contained two .plist files that invoked letsencrypt renewal scripts at 11:51 PM every Saturday! The StartCalendarInterval was the dead giveaway. 

 

I assume FMS shuts down into some sort of safe hibernation that disallows it to be re-started if someone tries to mess with the SSL certificate while the server is running. 

 

I disabled the letsencrypt plist launchd's and will observe, but I am very confident that will do the trick!

 

Thank you for all the help - this has been a year in the making. 

Link to post
Share on other sites

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
  • Similar Content

    • By tomp
      I'm having a problem getting BE_SMTPsend to successfully send an email with an attachment.
      No problem sending without an attachment, but when I add an attachment, I get an error 2 (not sure exactly what that means, but without the attachment, no error)
      These are the argument strings with and without attachments:

      I have tried both relative and direct file paths for the variable $attachment. Examples are:


      Both of them return an error code of 2.
      Since the 'send' without an attachment works, all the values of the fields/variables other than $attachment must be valid.
      Can anyone offer a suggestion as to what might be going on and what I might try to resolve this?
       
    • By Msaeed
      Hi All,
      As per mentioned on topic, in fact i would like to create icon ex. hour in case rigging guard the insert time.

    • By Solvax
      Hi,
      I'm trying to make a subsummary report with data from the current table and a related table.
      I never get to display the correct totals for the related table, and would therefore appreciate your help.
      First I'll try to explain the workflow:
      I have two tables called 'Voorraad_uit' (= outgoing stock) and 'Voorraad_in' (= incoming stock) which are related by delivery number.
      Data is first entered in 'Voorraad_in' (= incoming stock) and then related records are created in 'Voorraad_uit' when an incoming stock item is partly or completely shipped.  This second table contains mainly the outgoing amount and a unique outgoing delivery ID.

      As a consequence, one record in table 'Voorraad_in' (= incoming stock) can have one ore more related records in 'Voorraad_uit' (=outgoing stock).
      I want to make a subsummary report showing the total amount of incoming and outgoing units per product(name) by using the following layout structure:

      I tried two scenarios which each give me a part of the desired result.
      when I base the layout on 'Voorraad_in' (=incoming stock): I get the right totals for incoming deliveries I get all the incoming deliveries listed (also those without outgoing delivery) Body part 3 (see above) only shows one row also when there are more than one related outgoing transactions I get the wrong totals for outgoing deliveries (only based on one record) when I base the layout on 'Voorraad_uit' (=outgoing stock): I get the wrong totals for incoming deliveries I don't get all the incoming deliveries listed (only those with outgoing delivery) Body part 3 (see above) shows all the related outgoing transactions I get the right totals for outgoing deliveries Main goal is having the right totals for both incoming and outgoing deliveries..
      My layout is sorted ascending by (in mentioned order) productname, incoming delivery number and outgoing delivery number.
      The totals are calculated by using summary fields.
      I hope I'm on the right track and that the desired result is possible.. your help is much appreciated!
      Thanks in advance for your help.
      Regards,
      Solvax
    • By Steve Pfister
      Security Challenge when signing on to Paypal through Filemaker pro 18 web viewer.    I see the text "Security Challenge" but nothing else shows up... all is invisible, making it impossible to solve the security challenge and sign in....  Mac Pro..OS High Sierra 10.13  ....running Filemaker 18 .     I am having Java script issues I am assuming.   Has anyone else had this similar issue and solved it?
      Thank you in advance
      Steve
    • By Pio Soto
      Hi, I was wondering if it's possible to add some design to my email, 
      I have attached a sample of what I'm looking for but the idea I got is from my quickbooks email invoice.
      Thanks.

×
×
  • Create New...

Important Information

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