SA-MP Forums Archive
Hosting issue (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: Hosting issue (Linux) (/showthread.php?tid=470419)



Hosting issue (Linux) - bzwski - 17.10.2013

Hello,

I'm trying to run my gamemode in my server (linux) but for some reason it doesn't carry on the register system. However, I try it in lanmode (Windows) and it works fine. No compile errors.

I have updated plugins already.

.cfg files

linux
Код:
echo Executing Server Config...
lanmode 0
rcon_password 123
maxplayers 100
port 9933
hostname SA-MP 0.3 Server
gamemode0 LAPRP 1
filterscripts 
announce 0
query 1
weburl www.sa-mp.com
maxnpc 0
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
bind (hiding ip)
plugins streamer.so sscanf.so irc.so
windows
Код:
echo Executing Server Config...
lanmode 1
rcon_password 123
maxplayers 50
port 7777
hostname SA-MP 0.3 Server
gamemode0 LAPRP 1
filterscripts
plugins irc streamer sscanf
announce 0
query 1
chatlogging 0
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
I get to see this on both



However, my host gets stuck here



And in lanmode I can continue without any problem




Re: Hosting issue (Linux) - Plix - 17.10.2013

pm me your skype i can help you


Re: Hosting issue (Linux) - Superhot - 18.10.2013

Your gamemode needs MYSQL i think.


Re: Hosting issue (Linux) - Ayumi - 18.10.2013

Ask your host what operating system they have installed. CentOS based operating systems sometimes have different plugins in order to work-... So if you're on CentOS - go to the plugins page and check for the compatible plugins.

Also, in your /scriptfiles directory, ensure all of the files are there to write to (if applicable), as it won't generate the file itself.


Re: Hosting issue (Linux) - Sublime - 18.10.2013

You're sure that you didn't upload Windows .exe files on your Linux host?


Re: Hosting issue (Linux) - Sgt.TheDarkness - 18.10.2013

Quote:
Originally Posted by Sublime
Посмотреть сообщение
You're sure that you didn't upload Windows .exe files on your Linux host?



If he uploaded an .exe file to a LINUX host, the file would not be recognized by the OS; Thus stating that the file would not execute.

Certain UNIX operating systems require different dependencies for some of the .SO plugins to operate properly.

Post some logs of your server upon start-up from the Linux host!


Re: Hosting issue (Linux) - Sublime - 18.10.2013

It happens to me at random times, don't question me.

Is your saving system MySQL or y_ini?


Re: Hosting issue (Linux) - [FSaF]Jarno - 18.10.2013

Quote:
Originally Posted by Sgt.TheDarkness
Посмотреть сообщение



If he uploaded an .exe file to a LINUX host, the file would not be recognized by the OS; Thus stating that the file would not execute.

Certain UNIX operating systems require different dependencies for some of the .SO plugins to operate properly.

Post some logs of your server upon start-up from the Linux host!
He never said he had a commercial host, what if he has a computer in his home running debian/Ubuntu/Kubuntu/etc.? He most likely has WINE installed on it if that's the case, and the samp server executable actually DOES run under wine, just poorly.
We can't just "expect" he is doing everything the right way, if he would, we wouldn't be here trying to help him!

OT:
Can you post the server log? There might be stuff like "File or function not found" in there, that tends to happen with plugins...


Respuesta: Re: Hosting issue (Linux) - bzwski - 18.10.2013

Quote:
Originally Posted by Ayumi
Посмотреть сообщение
Ask your host what operating system they have installed. CentOS based operating systems sometimes have different plugins in order to work-... So if you're on CentOS - go to the plugins page and check for the compatible plugins.

Also, in your /scriptfiles directory, ensure all of the files are there to write to (if applicable), as it won't generate the file itself.
This made it, thank you guys.


It had nothing to do with plugins, server log was fine. I use Y_ini for saving.

I'm leaving this info just in case someone has the same problem.