[Debian] Serveur qui crash
#1

Bonjour, je suis confrontй a un problиme assиs important avec Debian, j'ose йsperer que quelq'un sera me rйpondre.

Tout d'abord, je n'avais pas ce problиme sous Windows Server, mais ici Linux n'arrive pas a йcrire dans les fichiers logs, ce qui fait que dиs qu'un staff tape une commande loggй, crash.

Seriez vous me dire d'ou provient le problиme, serais-ce a cause du chmod des fichiers ?

Je prйcise qu'il sont йcrit sous la forme

"machin.log", sa peut venir de la aussi ?


Voici ma fonction de logs, mкme si elle fonctionne sous Windows :
[pawn]
stock log(string[])
{
new entry[200];
format(entry, sizeof(entry), "%s\r\n",string);
new File:hFile;
hFile = fopen("staff/log.log", io_append);
fwrite(hFile, entry);
fclose(hFile);
}
[/pawn]

Et ici les logs de crashdetect.so :
[html]
[15:26:50] [debug] #0 native fwrite () [0809aa10] from samp03svr
[15:26:50] [debug] #1 00153454 in ?? (0x0073eafc) from Dead-Rise.amx
[15:26:50] [debug] #2 001171c4 in public OnPlayerCommandText (0x00000000, 0x001169f4) from Dead-Rise.amx
[15:26:50] [debug] Native backtrace:
[15:26:50] [debug] #0 b682909b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[15:26:50] [debug] #1 b68242d2 in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[15:26:50] [debug] #2 b6824ebc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[15:26:50] [debug] #3 b6825366 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[15:26:50] [debug] #4 b6828cec in ?? () from plugins/crashdetect.so
[15:26:50] [debug] #5 b77fe600 in ?? ()
[15:26:50] [debug] #6 b7542667 in gsignal () from /lib/i386-linux-gnu/libc.so.6
[15:26:50] [debug] #7 b7545a52 in abort () from /lib/i386-linux-gnu/libc.so.6
[15:26:50] [debug] #8 b753b8f7 in __assert_fail () from /lib/i386-linux-gnu/libc.so.6
[15:26:50] [debug] #9 0809a63c in ?? () from samp03svr
[15:26:50] [debug] #10 0809aa9f in ?? () from samp03svr
[15:26:50] [debug] #11 08093d84 in ?? () from samp03svr
[15:26:50] [debug] #12 b6821b9c in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[15:26:50] [debug] #13 b6827d38 in ?? () from plugins/crashdetect.so
[15:26:50] [debug] #14 b682e1f8 in amx_Exec () from plugins/crashdetect.so
[15:26:50] [debug] #15 b6824218 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[15:26:50] [debug] #16 b6827aa9 in ?? () from plugins/crashdetect.so
[15:26:50] [debug] #17 080a3cb2 in ?? () from samp03svr
[15:26:50] [debug] #18 080af4e1 in ?? () from samp03svr
[15:26:50] [debug] #19 08071ac8 in ?? () from samp03svr
[15:26:50] [debug] #20 08071bc2 in ?? () from samp03svr
[15:26:50] [debug] #21 0807ba20 in ?? () from samp03svr
[15:26:50] [debug] #22 080acbfd in ?? () from samp03svr
[15:26:50] [debug] #23 080acda2 in ?? () from samp03svr
[15:26:50] [debug] #24 080a81ae in ?? () from samp03svr
[15:26:50] [debug] #25 b752ee16 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
[15:26:50] [debug] #26 0804b4a1 in ?? () from samp03svr

[/html]
Avez vous une idйe ?
Reply


Messages In This Thread
[FIXED][Debian] Serveur qui crash - by totalgaara - 15.04.2014, 13:18
Re : [Debian] Serveur qui crash - by Ramoboss - 15.04.2014, 14:01
Re : [Debian] Serveur qui crash - by totalgaara - 15.04.2014, 14:06
Re : [Debian] Serveur qui crash - by Clayt0n - 15.04.2014, 15:19
Re : [Debian] Serveur qui crash - by Sniki - 15.04.2014, 15:33
Re : [Debian] Serveur qui crash - by totalgaara - 15.04.2014, 15:51
Re : [Debian] Serveur qui crash - by Ramoboss - 15.04.2014, 15:52
Re : [Debian] Serveur qui crash - by Sniki - 15.04.2014, 15:52
Re : [Debian] Serveur qui crash - by totalgaara - 15.04.2014, 15:55
Re : [Debian] Serveur qui crash - by Ramoboss - 15.04.2014, 16:03

Forum Jump:


Users browsing this thread: 2 Guest(s)