1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How can I get my web server to stay up???

Discussion in 'Optigold ISP' started by Mia, Sep 10, 2007.

  1. #1
    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!!!!
     
    Mia, Sep 10, 2007 IP
    d16man and Colleen like this.
  2. Swiftie

    Swiftie Active Member

    Messages:
    203
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #2
    OG? What does that mean?
     
    Swiftie, Sep 24, 2007 IP
  3. Mia

    Mia R.I.P. STEVE JOBS

    Messages:
    23,694
    Likes Received:
    1,167
    Best Answers:
    0
    Trophy Points:
    440
    #3
    Optigold...
     
    Mia, Sep 24, 2007 IP
  4. Swiftie

    Swiftie Active Member

    Messages:
    203
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #4
    You can easily write a script and put it in cron to restart if it can be executed via the command line.
     
    Swiftie, Sep 24, 2007 IP
  5. Mia

    Mia R.I.P. STEVE JOBS

    Messages:
    23,694
    Likes Received:
    1,167
    Best Answers:
    0
    Trophy Points:
    440
    #5


    If it were that easy, I would have done that already.. ;)
     
    Mia, Sep 24, 2007 IP
  6. Swiftie

    Swiftie Active Member

    Messages:
    203
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #6
    I can help you out if you need some advice.
     
    Swiftie, Sep 24, 2007 IP
  7. Swiftie

    Swiftie Active Member

    Messages:
    203
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #7
    wait, is this Linux? (if it's not I can't help much, unless it's Windows I guess haha)
     
    Swiftie, Sep 24, 2007 IP
  8. Mia

    Mia R.I.P. STEVE JOBS

    Messages:
    23,694
    Likes Received:
    1,167
    Best Answers:
    0
    Trophy Points:
    440
    #8
    The problems appear to be a bug in FM... I'm not sure that is something either one of us can fix..
     
    Mia, Sep 24, 2007 IP
  9. Swiftie

    Swiftie Active Member

    Messages:
    203
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #9
    FM?... lol
     
    Swiftie, Sep 24, 2007 IP
  10. Mia

    Mia R.I.P. STEVE JOBS

    Messages:
    23,694
    Likes Received:
    1,167
    Best Answers:
    0
    Trophy Points:
    440
    #10
    Yes, Filemaker... It's slow and unstable...
     
    Mia, Sep 24, 2007 IP
  11. Meth_

    Meth_ Well-Known Member

    Messages:
    1,063
    Likes Received:
    72
    Best Answers:
    0
    Trophy Points:
    140
    #11
    move OS's? lol
    better your site being down a few hours, than constantly going down
     
    Meth_, Sep 24, 2007 IP
  12. Mia

    Mia R.I.P. STEVE JOBS

    Messages:
    23,694
    Likes Received:
    1,167
    Best Answers:
    0
    Trophy Points:
    440
    #12


    What OS would you suggest? I've tried Linux, MacOS, Windows, MacOSX... FM dies under every one...
     
    Mia, Sep 24, 2007 IP
  13. Meth_

    Meth_ Well-Known Member

    Messages:
    1,063
    Likes Received:
    72
    Best Answers:
    0
    Trophy Points:
    140
    #13
    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 :/
     
    Meth_, Sep 24, 2007 IP
  14. Mia

    Mia R.I.P. STEVE JOBS

    Messages:
    23,694
    Likes Received:
    1,167
    Best Answers:
    0
    Trophy Points:
    440
    #14
    Ok, I was kinda hoping to get advice from people that actually using Optigold... ;)
     
    Mia, Sep 24, 2007 IP
  15. Univ

    Univ Peon

    Messages:
    161
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #15
    Yeah, write a script an put it in cron! It should work!
     
    Univ, Nov 16, 2007 IP
  16. Drwho17

    Drwho17 Guest

    Messages:
    57
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #16
    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.
     
    Drwho17, Nov 20, 2007 IP
  17. Mia

    Mia R.I.P. STEVE JOBS

    Messages:
    23,694
    Likes Received:
    1,167
    Best Answers:
    0
    Trophy Points:
    440
    #17
    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!
     
    Mia, Nov 20, 2007 IP
  18. Drwho17

    Drwho17 Guest

    Messages:
    57
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #18
    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.
     
    Drwho17, Nov 22, 2007 IP
  19. Mia

    Mia R.I.P. STEVE JOBS

    Messages:
    23,694
    Likes Received:
    1,167
    Best Answers:
    0
    Trophy Points:
    440
    #19
    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!
     
    Mia, Nov 22, 2007 IP
  20. Sunhay

    Sunhay Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #20
    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
     
    Sunhay, Nov 26, 2007 IP