SA-MP Forums Archive
elping to open linux - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: elping to open linux (/showthread.php?tid=599175)



elping to open linux - skiplovebra - 22.01.2016

Segmentation fault
[root@localhost gm]# ./samp03svr

Started server on port: 7777, with maxplayers: 500 lanmode is OFF.

^Z
[1]+ Stopped ./samp03svr
[root@localhost gm]# ./samp03svr

Started server on port: 7777, with maxplayers: 500 lanmode is OFF.

Segmentation fault
[root@localhost gm]# ./samp03svr

Started server on port: 7777, with maxplayers: 500 lanmode is OFF.

*** glibc detected *** ./samp03svr: double free or corruption (!prev): 0x0d226bf8 ***
======= Backtrace: =========
/lib/libc.so.6(+0x70c81)[0xaedc81]
/lib/libc.so.6(+0x73601)[0xaf0601]
/lib/libc.so.6(fclose+0x14a)[0xadd70a]
./samp03svr[0x809bd64]
./samp03svr[0x80950e4]
./samp03svr[0x8096b85]
./samp03svr[0x80dfd62]
./samp03svr[0x8096a07]
./samp03svr[0x80a5632]
./samp03svr[0x80b1751]
./samp03svr[0x8071d38]
./samp03svr[0x8071e32]
./samp03svr[0x807bc50]
./samp03svr[0x80aed3d]
./samp03svr[0x80aef02]
./samp03svr[0x80aa13a]
/lib/libc.so.6(__libc_start_main+0xe6)[0xa93d36]
./samp03svr[0x804b4e1]
======= Memory map: ========
00185000-00211000 r-xp 00000000 fd:00 133169 /root/gm/plugins/streamer.so
00211000-00212000 rw-p 0008c000 fd:00 133169 /root/gm/plugins/streamer.so
00212000-00213000 rw-p 00000000 00:00 0
00213000-00218000 r-xp 00000000 fd:00 267272 /lib/libnss_dns-2.12.so
00218000-00219000 r--p 00004000 fd:00 267272 /lib/libnss_dns-2.12.so
00219000-0021a000 rw-p 00005000 fd:00 267272 /lib/libnss_dns-2.12.so
00286000-00365000 r-xp 00000000 fd:00 529970 /usr/lib/libstdc++.so.6.0.13
00365000-00369000 r--p 000de000 fd:00 529970 /usr/lib/libstdc++.so.6.0.13
00369000-0036a000 rw-p 000e2000 fd:00 529970 /usr/lib/libstdc++.so.6.0.13
0036a000-00371000 rw-p 00000000 00:00 0
004ac000-004b3000 r-xp 00000000 fd:00 267286 /lib/librt-2.12.so
004b3000-004b4000 r--p 00006000 fd:00 267286 /lib/librt-2.12.so
004b4000-004b5000 rw-p 00007000 fd:00 267286 /lib/librt-2.12.so
0066f000-0068c000 r-xp 00000000 fd:00 267237 /lib/libgcc_s-4.4.7-20120601.so.1
0068c000-0068d000 rw-p 0001d000 fd:00 267237 /lib/libgcc_s-4.4.7-20120601.so.1
0078b000-0078e000 r-xp 00000000 fd:00 267264 /lib/libdl-2.12.so
0078e000-0078f000 r--p 00002000 fd:00 267264 /lib/libdl-2.12.so
0078f000-00790000 rw-p 00003000 fd:00 267264 /lib/libdl-2.12.so
00796000-007ab000 r-xp 00000000 fd:00 267284 /lib/libresolv-2.12.so
007ab000-007ac000 ---p 00015000 fd:00 267284 /lib/libresolv-2.12.so
007ac000-007ad000 r--p 00015000 fd:00 267284 /lib/libresolv-2.12.so
007ad000-007ae000 rw-p 00016000 fd:00 267284 /lib/libresolv-2.12.so
007ae000-007b0000 rw-p 00000000 00:00 0
00844000-0085b000 r-xp 00000000 fd:00 267282 /lib/libpthread-2.12.so
0085b000-0085c000 r--p 00016000 fd:00 267282 /lib/libpthread-2.12.so
0085c000-0085d000 rw-p 00017000 fd:00 267282 /lib/libpthread-2.12.so
0085d000-0085f000 rw-p 00000000 00:00 0
008c8000-008f0000 r-xp 00000000 fd:00 267266 /lib/libm-2.12.so
008f0000-008f1000 r--p 00027000 fd:00 267266 /lib/libm-2.12.so
008f1000-008f2000 rw-p 00028000 fd:00 267266 /lib/libm-2.12.so
00a7d000-00c0d000 r-xp 00000000 fd:00 267258 /lib/libc-2.12.so
00c0d000-00c0e000 ---p 00190000 fd:00 267258 /lib/libc-2.12.so
00c0e000-00c10000 r--p 00190000 fd:00 267258 /lib/libc-2.12.so
00c10000-00c11000 rw-p 00192000 fd:00 267258 /lib/libc-2.12.so
00c11000-00c14000 rw-p 00000000 00:00 0
00d03000-00d12000 r-xp 00000000 fd:00 132171 /root/gm/plugins/sscanf.so
00d12000-00d13000 rw-p 0000e000 fd:00 132171 /root/gm/plugins/sscanf.so
00ddc000-00de5000 r-xp 00000000 fd:00 132175 /root/gm/plugins/whirlpool.so
00de5000-00de6000 rw-p 00008000 fd:00 132175 /root/gm/plugins/whirlpool.so
00e26000-00e32000 r-xp 00000000 fd:00 267274 /lib/libnss_files-2.12.so
00e32000-00e33000 r--p 0000b000 fd:00 267274 /lib/libnss_files-2.12.so
00e33000-00e34000 rw-p 0000c000 fd:00 267274 /lib/libnss_files-2.12.so
00f8a000-00f8b000 r-xp 00000000 00:00 0 [vdso]
00fac000-00fca000 r-xp 00000000 fd:00 267251 /lib/ld-2.12.so
00fca000-00fcb000 r--p 0001d000 fd:00 267251 /lib/ld-2.12.so
00fcb000-00fcc000 rw-p 0001e000 fd:00 267251 /lib/ld-2.12.so
00fcc000-011e1000 r-xp 00000000 fd:00 132166 /root/gm/plugins/mysql_static.so
011e1000-0121a000 rw-p 00214000 fd:00 132166 /root/gm/plugins/mysql_static.so
0121a000-012b7000 rw-p 00000000 00:00 0
08048000-08095000 r-xp 00000000 fd:00 133314 /root/gm/samp03svr
08095000-08097000 rwxp 0004d000 fd:00 133314 /root/gm/samp03svr
08097000-08180000 r-xp 0004f000 fd:00 133314 /root/gm/samp03svr
08180000-081a2000 rw-p 00138000 fd:00 133314 /root/gm/samp03svr
081a2000-081cd000 rw-p 00000000 00:00 0
08e15000-0d2d0000 rw-p 00000000 00:00 0 [heap]
e9f00000-ea000000 rw-p 00000000 00:00 0
ea043000-ea04e000 rw-p 00000000 00:00 0
ea04e000-ea04f000 ---p 00000000 00:00 0
ea04f000-eaa4f000 rw-p 00000000 00:00 0
eaa4f000-eaa50000 ---p 00000000 00:00 0
eaa50000-f497a000 rw-p 00000000 00:00 0
f4a0c000-f5eab000 rw-p 00000000 00:00 0
f5eac000-f6c00000 rw-p 00000000 00:00 0
f6c00000-f6c21000 rw-p 00000000 00:00 0
f6c21000-f6d00000 ---p 00000000 00:00 0
f6d2f000-f6d30000 ---p 00000000 00:00 0
f6d30000-f7733000 rw-p 00000000 00:00 0
f7735000-f7739000 rw-p 00000000 00:00 0
ffc80000-ffc95000 rw-p 00000000 00:00 0 [stack]
Aborted


Re: elping to open linux - Nightmares - 22.01.2016

This happened to me as well and I got mysql_static.so to fix it.


Re: elping to open linux - skiplovebra - 22.01.2016

Quote:
Originally Posted by Nightmares
Посмотреть сообщение
This happened to me as well and I got mysql_static.so to fix it.
R33 , R39 ?


Re: elping to open linux - skiplovebra - 22.01.2016

help

Started server on port: 7777, with maxplayers: 500 lanmode is OFF.

Segmentation fault


Re: elping to open linux - Sublime - 23.01.2016

how did you upload the files

64 bit os or 32 bit os


Re: elping to open linux - Sew_Sumi - 23.01.2016

Quote:
Originally Posted by Sublime
Посмотреть сообщение
how did you upload the files

64 bit os or 32 bit os
^^ and have you set the file permissions correctly for the user that's starting the server process.


Re: elping to open linux - SimplyFragHosting - 23.01.2016

Use mysql static builds as they contain the prerequired libs inside for the most part. (libmysqlclient15/16/17/18/18-dev etc) meaning it is more likely to work.

chmod 777 samp03svr announce samp-npc
./samp03svr

check server.cfg to ensure your loading plugins etc correctly.

If its a VPS then it will most likely require 64 bit due to parent machine having more than 8gb of RAM.

if non of the above fix the problem contact my skype: SimplyFragHosting