( search forums )
New Dedicated Server
Soldat Forums - Soldat Talk - Server Help
Shadowgate
July 31, 2003, 12:04 pm
So I have a 10mbps linux server I am trying to get running a dedicated server, but I can't get the soldatserver console to run in the background. I am running it like this: "./soldatserver PASS &"
It runs but when I log off, the server chokes and dies.

How can I run this without staying logged on?

toadsMoke
July 31, 2003, 9:52 pm
why log out? just use a non-administrative account and keep it running in the background the use another terminal.

Morten
August 1, 2003, 12:50 am
But he is asking for a way to keep it runing wihout log out..
Mybe he has only remote Accass to hiis PC....

Because I've got the same Problem..

I can not run it as servis or better say I don't know how to do it :)

And the server should be permanent.. I'ts not the thing that the "Soldat-Server" goes down when i logout with "root" or any user ...

Mybe a sartskript for Linux could solve this Problem...


Morten
with 100Mbits server *grinst*

Shadowgate
August 1, 2003, 11:21 am
Thats right, I only have remote access to my linux machine...

Anyways, I did get it working (Despite the fact that the linux server isn't very good)...
You need to download an app for linux called screen.
This emulates a TTY session that you can leave open. When you run it under the emulated session, you can switch back to the regular one and log out with no problems.

Morten
August 1, 2003, 12:17 pm
I've got screen runinng on my Linux

but I don't know how to use it *grinst*

could you show me the command you used to start it?

Thx..

Morten
August 1, 2003, 4:13 pm
I've got it :)

My screen syntax was wrong...

it is

screen -s -m -S <screen name> <command to execute>

This will start the the apllicatian as daemon
e.G.

screen -d -m -S sodat /usr/local/soldat/soldatserver

wil start the sodat server as daemon
it say online withot to be loged in!

Morten

Shadowgate
August 1, 2003, 10:02 pm
Well, it works fine for a few hours or so and then the server seems to die. It seems it really is beta.
Hopefully a new version will be coming out so I can try to support this game.

Morten
August 1, 2003, 10:13 pm
my server works 12 Houers permanantly!

With 16 slots

I don't thing thats the eta version *grsint*

Shadowgate
August 3, 2003, 10:10 am
My server says "Server full" after a while, and I know there is nobody on it.
Is this a bug? I wish I could get an official response.

Shadowgate
August 4, 2003, 9:59 am
Any ideas on this? I'm not going to run it anymore unless this is figured out.

chrisfu
August 4, 2003, 12:02 pm
Yeah, I'm getting that too. The EASIEST way to keep your server open when you logout is just:

nohup ./soldatserver <yourpass> &

This will also log all the output of the server into a file called nohup.org. The problem we all seem to be having (in the last version too, I must have reported this bug about 10 fricking times) is this:

Exception EIdSocketError in module soldatserver at 0806EAEA.
Socket Error # 111
Connection refused.

This fills the server with "ghosts" and refuses any new connections. Take a look for it in your nohup.out. When will this be fixed?

Michal Marcinkowski
August 12, 2003, 2:47 pm
I'm working on the "Connection refused." bug. It's hard to track it because it happens after a couple of hours.

pyth
September 8, 2003, 6:49 pm
just run screen, and then do your ./soldatserver ****** and after that ctrl-a + d and you have detatched your server in screen. shouldn't be a problem at all.