Linux server - "Segmentation fault" - 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: Linux server - "Segmentation fault" (
/showthread.php?tid=108713)
Linux server - "Segmentation fault" -
Striker_Moe - 15.11.2009
When starting up my linux test server, it works all fine. But as a player connects, the server just shuts down again, showing this message in the console:
Код:
root@XXXXXXXXXXXX:/home/samp/samp03# ./samp03svr
Started server on port: 1337, with maxplayers: 500 lanmode is OFF.
//Here I connected
Segmentation fault
Whats the problem?
Re: Linux server - "Segmentation fault" -
RoBo - 15.11.2009
Check the server log.. it's a problem with your script not the server if it crashes when a player connects.
Quote:
Originally Posted by _EminEm_
|
Don't post if you don't know what you're talking about.
Re: Linux server - "Segmentation fault" -
Striker_Moe - 15.11.2009
The log is not saying anything, thats the problem. You can see the regular player connect, and then the log ends, but the server shuts down.
The server files are copied from another server, so I can use the completely same setup as a test server. On my main server it works fine, on my test server it doesnt work (although It got the same files).
What the hell?
Re: Linux server - "Segmentation fault" -
RoBo - 15.11.2009
I'd guess something under OnPlayerConnect is causing it to crash.. also remember Linux is case-sensitive for filenames.
Re: Linux server - "Segmentation fault" -
iLinx - 16.11.2009
It could be the server files, maybe something got corrupted during the transfer.
Try reuploading the main server files (samp03svr etc), thats where i would start if i got a segmentation fault error
Re: Linux server - "Segmentation fault" -
elvago - 18.11.2009
You use the plugin to sampmySQL?