Server crashing on startup - odd error? (linux)
#1

Whenever I launch the server, I get this error:

Quote:

f7599000-f759a000 rw-p 001a6000 08:05 3932475 /lib/i386-linux-gnu/libc-2.15.so
f759a000-f759d000 rw-p 00000000 00:00 0
f759d000-f75b9000 r-xp 00000000 08:05 3932450 /lib/i386-linux-gnu/libgcc_s.so.1
f75b9000-f75ba000 r--p 0001b000 08:05 3932450 /lib/i386-linux-gnu/libgcc_s.so.1
f75ba000-f75bb000 rw-p 0001c000 08:05 3932450 /lib/i386-linux-gnu/libgcc_s.so.1
f75bb000-f75e5000 r-xp 00000000 08:05 3932469 /lib/i386-linux-gnu/libm-2.15.so
f75e5000-f75e6000 r--p 00029000 08:05 3932469 /lib/i386-linux-gnu/libm-2.15.so
f75e6000-f75e7000 rw-p 0002a000 08:05 3932469 /lib/i386-linux-gnu/libm-2.15.so
f75e7000-f76bf000 r-xp 00000000 08:05 918663 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16
f76bf000-f76c0000 ---p 000d8000 08:05 918663 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16
f76c0000-f76c4000 r--p 000d8000 08:05 918663 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16
f76c4000-f76c5000 rw-p 000dc000 08:05 918663 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16
f76c5000-f76cd000 rw-p 00000000 00:00 0
f76cd000-f76e4000 r-xp 00000000 08:05 3932463 /lib/i386-linux-gnu/libpthread-2.15.so
f76e4000-f76e5000 r--p 00016000 08:05 3932463 /lib/i386-linux-gnu/libpthread-2.15.so
f76e5000-f76e6000 rw-p 00017000 08:05 3932463 /lib/i386-linux-gnu/libpthread-2.15.so
f76e6000-f76e8000 rw-p 00000000 00:00 0
f76e8000-f76eb000 r-xp 00000000 08:05 3932474 /lib/i386-linux-gnu/libdl-2.15.so
f76eb000-f76ec000 r--p 00002000 08:05 3932474 /lib/i386-linux-gnu/libdl-2.15.so
f76ec000-f76ed000 rw-p 00003000 08:05 3932474 /lib/i386-linux-gnu/libdl-2.15.so
f76ed000-f76f1000 rw-p 00000000 00:00 0
f76f1000-f76f8000 r-xp 00000000 08:05 3932465 /lib/i386-linux-gnu/librt-2.15.so
f76f8000-f76f9000 r--p 00006000 08:05 3932465 /lib/i386-linux-gnu/librt-2.15.so
f76f9000-f76fa000 rw-p 00007000 08:05 3932465 /lib/i386-linux-gnu/librt-2.15.so
f76fa000-f76fd000 rw-p 00000000 00:00 0
f76fd000-f76fe000 r-xp 00000000 00:00 0 [vdso]
f76fe000-f771e000 r-xp 00000000 08:05 3932464 /lib/i386-linux-gnu/ld-2.15.so
f771e000-f771f000 r--p 0001f000 08:05 3932464 /lib/i386-linux-gnu/ld-2.15.so
f771f000-f7720000 rw-p 00020000 08:05 3932464 /lib/i386-linux-gnu/ld-2.15.so
ffe75000-ffe96000 rw-p 00000000 00:00 0 [stack]
Aborted

Reply
#2

Any server logs?
And which plugins are you using?
Reply
#3

The server doesn't log anything unusual. It starts up normally, and then it just crashes. Nothing about the crash in the log though.. I'm using MySQL R34 (BlueG's), Whirlpool, sscanf and streamer
Reply
#4

Try crashdetect plugin: https://sampforum.blast.hk/showthread.php?tid=262796
Reply
#5

Okay, now I'm getting
Quote:

[debug] Server crashed while executing mgm.amx
[debug] Server crashed while executing mgm.amx

Apparently it's something in the script? It works perfectly fine on windows though.
Reply
#6

You didn't get any other information with [debug] prefix, did you? I've noticed that when it sends the message "[debug] Server crashed while executing ..." twice, it doesn't give the reason of the crash.

Try using debug info: https://github.com/Zeex/samp-plugin-...ith-debug-info
and if that doesn't help on getting more information about the crash, then I am not aware of it.

Just make sure you've created all the folders needed in scriptsfiles folder and that you've set the permissions correctly (scriptfiles folder must be readable and writeable and plugins folder must be executable).
Reply
#7

What is your Linux distro? I am running a test server on Kubuntu 12.04 LTS. All I did was download the linux server and tossed it into a directory. No big issues so far.

BTW you might find this handy, I wrote this bash script to run my server. If you don't use kdialog, you can always replace it with zenity.

Код:
#!/bin/bash
#
server_start() {
      #This is where my server is located.
      cd "/media/drive_d/samp03" 
      ./samp03svr
      } 
 
server_stop() {
      killall samp03svr
      } 
 
server_restart() {
      server_stop
      sleep 3
      server_start
      }
#Menu Dialog Displays Server Active or Not
SampAct=$(ps -A | grep "samp03svr" | grep -v grep | wc -l)
case $SampAct in 
    0) CmdOpt=`kdialog --radiolist "Server has Stopped" 1 "Start Server" on  2 "Reset Server" off 3 "Kill Server" off`
       ;;
    *) CmdOpt=`kdialog --radiolist "Server is Running" 1 "Start Server" on  2 "Reset Server" off 3 "Kill Server" off`
       ;;
esac

case $CmdOpt in
    1) server_start
       ;;
    2) server_restart
       ;;
    3) server_stop
       ;;
    *) exit
       ;;
esac
Reply
#8

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
You didn't get any other information with [debug] prefix, did you? I've noticed that when it sends the message "[debug] Server crashed while executing ..." twice, it doesn't give the reason of the crash.

Try using debug info: https://github.com/Zeex/samp-plugin-...ith-debug-info
and if that doesn't help on getting more information about the crash, then I am not aware of it.

Just make sure you've created all the folders needed in scriptsfiles folder and that you've set the permissions correctly (scriptfiles folder must be readable and writeable and plugins folder must be executable).
I managed to get the server started, but now whenever I login, it takes about 15 seconds for the server to crash, and all I get in the log regarding it, is one line of
Quote:

[debug] Server crashed while executing mgm.amx

EDIT: I also get another error in the terminal window: Segmentation fault



Quote:
Originally Posted by JoeMercury
Посмотреть сообщение
What is your Linux distro? I am running a test server on Kubuntu 12.04 LTS. All I did was download the linux server and tossed it into a directory. No big issues so far.

BTW you might find this handy, I wrote this bash script to run my server. If you don't use kdialog, you can always replace it with zenity.

Код:
#!/bin/bash
#
server_start() {
      #This is where my server is located.
      cd "/media/drive_d/samp03" 
      ./samp03svr
      } 
 
server_stop() {
      killall samp03svr
      } 
 
server_restart() {
      server_stop
      sleep 3
      server_start
      }
#Menu Dialog Displays Server Active or Not
SampAct=$(ps -A | grep "samp03svr" | grep -v grep | wc -l)
case $SampAct in 
    0) CmdOpt=`kdialog --radiolist "Server has Stopped" 1 "Start Server" on  2 "Reset Server" off 3 "Kill Server" off`
       ;;
    *) CmdOpt=`kdialog --radiolist "Server is Running" 1 "Start Server" on  2 "Reset Server" off 3 "Kill Server" off`
       ;;
esac

case $CmdOpt in
    1) server_start
       ;;
    2) server_restart
       ;;
    3) server_stop
       ;;
    *) exit
       ;;
esac
I'm using Ubuntu 12.04. I'll just stick to another method, thanks though :P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)