SRCDS Steam group


[resolved]Srcds hangs on startup
#1
Server OS: CentOS 6.2 (64bit)
Processor: 2x Quad Core Xeons @ 1.86GHz (L5320)
Ram: 16 GB
Game(s): Team Fortress 2
Start Up Command: ./srcds_run -console -game tf +map cp_dustbowl +maxplayers 24 -autoupdate +ip 209.50.226.21 -port 27015 -tickrate 66
Admin Mods: SourceMod, MM:S

Srcds hangs after:
Code:
Network: IP 209.50.226.21, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
SOLID_VPHYSICS static prop with no vphysics model! (models/props_foliage/grass_02_cluster01.mdl)

A strace on the process reveals this:

Code:
mprotect(0xa8e9000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC) = -1 EACCES (Permission denied)
mprotect(0xa8e9000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC) = -1 EACCES (Permission denied)
mprotect(0xa8e9000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC) = -1 EACCES (Permission denied)
mprotect(0xa8e9000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC) = -1 EACCES (Permission denied)
...etc....never ends

From what I've read, mprotect sets protection on a region of memory. Why would permission be denied? Or if you have any other ideas, let me know.
Reply
#2
So this was really odd.

Apparently this was caused by Metamod or Sourcemod. I moved my addons directory out of the way and TF2 starts up without issue. I'm going to further diagnose the issue, but it is resolved for now.

Edit: Narrowed it down to Sourcemod.
Edit2: Narrowed it down to a specific plugin.
Edit3: Final edit, I promise! This was all caused by SELinux. Apparently it was enabled by default on a fresh CentOS 6 install. I disabled it and MM:S and SM run without issue.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)