You are an unregistered user, you can register here
Navigation

Information

Site

Donations
If you wish to make a donation you can by clicking the image below.


 
Go Back   The Unreal Admins Page > Forums > Unreal Admins > Unreal Tournament 2003/2004 > UT2003/4 Server - Windows Specific

Reply
Thread Tools Display Modes
  #1  
Unread 12th August, 2006, 10:17 AM
Flybye Flybye is offline
Killing Spree
 
Join Date: Aug 2006
Posts: 37
Default Relaunch doesnt Relaunch: UT2004 in XP Pro

Hi everyone. My first post

First, I know I had to setup the server as an XP service. XP starts and the UT server service starts up perfectly. I can enter a game, access WebAdmin, etc. Everything is perfect.

But now that I have the thing installed, I'm constantly tweaking it. And entering Relaunch into the command line does NOT relaunch it. I can restart the server service through the service's window, but it can never relaunch itself when I give it the command.

In the service window, I even made sure in the "Recovery" tab for "First, Second & Subsequent failures" that I have "Restart the Service" and it is setup for 1 minute.

And it still can't restart itself.

So anyone with any ideas, I'm all eyes

Thx
Reply With Quote
  #2  
Unread 12th August, 2006, 04:03 PM
b][rch.Co30's Avatar
b][rch.Co30 b][rch.Co30 is offline
Godlike
 
Join Date: Sep 2004
Location: Canada Eh!
Posts: 348
Default

I run a server on a Win2K Server as a service. (so this may or may not apply to your WinXP Pro situation) The service is a batch file (which starts the ucc server) not just a ucc command line. I generally stop the service to make permanent changes to the server though.

Are you using a batch file as the service starter or just a command line ?

Service -> runserver.bat

runserver.bat
@echo off
:10
ucc server DM-Phobos2?Game=XGame.xDeathMatch? -log=server.log
copy server.log servercrash.log
goto 10

I have the recovery section setup to take no action, the batch file takes care of the restart. If you needed a pause to make changes you could always add a sleep statement in the batch i suppose.

runserver.bat
@echo off
:10
ucc server DM-Phobos2?Game=XGame.xDeathMatch? -log=server.log
copy server.log servercrash.log
sleep 60
goto 10
Reply With Quote
  #3  
Unread 12th August, 2006, 08:49 PM
Flybye Flybye is offline
Killing Spree
 
Join Date: Aug 2006
Posts: 37
Default

Wow...using the .bat COMPLETLY blew my mind. I was using the command line + parameters to start ucc.exe

It works perfectly now. Thx!!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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


 

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