Posts: 8
Threads: 1
Joined: Jan 2010
Reputation:
0
Hi guys, I'm having an issue with getting a L4D2 server to load up, pretty much after i execute the ./srcds_run, the server prints
Console initialized
Segmentation Fault
Has this ever appeared before, if so what is the best way to go around and fix this issue?
BASIC INFO
Server OS: Ubuntu Server 64bit 9.04 (jaunty)
Processor: Intel Core 2 Quad Q9400 @ 2.66GHz
Ram:8GB
Game(s): L4D2 (l4d1 working)
Start Up Command: ./srcds_run -autoupdate -console -game left4dead2 +hostport 27017 +clientport 27080 +exec l4d2server.cfg +map c1m1_hotel
Admin Mods: NONE (2 fresh l4d2 installs tried)
Thanks for any help!
Regards
Rob
Posts: 504
Threads: 9
Joined: Oct 2009
Reputation:
3
apt-get update && apt-get upgrade
Later ./steam blababa -verify_all
To make sure you have latest working packages and verify all gamedata.
Also try starting the server only with ./scrds_run -game left4dead2 -ip youripnumber -port 27017
Not needed Parameters:
-console +hostport 27017 +clientport 27080 +map c1m1_hotel
Posts: 504
Threads: 9
Joined: Oct 2009
Reputation:
3
what is you startcommand? Still using
./srcds_run -autoupdate -console -game left4dead2 +hostport 27017 +clientport 27080 +exec l4d2server.cfg +map c1m1_hotel
?
I run: ./srcds_run -game left4dead2 -ip 123671276 -port 21010+## -fork 8 +exec server_fork_##.cfg
if I start forked servers and this for standalone:
./srcds_run -game left4dead2 -ip 21421412421 -port 21010
Thats all
Posts: 504
Threads: 9
Joined: Oct 2009
Reputation:
3
Forked server share the memory.and each instance eats up normal cpu. What happens if you start with ./srcds_run -game left4dead2 ?
Posts: 8
Threads: 1
Joined: Jan 2010
Reputation:
0
It still causes the segmentation fault immediatly
Posts: 8
Threads: 1
Joined: Jan 2010
Reputation:
0
actually, i cannot believe i missed it before - when running the update & upgrade it returns this after a while:
dpkg was interrupted, you must manually run "sudo dpkg --configure -a" to correct the problem
So i run that and it returns:
Processing triggers for initramsf-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.28.10-slabpreemptcore2
gzip; stdout: no space left on device
update-initramfs: failed for /boot/initrd.img-2.6.28.10-slabpreemptcore2
dpkg: subprocess post-installation script returned error exit status 1
There is atleast 60gb left on the HDD so i do not know why it says no space left on device
Regards
Rob
Posts: 504
Threads: 9
Joined: Oct 2009
Reputation:
3
A guess: Like most linux Distros ubuntu created several partitions like swap etc. The Partition which is used for the /boot diretory is full. Delete all not used kernel and try again.
Posts: 78
Threads: 9
Joined: Jan 2010
Reputation:
0
01-16-2010, 05:52 PM
(This post was last modified: 01-16-2010, 05:52 PM by 3choE.)
This usually associates with memory access.
As it is hard to tell from the given info, I got no good suggestion for you at the moment, but I would like to have you try to start L4D2 as su -, and see how it goes.
A less annoying signature... (link)
Posts: 504
Threads: 9
Joined: Oct 2009
Reputation:
3
Running servers as root is a bad idea. You can do it for testing ok but not for actually running.
df -h /boot
Will give you the usage of the used partition.
Posts: 8
Threads: 1
Joined: Jan 2010
Reputation:
0
Size: 92mb Used 69mb Avail 18mb
for the df -h /boot
I have tried running it under the actual root account before, doesn't make a difference
Posts: 504
Threads: 9
Joined: Oct 2009
Reputation:
3
Have you treid deleting not used kernels to free some space? and re run sudo dpkg --configure -a