Server failing to start (linux)
#1

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.
Reply
#2

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.
Reply
#3

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.
Reply
#4

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

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

Running as root user is a bad idea.
Reply
#7

Add a new user and host in that account?
Reply
#8

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

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)