GoldenEye: Source Forums

  • March 29, 2024, 01:28:34 am
  • Welcome, Guest
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: [Server] Debian 5 - srcds_run: line 372: 16417 Segmentation fault  (Read 7776 times)

0 Members and 1 Guest are viewing this topic.

osuper

  • Agent
  • *
  • Posts: 4
  • Reputation Power: 0
  • osuper has no influence.
  • Offline Offline

Hello everyone,

I'm trying to start a dedicated gesource server on my Linux (Debian 5) Server (hosted by www.ovh.com)
I've installed hlds and can start fine a Counter-Strike Source or HL2MP server.

But when I try to start a gesource server, I got this error:
./srcds_run: line 372: 16417 Segmentation fault


I paste to you a copy of my screen after entering the command:

Quote
ks35035:~/Source/orangebox# ./srcds_run -game gesource +map ge_runway +maxplayers 4


************** WARNING ***************
Running the dedicated server as root
is highly discouraged. It is generally
unnecessary to use root privileges to
execute the dedicated server.
**************************************


The server will continue to launch in 10 seconds\rThe server will continue to launch in 9 seconds\rThe server will continue to launch in 8 seconds\rThe server will continue to launch in 7 seconds\rThe server will continue to launch in 6 seconds\rThe server will continue to launch in 5 seconds\rThe server will continue to launch in 4 seconds\rThe server will continue to launch in 3 seconds\rThe server will continue to launch in 2 seconds\rThe server will continue to launch in 1 seconds\rAuto detecting CPU
Using default binary: ./srcds_linux
Server will auto-restart if there is a crash.
Using breakpad minidump system
Using breakpad crash handler

Console initialized.
./srcds_run: line 372: 16417 Segmentation fault      $HL_CMD
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Sun Feb 27 23:24:35 CET 2011: Server restart in 10 seconds



When I try to add -debug, the program doesn't create the log file.


I'm a bit lost,
I've searched another post for this problem and found nothing.

If anyone could help me, it'll very apreciate.
Thanks.
« Last Edit: February 27, 2011, 10:27:34 pm by osuper »
Logged

killermonkey

  • GES Programmer
  • Retired Lead Developer
  • GE:S Fanatic
  • *
  • Posts: 5,473
  • Reputation Power: 346
  • killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!
  • Offline Offline
    • DroidMonkey Apps
Re: [Server] Debian 5 - srcds_run: line 372: 16417 Segmentation fault
« Reply #1 on: February 27, 2011, 11:02:40 pm »

Follow the fixes in each of these threads and come back:

http://forums.goldeneyesource.net/index.php/topic,5932.0.html
http://forums.goldeneyesource.net/index.php/topic,5836.msg62066.html#msg62066

It really isn't a coincidence that all of the linux problems are arising from Debian Linux. I'll say it again: GoldenEye: Source only officially supports Ubuntu Linux.

For the record, comparing a mod's ability to run with two official releases (and totally different engines to boot) doesn't matter one bit.
« Last Edit: February 27, 2011, 11:07:04 pm by killermonkey »
Logged

VC

  • Valiant Varanidæ, Citrus Jockey
  • Retired Developer
  • GE:S Fanatic
  • *****
  • Posts: 2,843
  • Reputation Power: 16
  • VC is working their way up.VC is working their way up.VC is working their way up.
  • Offline Offline
Re: [Server] Debian 5 - srcds_run: line 372: 16417 Segmentation fault
« Reply #2 on: February 28, 2011, 06:48:11 am »

"problems are arising from Debian"
"officially supports Ubuntu Linux."

I received exactly one laugh from this.
Logged
"As for VC's scripts they have not broken the game at all, in fact the game has never felt better." -- KM
"(03:12:41 PM) KM: I would call you a no life loser, but you are useful"
"(03:12:59 PM) VC: Go ahead.  I am, and I am."

osuper

  • Agent
  • *
  • Posts: 4
  • Reputation Power: 0
  • osuper has no influence.
  • Offline Offline
Re: [Server] Debian 5 - srcds_run: line 372: 16417 Segmentation fault
« Reply #3 on: February 28, 2011, 10:04:15 am »

Hi, and thanks for your quick answer.

Like I said, I've made a search before posting.
So I've already done the things in this posts.

- Libcurl4 is installed (and my problem doesn't mention that is a lib issue ;s)
- I've used the last wiki to install hlds / gesource on my server (http://wiki.goldeneyesource.net/index.php/Beta4_Server_Install#GoldenEye_Source_v4.1_Server_Install_Linux)
- I use the orangebox (maybe the problem come from here ???)



Quote
"problems are arising from Debian"
- That was the distri what some professional websites advise to host HL2/CSS. (The reason why I choosed this one ;s)

Quote
"officially supports Ubuntu Linux."
- Yep, I've read that, but I can't change my distri only for Goldeneye Source, I think you understand that :/
( My Server isn't used only for gesource )

Any other idea ?
Thanks for your time.
Logged

killermonkey

  • GES Programmer
  • Retired Lead Developer
  • GE:S Fanatic
  • *
  • Posts: 5,473
  • Reputation Power: 346
  • killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!
  • Offline Offline
    • DroidMonkey Apps
Re: [Server] Debian 5 - srcds_run: line 372: 16417 Segmentation fault
« Reply #4 on: February 28, 2011, 12:42:48 pm »

What is on line 372 of srcds_run?

@VC: just because debian runs the same kernal as ubuntu doesn't mean it has the same libraries installed or available at fresh install. Especially in 64 bit environment.
Logged

osuper

  • Agent
  • *
  • Posts: 4
  • Reputation Power: 0
  • osuper has no influence.
  • Offline Offline
Re: [Server] Debian 5 - srcds_run: line 372: 16417 Segmentation fault
« Reply #5 on: February 28, 2011, 12:47:13 pm »

Quote
run() {
        # Runs the steam update and server
        # Loops if RESTART is set
        # Debugs if server failure is detected
        # Note: if RESTART is not set then
        # 1. DEBUG is set then the server is NOT exec'd
        # 2. DEBUG is not set the the server is exec'd

        if test -n "$RESTART" ; then
                echo "Server will auto-restart if there is a crash."

                #loop forever
                while true
                do
                        # Update if needed
                        update

                        # Run the server
                        $HL_CMD
                        retval=$?
                        if test $retval -eq 0 && test -z "$AUTO_UPDATE"; then
                                break; # if 0 is returned then just quit
                        fi

                        debugcore $retval

                        echo "`date`: Server restart in $TIMEOUT seconds"

                        # don't thrash the hard disk if the server dies, wait a little
                        sleep $TIMEOUT
                done # while true
        else
                # Update if needed
                update

                # Run the server
                if test -z "$DEBUG"; then
                        # debug not requested we can exec
                        exec $HL_CMD
                else
                        # debug requested we can't exec
                        $HL_CMD
                        debugcore $?
                fi
        fi
}


The line 372 is the function call "run()"  (the first line of the quote)
Logged

killermonkey

  • GES Programmer
  • Retired Lead Developer
  • GE:S Fanatic
  • *
  • Posts: 5,473
  • Reputation Power: 346
  • killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!
  • Offline Offline
    • DroidMonkey Apps
Re: [Server] Debian 5 - srcds_run: line 372: 16417 Segmentation fault
« Reply #6 on: March 01, 2011, 10:02:38 pm »

You are going to have to attempt more debugging steps then what you have done already. I can't help you one bit with the information you have provided thus far, sorry.

FWIW, do not run your server as root. Also, make sure your directories are setup correctly. AND, provided a print out of the ldd reports I told the other folks to do (link)
« Last Edit: March 01, 2011, 10:06:18 pm by killermonkey »
Logged

osuper

  • Agent
  • *
  • Posts: 4
  • Reputation Power: 0
  • osuper has no influence.
  • Offline Offline
Re: [Server] Debian 5 - srcds_run: line 372: 16417 Segmentation fault
« Reply #7 on: March 02, 2011, 12:18:15 pm »

Hi back killermonkey,

FWIW, I have create a new user, and now it works perfectly. :)
Trying to host a server as root was a very bad idea, sorry for that !

For informations: The server is running fine on Debian 5 (x86) 32Bits

Have a nice day littlemonkey =)
Logged
Pages: [1]   Go Up