SA-MP Forums Archive
Server can't start on Linux - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Server can't start on Linux (/showthread.php?tid=491697)



Server can't start on Linux - anou1 - 31.01.2014

Hi,


I tried to start my server on Linux CentOS 64 bits, so I uploaded all my files + uploaded all linux plugins, include .so in server.cfg. I uploaded the same .amx Gamemode file.

But I can't start my server, it doesn't load any plugins and give me this error:

Код:
[21:27:12] Script[gamemodes/Beta.amx]: Run time error 19: "File or function is not found"
I have "Unknown" as Mode.
Anyone knows how to solve this please ?

PS: I tried to re-compile ofc.


Server.cfg:

echo Executing Server Config...
lanmode 0
rcon_password *******************
maxplayers 30
port 8057
hostname ApprendScript
gamemode0 Beta 1
filterscripts
announce 0
query 1
chatlogging 1
weburl
onfoot_rate 40
incar_rate 40
weapon_rate 100
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
Plugins mysql.so sscanf.so streamer.so Whirlpool.so





SA-MP Dedicated Server
----------------------
v0.3z-RC4, ©2005-2014 SA-MP Team

[21:27:11] filterscripts = "" (string)
[21:27:11] weburl = "www.sa-mp.com"; (string)
[21:27:11]
[21:27:11] Server Plugins
[21:27:11] --------------
[21:27:11] Loaded 0 plugins.

[21:27:12]
[21:27:12] Filterscripts
[21:27:12] ---------------
[21:27:12] Loaded 0 filterscripts.

[21:27:12] Script[gamemodes/Beta.amx]: Run time error 19: "File or function is not found"
[21:27:12] Number of vehicle models: 0



But on Windows, alll work fine with the same .amx file and with windows DLL's.

I never tried with 0.3x on Linux but it should work in 0.3z RC4 too no ?

Thank you, and sorry if I posted in the wrong place.


Re: Server can't start on Linux - sampreader - 31.01.2014

Plugins mysql.so sscanf.so streamer.so Whirlpool.so



[21:27:11] Loaded 0 plugins.

put plugins in folder


Re: Server can't start on Linux - anou1 - 31.01.2014

Already guy ^^


Re: Server can't start on Linux - Memoryz - 31.01.2014

Change:

Код:
Plugins mysql.so sscanf.so streamer.so Whirlpool.so
to

Код:
plugins mysql.so sscanf.so streamer.so Whirlpool.so
These are ALL CASE SENSITIVE ON A *NIX MACHINE, so make sure they are the right case!


Re: Server can't start on Linux - anou1 - 31.01.2014

PROBLEM SOLVED.

Thank you, and sorry for the disturbance.