SA-MP Forums Archive
bash: ./samp03svr: Permission denied - 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: bash: ./samp03svr: Permission denied (/showthread.php?tid=434539)



Server Issues :( - KiiD - 03.05.2013

Hey I'm very noobie at setting up Linux servers as I go from scripting it on a Windows PC to Linux...
Anyway, I'm getting this error in the console.
It's hosted by HostSpree.net I've used them before and I'm happy with them, this is my 2nd server but I just cannot get around this error, could someone help me out?
-Thanks in advance!

That was fixed^^

New error:
pawn Код:
samp03svr: amx/amxfile.c:222: fputs_cell: Assertion `fp!=((void *)0)' failed.
As soon as somebody joins and types something into the chat, server crashes. Any help?


Re: bash: ./samp03svr: Permission denied - denom - 03.05.2013

Make sure to change the permissions to 755 or 777... forgot what command is it to enter in the terminal.. but i only remember chmod


Re: bash: ./samp03svr: Permission denied - Saurik - 03.05.2013

set the permission of the folder and file to 777. ****** how to do it.


Re: bash: ./samp03svr: Permission denied - KiiD - 03.05.2013

-edit-
alright, that didn't work.
Anybody else help me out please?
I'd like to get my server up and running..


Re: bash: ./samp03svr: Permission denied - KiiD - 03.05.2013

Now it has no error message in console but won't actually launch....?


Re: bash: ./samp03svr: Permission denied - ALBIN2009 - 03.05.2013

You can use sudo, for EX: sudo nohup ./samp03svr &

Why are u using the bash command??

Use nohup ./samp03svr &

This will make the server run in the backround

//Pm me and ill help you.


EDIT:

You can also read my guide for more info:

https://sampforum.blast.hk/showthread.php?tid=434520


Re: bash: ./samp03svr: Permission denied - KiiD - 03.05.2013

Quote:
Originally Posted by ALBIN2009
Посмотреть сообщение
-snip-
Yeah thanks, I've inboxed you
Did I mention that the server is hosted already? If not, well it is :P


Re: bash: ./samp03svr: Permission denied - KiiD - 03.05.2013

Why do I need to do all this extra stuff? Never had to last time, god damn. Is there anyone that actually knows what to do? D:


Re: bash: ./samp03svr: Permission denied - KiiD - 03.05.2013

Okay now that error is fixed, but I'm getting this now?!
pawn Код:
samp03svr: amx/amxfile.c:222: fputs_cell: Assertion `fp!=((void *)0)' failed.
It runs fine then when someone connects, login it's still fine.
But as soon as somebody types anything in, server crashes.

Help me please?


Re: bash: ./samp03svr: Permission denied - ColorHost-Kevin - 03.05.2013

Seems to be a script crash causing this.