Debriefing > Questions, Help, & How To's

Ubuntu 16.04 x64 and Segmentation fault (core dumped)

(1/4) > >>

Haizen007:
Hi, I tried to solve it and I searched on the forum for a solution without success.
I can't even create a log file, I don't know why.


--- Quote ---Console initialized.
Segmentation fault (core dumped)
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem

--- End quote ---

Please, someone with better knowledge would be able to help me?  :D

my 007.sh

--- Code: ---
MALLOC_CHECK_=0 ./srcds_run -debug -game ./gesource/ +maxplayers 16 +map ge_temple_classic
--- End code ---

soupcan:
Typically the cause for this is you're missing some packages.

Paste the output of e.g.

--- Code: ---
ldd ./gesource/bin/server_i486.so
--- End code ---

Haizen007:

--- Code: ---
        linux-gate.so.1 =>  (0xf7710000)
        libz.so.1 => not found
        libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf62d2000)
        libldap_r-2.4.so.2 => not found
        librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf62c8000)
        libutil.so.1 => /lib/i386-linux-gnu/libutil.so.1 (0xf62c4000)
        libnsl.so.1 => /lib/i386-linux-gnu/libnsl.so.1 (0xf62a9000)
        steam_api_i486.so => not found
        tier0_i486.so => not found
        vstdlib_i486.so => not found
        libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf6131000)
        libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf60dc000)
        libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf60bf000)
        libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf5f08000)
        /lib/ld-linux.so.2 (0xf7711000)
        libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf5eeb000)

--- End code ---


--- Code: ---
root@vps6270:~# apt-get install libldap_r-2.4.so.2
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libldap_r-2.4.so.2
E: Couldn't find any package by glob 'libldap_r-2.4.so.2'
E: Couldn't find any package by regex 'libldap_r-2.4.so.2'
root@vps6270:~# apt-file search libldap_r-2.4.so.2
libldap-2.4-2: /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2
libldap-2.4-2: /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.5
root@vps6270:~#

--- End code ---

How do I install them?
Thank you!

soupcan:
The ones ending in _i486.so are distributed with the dedicated server and linked when you launch the server, so no need to worry about those.

For the others -- libz.so.1 and libldap_r-2.4.so.2 -- we can use apt-file to search for packages by the file names they provide (keeping in mind we want to install the 32-bit versions of these libraries).

--- Code: ---
$ apt-file find libldap_r-2.4.so.2
libldap-2.4-2: /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2
libldap-2.4-2: /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.5

$ apt-file find libz.so.1
lib32z1: /usr/lib32/libz.so.1
lib32z1: /usr/lib32/libz.so.1.2.8
libx32z1: /usr/libx32/libz.so.1
libx32z1: /usr/libx32/libz.so.1.2.8
libzadc1: /lib/x86_64-linux-gnu/genwqe/libz.so.1
zlib1g: /lib/x86_64-linux-gnu/libz.so.1
zlib1g: /lib/x86_64-linux-gnu/libz.so.1.2.8

--- End code ---

So, try this:


--- Code: ---
sudo apt install libldap-2.4-2:i386 lib32z1
--- End code ---

Haizen007:
Ok, thank you.
Now I was able to start the server.
I have to learn how to configure it, I just have a little notion about how.
Can I start the server in the background, like "autostart with the server" and without having to keep the putty open? Like others processes on Ubuntu.

Navigation

[0] Message Index

[#] Next page

Go to full version