SRCDS Steam group


segmenation fault when +ip and +port are used
#1
Question 
BASIC INFO
Server OS: Gentoo Linux
Processor: AMD Athlon64 2.4GHz
Ram: 8Gb
Games(s): Counter-Strike: Source
Start Up Command: ./srcds_run -console -game cstrike +map de_dust2 +maxplayers 12 +ip <my-external-ip> +port 27015 +fps_max 0 -tickrate 100 -autoupdate
Admin Mods: Metamod: Source; SourceMod

Hello, i get a segmenation fault when +ip and +port are used as parameters for srcds_run.

tcp and udp selected where needed
[Image: forwardm.jpg]


console error message
Code:
Auto detecting CPU
Using default binary: ./srcds_linux
Server will auto-restart if there is a crash.
INFO: Located steam: /home/pale/srcds_1/steam
Updating server using Steam.
Checking bootstrapper version ...
Updating Installation
Checking/Installing 'Counter-Strike Source Shared Content' version 77


Checking/Installing 'Base Source Shared Models' version 4


Checking/Installing 'Base Source Shared Sounds' version 4


Checking/Installing 'Base Source Shared Materials' version 8


Checking/Installing 'OB Linux Dedicated Server' version 46


HLDS installation up to date
CAsyncIOManager: 0 threads terminating.  0 reads, 0 writes, 0 deferrals.
CAsyncIOManager: 102 single object sleeps, 0 multi object sleeps
CAsyncIOManager: 0 single object alertable sleeps, 0 multi object alertable sleeps
Using breakpad minidump system
Using breakpad crash handler

Console initialized.
Game.dll loaded for "Counter-Strike: Source"
Setting breakpad minidump AppID = 240
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Installing breakpad exception handler for appid(240)/version(4252)
maxplayers set to 12
Unknown command "r_decal_cullsize"
maxplayers set to 12
Unknown command "port"
WARNING: NNET_OpenSocket: bind: Cannot assign requested address
Couldn't allocate any server IP port
PreMinidumpCallback: updating dump comment
Uploading dump (in-process) [proxy '']
/tmp/dumps/50f7f1f1-965d-5b5a-47e26dea-7f8e6c60.dmp
./srcds_run: line 341: 15701 Segmentation fault      $HL_CMD
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Sat Jul  3 22:17:40 EST 2010: Server restart in 10 seconds

Any help is appreciated.

EDIT:
Just noticed, in the console I posted it says
Auto detecting CPU
Using default binary: ./srcds_linux
.

But I have an AMD Athlon64. So shouldn't it be detecting an AMD CPU and using srcds_amd?

EDIT2:
I do not get a segmentation fault if i use -ip 192.168.1.3 and -port 27015 , but I am unaware if people can still connect, nor do I have a way of testing that at the moment.
Reply
#2
I use -ip 192.168.250.253 -port 27015 which works fine, no errors concerning ports and ip's here.
Code:
[steam@DDBS-2U1 srcds]$ lsof -i :27015
COMMAND    PID  USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
srcds_lin 4825 steam    6u  IPv4  33567      0t0  UDP DDBS-2U1.auto.intranet.ddbs.net:27015
srcds_lin 4825 steam    9u  IPv4  33570      0t0  TCP DDBS-2U1.auto.intranet.ddbs.net:27015 (LISTEN)

Since the huge update there's no srcds_i686, srcds_i486 and srcds_amd anymore. Just srcds_run and srcds_linux in the orangebox folder.
If you're still running the old binaries no-one will be able to connect to the server unless they didn't update.
Steam username for communication: root_admin (but i'm just a regular user)
Reply
#3
it should be +ip and -port, maybe that helps...
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)