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 |
[debug] Server crashed while executing mgm.amx [debug] Server crashed while executing mgm.amx |
#!/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
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). |
[debug] Server crashed while executing mgm.amx |
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 |