SA-MP Forums Archive
Server failing to start (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: Server failing to start (linux) (/showthread.php?tid=340389)



Server failing to start (linux) [FIXED] - Saurik - 07.05.2012

FIXED

Hello.

I've made a user in linux to run sa-mp but i keep getting an error when i try to run samp03svr.

error:
Код:
samp03svr: amx/amxfile.c:222: fputs_cell: Assertion `fp!=((void *)0)' failed.Aborted
The server runs fine and starts when it running from root.

I chmoded the folders and they are writable.
the user does have appropriate privileges set in sudoers


FIXED

Solution: CHMOD all files in scriptfiles and the scriptfiles folder.


Re: Server failing to start (linux) - V415 - 25.05.2012

We're getting this same bug:

samp03svr: amx/amxfile.c:222: fputs_cell: Assertion `fp!=((void *)0)' failed.
Game server has exited.

we've ensured all the directories and contents as specified have the necc. permissions but for some reason it still crashes.


Re: Server failing to start (linux) - Guest9328472398472 - 25.05.2012

This usually deals with the .amx file and how you have it configured in your server.cfg

EDIT: Try running it FROM root, if you also have it installed under the "root" directory only root will be able to run it correctly, I think so.


Re: Server failing to start (linux) - Ryan_Lar - 25.05.2012

Brandon Thank You Very much. We will post back and let you know the result.


Re: Server failing to start (linux) - V415 - 26.05.2012

We did a chmod and our current host is refusing to let us host it in the root.


Re: Server failing to start (linux) - mprofitt - 26.05.2012

Running as root user is a bad idea.


Re: Server failing to start (linux) - Samp_India - 26.05.2012

Add a new user and host in that account?


Re: Server failing to start (linux) - KiiD - 03.05.2013

Sorry for the bump, but I'm having the same issue?


Re: Server failing to start (linux) - rezaabbasi - 17.07.2016

Quote:

chmod -R 7777 /home/reza/samp03
chmod -R 7777 /home/reza/samp03/scriptfiles
chmod -R 7777 /home/reza/samp03/scriptfiles/accounts
chmod -R 7777 /home/reza/samp03/scriptfiles/eAdmin
chmod -R 7777 /home/reza/samp03/scriptfiles/eAdmin/Logs
chmod -R 7777 /home/reza/samp03/scriptfiles/eAdmin/Config
chmod -R 7777 /home/reza/samp03/filterscripts
chmod -R 7777 /home/reza/samp03/plugins
chmod -R 7777 /home/reza/samp03/npcmodes
chmod -R 7777 /home/reza/samp03/gamemodes
chmod -R 7777 /home/reza/samp03/include

note: the -r will chmod all of the folder and subdics but it wont chmod subdics files