Debriefing > Bug Reports & Fixes

[ISSUE] Attempting to run dedicated Fedora Linux server

(1/4) > >>

MSuLL:
Hey all,

First off, thank you VERY much for all the work on this awesome mod.  As an Unreal Tournament (UT99) coder myself I know these things take a lot of time.

I'm working on getting a dedicated server up for my clan.  I'm running Linux, Fedora 12 flavor.  I'm a complete noob to server setup on anything Valve or Source; so with that in mind:

I've got all files in place, everything looks good and ready to go.  I've not done any modifications at all other than working in the server.cfg to set admin pass and server name.

To start the server, as per the wiki I issue:
./srcds_run -game gesource +map ge_runway +maxplayers 16

srcds_run spits a gross-looking segfault:

Console initialized.
srcds_i486[1583]: segfault at 0 ip (null) sp 00000000ffa32d9c error 14 in srcds_i486[8048000+e000]
./srcds_run: line 352: 1583 Segmentation fault $HL_CMD

Adding -debug to the command line shows no further information.  Worse comes to worse I can use Windows, but honestly I prefer to host game servers under Linux.

Any help would be deeply appreciated.  Thanks guys  :)

killermonkey:
looks like you need to reinstall your hlds on linux

MSuLL:

--- Quote from: killermonkey on February 01, 2010, 07:00:07 pm ---looks like you need to reinstall your hlds on linux

--- End quote ---
That's what I thought too (when I saw the segfault), was hoping it was the hlds so I re-installed from scratch.  I'm wondering if it could just be an issue with how I'm running it.  Fedora 12 is very new, just might be an issue with the distro.

V!NCENT:
It might be the hlds... But it might also not be.

"Greeeeeeeeeaaaaaaaaaaaaaaaat... ::)" I hear you think.

You see... Plain and simple: Fedora is a bitch. Fedora is not your avarage Linux distribution. It is not only bleeding edge, but it's also a playground for new ideas and concepts and there is code over there that might not even be inside of a development release of Linux itself. So there is a high probability of things that go bad, terribly bad.

But the biggest pain in the ass is SELinux (Secure Enhanced Linux). It is some kind of security bitch that goes beyond rights management, it plain and simple denies any request by an application that SELinux thinks it might not need and thus many things will just not even work and some won't even output anything to a console before it's terminated.

In order for anything to work with Fedora it needs a custom profile of things that it is allowed to do, otherwise it will be terminated on the spot.

So before you even try to do anything with Fedora I suggest that you use another distro first to get familiar with hlds and then you might considder running it on another Linux distribution ;)

However if you insist on running it on Fedora, there is an SELinux profiler configure thingy under (in Gnome) System -> Administration -> SELinux thingy. Maybe you could just set hlds to do everything it pleases ;)

PS: Of course profiling only needs to be done for anything that is not included in the Fedora repositories, which is the case for hlds...

MSuLL:
Hey V!NCENT thanks for your thoughts.  What you have said about Fedora is completely true  :)

I've been using Fedora on my home and work PCs since the 2nd release, I know it very well, which is why I'm using it with this server.  SELinux has been turned off (completely disabled from the kernel) since the initial install was complete, I figured it would cause some crazy issues.

I think I'll jump into Ubuntu server and see what luck I have.  I don't know it nearly as well, but I'd imagine that's what the majority of Linux servers for GE:S would be running.

Navigation

[0] Message Index

[#] Next page

Go to full version