Hosting issue (Linux)
#1

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

Reply
#2

pm me your skype i can help you
Reply
#3

Your gamemode needs MYSQL i think.
Reply
#4

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

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

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!
Reply
#7

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

Is your saving system MySQL or y_ini?
Reply
#8

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)