Hlds

scrappy

Junior Member
Joined
Apr 19, 2009
Likes
0
#1
All commands to do with HLDS are followed by an error like :
./steam
Checking bootstrapper version ...
Segmentation fault
Any help on this?
Permissions are correct...
 

scrappy

Junior Member
Joined
Apr 19, 2009
Likes
0
#3
Thanks :) but,
[root@game-services cs1]# # ldd steam
[root@game-services cs1]# ./steam
Checking bootstrapper version ...
Segmentation fault
:(
 
Joined
Feb 18, 2009
Likes
0
#5
Don't type the "#" :)

The number symbol indicates a comment to the shell, and so it ignored your ldd command.

ldd prints out shared library dependencies. You should get output that looks something like this:

Code:
user@host:~> ldd /bin/ls
        linux-vdso.so.1 =>  (0x00007fff8c1fe000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f6d83d85000)
        libacl.so.1 => /lib64/libacl.so.1 (0x00007f6d83b7d000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f6d83824000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f6d83608000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f6d83f8e000)
        libattr.so.1 => /lib64/libattr.so.1 (0x00007f6d83403000)
ld.so is the dynamic linker/loader (sometimes referred to as the bootstrapper) and is responsible for resolving all external dependencies. It is loaded by the OS when you execute a binary. The bootstrapper referenced in the error output you posted may or may not refer to ld.so, and the segfault may or may not be related.

ldd will show you what ld.so will be looking for, and which libraries will be used to satisfy the binary's depencies. If ldd lists "not found" for a dependency, that would be a problem. If it's choosing a 32-bit library for a 64-bit binary (or vice versa), that could also be a problem.

Also... no offense intended... but if you don't know what a "#" does at a shell prompt, you probably shouldn't be logged in as root. Also, you should investigate what commands do (use "man [some_command]") before typing them in, lest some evil soul suggest you do an rm -rf / (don't do that, it would be bad).
 
Last edited:

scrappy

Junior Member
Joined
Apr 19, 2009
Likes
0
#6
ldd steam

ldd steam
libdl.so.2 => /lib/libdl.so.2 (0xb7fd9000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7fc5000)
libm.so.6 => /lib/libm.so.6 (0xb7fa0000)
libc.so.6 => /lib/libc.so.6 (0xb7e6d000)
/lib/ld-linux.so.2 (0xb7fe5000)

No offence taken, if you hadn't realised, i copied what you put on the fourms.
Yes, this is maybe my second time with ssh, this is the only problem I've had I can install applications such as 'ssh2' but this Segmentation fault Is annoying me...

Also I've been using hlds for some time now, before hand I had no problem with it, now the problemss just sprung on me...

Regards,
Alex Milsom
 
Joined
Feb 18, 2009
Likes
0
#7
I just grabbed a fresh copy of the installer from http://storefront.steampowered.com/download/hldsupdatetool.bin and I got a slightly different set of dependencies. I ran ./steam, it updated itself to version 34, and I was then was able to pull the game list (./steam -command list).

Try this version and see if it works. Fastest way to grab it would be to cd to your steam directory and run wget with the above URL.

You can verify whether or not the files are corrupted with md5sum:

Code:
user@host:~/download/steam> md5sum *
3d92b54b74387e3881b35b92d09d8e16  hldsupdatetool.bin
9e5a59d2aa5d266caa8d0a1e03b30aa6  readme.txt
fa1eda9c9cec9c88123e14acf40eb43d  steam
(please note, that is the updated (version 34) steam, not the one that comes in the hldsupdatetool.bin)
 

scrappy

Junior Member
Joined
Apr 19, 2009
Likes
0
#8
Same Old :(

Thanks again for the quick response.
[root@game-services cs2]# wget http://storefront.steampowered.com/download[root@game-services cs2]# ./hldsupdatetool.bin
[root@game-services cs2]# chmod +x hldsupdatetool.bin
[root@game-services cs2]# ./hldsupdatetool.bin
[root@game-services cs2]# (agreed the agreement 'yes')
[root@game-services cs2]# extracting steam.tar.Z...done
[root@game-services cs2]# chmod +x steam
[root@game-services cs2]# ./steam
Checking bootstrapper version ...
Segmentation fault

[root@game-services cs2]# ldd steam
libdl.so.2 => /lib/libdl.so.2 (0xb7fd9000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7fc5000)
libm.so.6 => /lib/libm.so.6 (0xb7fa0000)
libc.so.6 => /lib/libc.so.6 (0xb7e6d000)
/lib/ld-linux.so.2 (0xb7fe5000)

Regards,
Alex Milsom
 
Joined
Feb 18, 2009
Likes
0
#10
[root@game-services cs2]# md5sum
No Response, waited 2min's?
:sadface:
You have to tell md5sum which file to work on. If you don't give it a filename, it takes its input from stdin (your command prompt).

Try "md5sum steam"

While you're at it, run "uname -a" and "rpm -q glibc"
 

scrappy

Junior Member
Joined
Apr 19, 2009
Likes
0
#11
[root@game-services cs2]# md5sum steam
f7d7f698084e9b6aab9ebd80ca904f62 steam

[root@game-services cs2]# uname -a
Linux game-services.co.uk 2.6.9-023stab044.11-enterprise #1 SMP Sun Sep 30 12:15:39 MSD 2007 i686 i686 i386 GNU/Linux

[root@game-services cs2]# rpm -q glibc
glibc-2.4-11

Regards
Alex Milsom
 
Joined
Feb 18, 2009
Likes
0
#12
I'm suspicious of your libs... your glibc is 2.4, released back in 2006; I'm running 2.8. I know that hlds had probs with 2.3, but more recent versions of steam may require current glibc.

Considering how outdated your glibc is, I'd suggest running a full update on your OS.
 
Joined
Feb 18, 2009
Likes
0
#14
Depends on your service contract, I suppose... if they're responsible for OS updates then yes, you'll have to contact them.

Then again... considering you have root on the box, I guess they expect you to handle it yourself. :)
 

scrappy

Junior Member
Joined
Apr 19, 2009
Likes
0
#15
There not sure what the problem is either, and I've got other game servers running before hand, on the same system. There still running now, just when i try to use ./steam I'll get the segmentation fault....
 
Top Bottom