SRCDS Steam group


Problem with L4D Server on FreeBSD 7
#1
I'm having trouble getting a Left 4 Dead server running on my BSD-box.
Crashes after connecting to the master server.

Here's the output:
Code:
[mikolan@filserver:srcds_l/l4d]$ ./srcds_run -debug                                                                                                                    [12-02 17:02]
Auto detecting CPU
Using AMD Optimised binary.
Enabling debug mode
Server will auto-restart if there is a crash.
#
#Console initialized.
#Game.dll loaded for "L4D - Normal"
Server is hibernating
ConVarRef test_progression_loop doesn't point to an existing ConVar
Game supporting (2) split screen players
maxplayers set to 14
Unknown command "r_decal_cullsize"
Unknown command "mat_bloom_scalefactor_scalar"
Network: IP unknown, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
---- Host_NewGame ----
Host_NewGame on map l4d_hospital01_apartment
ConVarRef room_type doesn't point to an existing ConVar
Executing dedicated server config file
Commentary: Loading commentary data from maps/l4d_hospital01_apartment_commentary.txt.
[S_API FAIL] SteamAPI_Init() failed; unable to update local steamclient. Continuing with current version anyway.
net.cpp (1275) : Assertion Failed: 0 == iRet
net.cpp (1286) : Assertion Failed: 0 == iRet
Adding master server 72.165.61.189:27011
Adding master server 68.142.72.250:27011
Sending heartbeat to master server...
Connection to Steam servers successful.
Alarm clock
cat: hlds.58793.pid: No such file or directory
email debug.log to linux@valvesoftware.com
Tue Dec  2 17:04:56 UTC 2008: Server restart in 10 seconds

The generated debug.log only says:
Code:
----------------------------------------------
CRASH: Tue Dec  2 17:04:56 UTC 2008
Start Line: ./srcds_i486 -debug -fork  +map l4d_hospital01_apartment -game left4dead
End of Source crash report
----------------------------------------------

Using gcc 4.2.1 and linux_base-fc8 for glibc

Using the generic BSD kernel.

My server.cfg can be found here:
http://mikolan.ath.cx/server.cfg

Any help is appreciated Smile
Reply
#2
Man I googled for a bit and came up with nothing. I would try an reinstall.
Reply
#3
Hi,

I suggest you to try another linux library (/compat/linux/lib)
My server work fine with FreeBSD 7.1RC1, GENERIC kernel, with Gentoo 2008.0 in /compat/linux.

Note : I use only 5 files in /compat/linux/lib :
Code:
# ls -la
-rwxr-xr-x   1 root  wheel   108996 Dec 10 15:27 ld-linux.so.2
-rwxr-xr-x   1 root  wheel  1237276 Dec 10 15:27 libc.so.6
-rwxr-xr-x   1 root  wheel     9612 Dec 10 15:27 libdl.so.2
-rwxr-xr-x   1 root  wheel   149256 Dec 10 15:27 libm.so.6
-rwxr-xr-x   1 root  wheel    84168 Dec 10 15:27 libpthread.so.0

# ldd srcds_i486
srcds_i486:
        libm.so.6 => /lib/libm.so.6 (0x28073000)
        libdl.so.2 => /lib/libdl.so.2 (0x2809a000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x2809e000)
        libc.so.6 => /lib/libc.so.6 (0x280b5000)
        /lib/ld-linux.so.2 (0x28055000)

If you need more details on my install scheme, just ask.

Have fun.
Reply
#4
Peex Wrote:Hi,

I suggest you to try another linux library (/compat/linux/lib)
My server work fine with FreeBSD 7.1RC1, GENERIC kernel, with Gentoo 2008.0 in /compat/linux.

Note : I use only 5 files in /compat/linux/lib :
Code:
# ls -la
-rwxr-xr-x   1 root  wheel   108996 Dec 10 15:27 ld-linux.so.2
-rwxr-xr-x   1 root  wheel  1237276 Dec 10 15:27 libc.so.6
-rwxr-xr-x   1 root  wheel     9612 Dec 10 15:27 libdl.so.2
-rwxr-xr-x   1 root  wheel   149256 Dec 10 15:27 libm.so.6
-rwxr-xr-x   1 root  wheel    84168 Dec 10 15:27 libpthread.so.0

# ldd srcds_i486
srcds_i486:
        libm.so.6 => /lib/libm.so.6 (0x28073000)
        libdl.so.2 => /lib/libdl.so.2 (0x2809a000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x2809e000)
        libc.so.6 => /lib/libc.so.6 (0x280b5000)
        /lib/ld-linux.so.2 (0x28055000)

If you need more details on my install scheme, just ask.

Have fun.

Help me me plz I cant run it why I have link to libs?

Code:
$ ldd srcds_i486
srcds_i486:
        libm.so.6 => /lib/obsolete/linuxthreads/libm.so.6 (0x28091000)
        libdl.so.2 => /lib/libdl.so.2 (0x280b8000)
        libpthread.so.0 => /lib/obsolete/linuxthreads/libpthread.so.0 (0x280bc000)
        libc.so.6 => /lib/obsolete/linuxthreads/libc.so.6 (0x2810f000)
        /lib/ld-linux.so.2 (0x28055000)

What I have to do? FreeBSD 7.1
Reply
#5
Hi,

First, you need to enable Linux compta.
-> You can use sysinstall (fresh install process).
-> Or configure manually this feature by adding a package and set some options.

Manual config example :

* Install a Linux distrib' (gentoo for example...)
cd /usr/ports/emulators/linux_dist-gentoo-stage3
make install clean
Note : Alternatively, you can also copy libm.so.6 libdl.so.2 libpthread.so.0 libc.so.6 ld-linux.so.2 in /compat/linux/lib. srcds_i486 don't need other file.

* Rebuild the kernel with these options :
options COMPAT_LINUX
options LINPROCFS
Note : Or simply enable the kernel module if you're using a Generic kernel
echo 'linux_enable="YES"' >> /etc/rc.conf

* Activate the proc fs support for Linux :
cp /etc/fstab /etc/fstab.dist
cat >> /etc/fstab << EOF
linproc /compat/linux/proc linprocfs rw 0 0
EOF
Note : Create these directories if necessary :
mkdir /compat/linux
mkdir /compat/linux/proc
mkdir /compat/linux/lib

* Add these sysctl to /etc/sysctl.conf :
mv /etc/sysctl.conf /etc/sysctl.conf.dist
cat >> /etc/sysctl.conf << EOF
compat.linux.osrelease=2.6.27
kern.ipc.maxsockbuf=524288
EOF

* Now, manually load the .ko Linux support, mount linproc and set the sysctl (or reboot your system).

* You can install Steam :
mkdir steam
cd steam
wget http://www.steampowered.com/download/hldsupdatetool.bin
chmod u+x hldsupdatetool.bin
./hldsupdatetool.bin
./steam -command update -game <yourGame> -dir .

Have fun.
Peex

PS : Excuse my English.
Reply
#6
also look for the timer of processes, often users on bsd hosts have excution timeout and the system kills the process
Linux IsiX 64 Generic Desktop ValHalla 2.6.33.4 x86_64
Intel Core 2 Duo T8400 4Gb Ram 40G SSD Intel
[Image: b_460x42_C000000-454234-696149-FFFFFF-FFF468-FFF468.png]
DoD 31 Comunity DoD 31 Spanish Comunity
Erste SS Panzer Grendier Division [DOD Clan]
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)