Since OG crashes on a regular basis, is there some way I can monitor FM and restart it when it takes a shit? I've tried that crappy Keep It Up program, which has proven to be completely useless.. Is there some type of cron job or something I can run to restart it if it craps out? HELP!!!!
You can easily write a script and put it in cron to restart if it can be executed via the command line.
if you want ease to set up- http://ubuntu.com/ (server version) if you want speed and security but have the time to set it all up- http://www.freebsd.org/ I honestly have never used FM but if you've payed for it, don't you get support for it? if not, you might be best getting someone who knows about it to set it up for you on the OS of your choice if you haven't actually payed for it. just dump it lol I've never heard of it before until this thread and if it's causing you too much hassle, it's best just finding another solution I just looked at wikipedia and it's made by apple so imo osx would be your best choice of OS because if it's anything like any of apples applications for linux and windows... well yeah :/
If it's running on linux and crashing, I'd check two things your hardware, and your tables. Have you tried rebuilding all your tables within Filemaker? Off the top of my head, under linux, a cron script like. !/usr/bin/perl $line=`/etc/rc.d/init.d/fmserverd status`; open(OUT,">>/tmp/fmserveraudit.log"); if ( -f "/tmp/fmserverd.lck") { exit 1; } if (($line !~ m/running/)) { system("/etc/rc.d/init.d/fmserverd restart"); print OUT "Failed\n"; } else { print OUT "Ok\n"; } system ("rm /tmp/fmserverd.lck"); Of course when my filemaker has crashed in the past, I always end up with damaged files, I need to recover within filemaker.
Thanks man.. Nah, it is running under OSX 10.4.11 and FMPRO Unlimited 5.5v4 I guess what I need is something that watches FM to make sure it is running, and then if it dies, opens the application and OG. I've never had to recover, thank God... Generally when it dies, it just starts with the consistency check.. BTW, this is not the DB server, this is the web server, so since it is loading the db files remotely, it's not like anything is going to get damaged.. Thanks again!
The Webserver only runs under Windows/MacOS. I get paged every time the webserver gets stuck, however it recovers, it hammers the machine when someone enters the interface. I check http port 591 on the machine (default port). I also installed it as a service (using firedaemon). You can either remotely restart the service with your paging system, or just put something like what's up on the local machine and have it restart it, upon failure of the http 591 check.
Oh, finding a way to reboot the service automagically is not a problem now that I use OSX for the DB server.. It was before when I started this thread though, as I was using OSX.. Anyway, so far, my DB server has been stable for over a week.. Unbelievable. I don't think I have ever gone a week without OG crashing in 9 years! The Web server still pukes however... I am working on that... Filemaker just sucks balls!
try something else other then OG, if it gives you this many problems then it might be better to move on and try new things