The Unreal Admins Page - Forums

The Unreal Admins Page - Forums (https://unrealadmin.org/forums/index.php)
-   UT2003/4 Server - Linux Specific (https://unrealadmin.org/forums/forumdisplay.php?f=107)
-   -   Server autorestart with no root access (https://unrealadmin.org/forums/showthread.php?t=30783)

Dragonheart 17th December, 2011 07:43 AM

Server autorestart with no root access
 
Hi!

I'm running a few UT2004 servers on a Debian dedicated server. I have a restricted SSH account on it with full access only to a single directory with ut2004 servers (no root, so I can't install any applications). I'm running all servers in screens. Sometimes they crash and I have to start them again manually. Is there a script to restart them automaticly without a need of root access?

I've already tried some, but it just started running one process by another even while the server didn't crash.

I'm a complete noob in unix, so a detailed explanation would be appreciated :) Thx!

UTBaDaSS 20th December, 2011 03:38 AM

Install a Webmin thru SSH and you can make autostart cron jobs.

go here..... http://www.webmin.com/

Dragonheart 20th December, 2011 06:46 AM

The problem is:
Quote:

Originally Posted by Dragonheart (Post 163837)
I have a restricted SSH account on it with full access only to a single directory with ut2004 server.

I have no root access.

I can start and manage files in a directory of ut2004 servers only. So the only idea I see is smth like a script that will be loaded in memory for all time, checking if ut2004 server process is running every 10 secs for example and starting it again if it's not, but I have no idea on how to realise it in unix.


All times are GMT +1. The time now is 05:30 PM.

 


All pages are copyright The Unreal Admins Page.
You may not copy any pages without our express permission.