( search forums )
Linux Server problem: "Killed" on console
Soldat Forums - Server Talk - Server Help
webmaxx
April 1, 2006, 1:37 pm
Hi,

I got a problem with my linux box. When I execute the soldatserver binary, I just get the word "Killed" on the console. Nothing else.

The OS is Gentoo Linux. Since it's a server, I'm using a hardened-kernel and some other security enhancements.

I tried to start the server on another gentoo box, with a typical workstation configuration, and it works.

I already added a password parameter to the line, which changes nothing. I also turned ASE_Register Off, no success.
Didn't really thought that would change anything, because on the other machine it worked without these changes, but someone mentioned it on the forums.

Can anyone help me to find out why it crashes on that machine?

Greets,
Max

Deleted User
April 1, 2006, 1:41 pm
"I only get "Killed" in a new line"
That doesnt make sense... please rephrase

webmaxx
April 1, 2006, 1:46 pm
Changed it.

Well, I type in "./soldatserver" (and I'm in the right directory) and it prints "Killed" like this:

max@server ~/soldat/ $ ./soldatserver
Killed
max@server ~/soldat/ $

This is an ordinary user, I also tried it as root - same result.

webmaxx
April 3, 2006, 8:47 pm
No ideas? Anyone?

chrisgbk
April 5, 2006, 7:55 am
Only guess is that it's either due to the server configuration not allowing Soldat to run because it's accessing something it doesn't have permission to, or a bug in the server is triggering a security check. Pretty much all you can do in that case is either: 1) Change the server configuration to be more lax on security, or 2) wait, and see if it gets fixed eventually.

My only suggestion is to check the permissions for Soldat, and any files it uses.

webmaxx
April 7, 2006, 3:48 pm
Hm well I checked all file permissions, tried 777 on all, but no change.

I also used the same "fresh" archive from soldat.pl as I used on the other machine (on which I had no problems getting it running).

I would appreciate the server would tell me what's wrong :P

FliesLikeABrick
April 7, 2006, 7:54 pm
Is this a server you own, or what? It sounds like you're running it on a server where you're not supposed to run your own programs.

Give us some background on the circumstances around this server ;)

webmaxx
April 8, 2006, 2:26 pm
Sure, it's a machine here at home, which is running as a file, www and some more - server.

I wanted to have it running more secure than just basic security configuration, so I use a hardened system with pax and grsecurity ('cause i found a nice guide for exactly that configuration...). And I never had that kind of problems running any programs.

I think the security addons are the reason for soldat crashing ... but is there a way to find out what exatly is the problem without try & error? I really don't want to recompile the whole kernel, mainly because the system has been running really trouble-free yet.

Maybe an option or something to make the server show me more information? Or is there a documentation telling what action can cause "Killed" as error message?

If you need more details, tell me please!

Tank
April 8, 2006, 3:52 pm

It's quite obviously the security that is causing your problems.

'Killed' is the message you receive when certain processes are sent kill signals. Usually 9 / KILL, but sometimes 15 / TERM.

The only diagnostic tool I can think off to help you is to learn how to use the tool strace. Strace will allow you to see every system call the soldat binary makes and hopefully narrow down what is causing the problem.

FliesLikeABrick
April 8, 2006, 7:23 pm
what user are you trying to run the soldat server as?

mar77a
April 8, 2006, 7:46 pm
 Quote:
Well, I type in "./soldatserver" (and I'm in the right directory) and it prints "Killed" like this:

max@server ~/soldat/ $ ./soldatserver
Killed
max@server ~/soldat/ $

This is an ordinary user, I also tried it as root - same result.

webmaxx
April 11, 2006, 4:24 pm
 Quote:Originally posted by Tank
The only diagnostic tool I can think off to help you is to learn how to use the tool strace. Strace will allow you to see every system call the soldat binary makes and hopefully narrow down what is causing the problem.


Thanks for the hint. Will try it, when I'm back home from vacation...

Or maybe I just give it up and wait for another version, which runs :P

FliesLikeABrick
April 11, 2006, 4:38 pm
The problem is most likely not the server program

webmaxx
April 20, 2006, 7:42 am
What do you think, is it possible to emulate another virtual linuy system on this box to run the soldat server in?

Deleted User
April 20, 2006, 9:50 am
If you are using X or some other GUI for your linux, than you can get VMWare for Linux to emulate any other operating system your heart desires.

http://www.vmware.com/

Very good software, I use it to run my server; works like a charm.

webmaxx
April 20, 2006, 10:05 pm
No, I managed to run it without any GUI yet ... Will try something "console-only". Maybe it works ;-)