Ok, i'm a little out of practise with all this but a couple of things
you can try.

1. run the installer with -verify_all at the install directory.

2. iirc, doesn't centOS chroot the home directory to stop people running
apps from there? If so i would suggest creating a folder on the root of
the drive for your game servers and then try running it.

3. I know this is a pain and probably isn't necessary at all but you
could always try a different distro. I personally have never got on with
cent and have preferred opensuse or fedora (shoot me down if you want)
albeit very heavily modified and the results have been great. Use this
one as a very last resort though because as i said, it's not very
practical.

Other than that, without have a box handy to run any tests on i can't
help much more.

Oh, before i forget. The processor thing (and this is a bit of a long
shot) could be related to the kernel being optimized incorrectly.
Personally, i've not seen that behaviour before but i'm guessing that
all hlds_run does is ask the kernel for what it thinks the processor
type is and it then runs the binary it thinks matches. So if the kernel
is giving out the wrong info hlds_run is going to run the wrong binary,
but that is only a guess.

I'd love to see what the more up to date guys has to say about this one
if i turn out to be wrong coz it's very strange.

And one last thing. Make sure you have the latest versions of gcc and co
because they was an update recently that changed the version
requirements of hlds and srcds for gcc. Can't remember what the exact
versions where but i'm sure one of the guys will know.

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Frederic
Breitwieser
Sent: 06 May 2010 03:59
To: [email protected]
Subject: [hlds_linux] hlds/Centos issues.

Greetings,

 

I have been working on this for about a week without much joy, despite
the
frantic googling and repeated re-installations I have done.

 

I have several problems, but am unable to determine if they are related.
I
run the server directly on the command line, as user "hlds" with a home
directory of /home/hlds.  Hlds_linux is installed in that home
directory, as
this user account is to be used only for the game server.

 

The game is DOD (goldsource).

 

[h...@gameserver~]$ ./hlds_run -console -dod +map dod_kalt +maxplayers
29
-IP *PUBLICIP* -port 27015 -sys_ticrate 200 -pingboost 2 -debug

 

The response I get is as follows:

 

Auto detecting CPU

Using AMD Optimised binary.

Enabling debug mode

Auto-restarting the server on crash

 

Console initialized.

scandir failed:/home/hlds/./platform/SAVE

Protocol version 48

Exe version 1.1.2.1/Stdio (valve)

Exe build: 16:56:04 Mar  8 2010 (4883)

STEAM Auth Server

couldn't exec language.cfg

Server IP address *PUBLICIP*:27015

map change failed: 'dod_kalt' not found on server.

 

couldn't exec listip.cfg

couldn't exec banned.cfg

 

*** first, I'm not sure why this script chose to use the AMD optimized
binary, because the machine is a Dell Power Edge 1750 sporting a pair of
Xeon 3.2 Ghz processors.

 

*** second, I'm not sure why it cannot find the dod_kalt map.  I also
tried
+map kalt on the command line in place of +map dod_kalt with no luck.
This
happens regardless of which map I specify, yet all the maps are there in
/home/hlds/dod/maps directory.

 

***When a user connects, I get this error:

 

./hlds_run: line 321:  3665 Segmentation fault      (core dumped)
$HL_CMD

Cannot access memory at address 0xbfd95e34

/home/hlds/debug.cmds:4: Error in sourced command file:

Cannot access memory at address 0xbfd95e34

email debug.log to [email protected]

Wed May  5 22:48:21 EDT 2010: Server restart in 10 seconds

 

*** then the above repeats when a player tries to connect to the server.
I
also tried this without the -debug option and the complaints from the
script
about the debug.cmds:4 went away, so obviously I used that parameter
incorrectly.  I also disabled iptables (firewall) so all ports were open
the
world, as a test, with the same results so that is not a direct cause of
this issue.

 

I did remember to "yum install  gbd".

 

I did find this segmentation fault at line 321 error all over the 'net,
but
didn't see any resolution other than to reinstall steam which I've done
over
and over.

 

I'm still perplexed as to why this script "discovers" an AMD processor
when
there are authentic Intel Xeons in the server.  Could that be related?

 

I attempted to run the hlds_I486 and hlds_i686 binaries directly with
the
same parameters as above, however neither of them could find the
libsteam
series of libraries, and I imagine that's due to not having them in the
path
or something along those lines.

 

Any advice, help or even ridicule would be welcome at this point.  Thank
you
in advance.

 

 

---

 

Frederic Breitwieser

Woodbridge Data LLC

40 Warwick Road

Colonia NJ 07067

V: (732) 669-0601 x9001

http://www.woodbridgedata.com

 

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to