Results 1 to 7 of 7

Thread: Ubuntu : , server backup after crash ?

  1. #1
    Developer RyBack's Avatar
    Join Date
    Apr 2014
    Location
    In Front of the screen
    Posts
    1,603

    Default Ubuntu : , server backup after crash ?

    ok i'm willing to rent a vps with ubuntu 14.10 server inside ,

    lets assume that the server crashed , what would restart it ? nothing !


    what's the solution ? perhaps a terminal script ?

  2. #2
    Developer RyBack's Avatar
    Join Date
    Apr 2014
    Location
    In Front of the screen
    Posts
    1,603

    Default

    why do i have to always say "no replies ?" so people would reply O.o

  3. #3
    Über Prodigy & Developer Razo[R]apiD's Avatar
    Join Date
    May 2010
    Location
    Poland, Lublin
    Posts
    3,257

    Default

    It's better to ask on some Ubuntu forums, I know you like us, but you would get help there faster.

    Posting it in MOHAA General / Questions / Problems section is not a good idea either.

  4. #4

    Default

    You can use a bash script to auto restart a process if it gives an exit code other than 0, but even when MOHAA servers do crash, most of the time the exit code is 0. As for your VPS, you should have a panel where you can restart the entire server via your browser.
    Browse MOHAA Servers Post GameSpy Era

    VISIT MOHREBORN.COM FOR LATEST INFORMATION



    Medal of Honor: Game Server Browser Fixer - Patches your MOHAA, MOHSH, and MOHBT game binaries to allow you to retrieve a list of game servers within the multi-player menu in-game even after GameSpy ceases operation!

    Medal of Honor: Query Launcher - Find, browse, organize, join, get your ping, and get more information regarding all Medal of Honor (AA, SH, & BT) servers from your PC at any time!
    Medal of Honor: Web Server Master List - Find and browse all Medal of Honor servers online using your browser!
    Add your Medal of Honor Server to the Master List
    YouTube Video for Medal of Honor: Query Launcher and MOHAASERVERS.TK!



    MOHAA Mods and Utilities
    OwN-3m-All's Mods
    Make Me Stock - A program that allows you to easily move-in and move-out non-stock mods and other files at the click of a button. Automates adding / removing mods without having to copy / move files manually.



    Quality Game Servers

    Rent dedicated Dallas Texas, Kansas City, Las Vegas Nevada, Chicago, Pennsylvania, and Sofia Bulgaria MOHAA and other game servers from We Be HostiN starting at $10 a month.


  5. #5
    Developer RyBack's Avatar
    Join Date
    Apr 2014
    Location
    In Front of the screen
    Posts
    1,603

    Default

    Quote Originally Posted by Razo[R]apiD View Post
    It's better to ask on some Ubuntu forums, I know you like us, but you would get help there faster.

    Posting it in MOHAA General / Questions / Problems section is not a good idea either.
    most of my problems are met by other members here , that's why i post here first

  6. #6

    Default

    HTML Code:
    #!/bin/sh
    while true
    do 
    if pgrep mohaa_lnxded
    then
       echo running
    else
       cd /usr/local/games/mohaa-server;./mohaa_lnxded +exec yourserver.cfg &
    fi
    sleep 5
    done
    Here is what you can use. Its a Shell script.

    Sorry for replying late. I have not been checking in here often.

    HTH.
    Last edited by anspectrum; February 26th, 2015 at 01:23 PM.

  7. #7
    Developer RyBack's Avatar
    Join Date
    Apr 2014
    Location
    In Front of the screen
    Posts
    1,603

    Default

    thanks for the reply , gonna add some things to that script to backup old logs

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •