[URGENT HELP] Server Problem
#1

BIG THANKS TO TRUSERVE!!
SOLVED PROBLEM.
IVE MADE A TUTORIAL SO OTHERS DONT GET THE SAME PROBLEM. SEE:
http://forum.sa-mp.com/showthread.ph...51#post1197851


Hey All,

Recently bought a dedicated server for hosting my SA-MP server on (Beaver Weenis.)
Currently running CentOS 5.5 64Bit

When I run my server it shows up in the SA-MP client with correct Server Name and you can connect to it but the GameMode is Unknown. It works fine in Windows.

I've come to the conclusion that it is only loading information from the server.cfg and is infact running the basic SA-MP server just under my name and with my rcon password etc. (All other information stored in Server.cfg)

Under further inspection of our server_log

Code:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3c R2, ©2005-2011 SA-MP Team

[16:07:54] 
[16:07:54] Server Plugins
[16:07:54] --------------
[16:07:54]  Loading plugin: sscanf
[16:07:54]   Failed (plugins/sscanf: cannot open shared object file: No such file or directory)
[16:07:54]  Loading plugin: streamer
[16:07:54]   Failed (plugins/streamer: cannot open shared object file: No such file or directory)
[16:07:54]  Loaded 0 plugins.

[16:07:54] 
[16:07:54] Filter Scripts
[16:07:54] ---------------
[16:07:54]   Loading filter script 'GarHouse.amx'...
[16:07:54]   Loading filter script 'WeenisCash.amx'...
[16:07:54]   Loading filter script 'yrace.amx'...
[16:07:54] 
+--------------------------------+
[16:07:54] | Yagu's Race Filterscript v0.4a |
[16:07:54] +--------------LOADED------------+

[16:07:54]   Loading filter script 'WeenisWeapons.amx'...
[16:07:54] Weapons Saving Loaded.
[16:07:54]   Loading filter script 'WeenisTime.amx'...
[16:07:54]   Loading filter script 'GarStore.amx'...
[16:07:54]   Loading filter script 'WeenisWeaponMenu.amx'...
[16:07:54]   Loading filter script 'npc_record.amx'...
[16:07:54]   Loading filter script 'WeenisWeaponDrops.amx'...
[16:07:54] 
--------------------------------------
[16:07:54] [FS] WeaponDrop v1.0 by Jeffry loaded!
[16:07:54] --------------------------------------

[16:07:54]   Loading filter script 'JunkBuster.amx'...
[16:07:54] 

[16:07:54] [junkbuster] Current JunkBuster configuration:
[16:07:54] [junkbuster] - WeaponHack = 1
[16:07:54] [junkbuster] - MoneyHack = 1
[16:07:54] [junkbuster] - Jetpack = 0
[16:07:54] [junkbuster] - HealthHack = 1
[16:07:54] [junkbuster] - ArmourHack = 1
[16:07:54] [junkbuster] - DriveBy = 2
[16:07:54] [junkbuster] - Spam = 0
[16:07:54] [junkbuster] - CommandSpam = 0
[16:07:54] [junkbuster] - BadWords = 1
[16:07:54] [junkbuster] - CarJackHack = 1
[16:07:54] [junkbuster] - TeleportHack = 1
[16:07:54] [junkbuster] - MaxPing = 2000
[16:07:54] [junkbuster] - SpectateHack = 1
[16:07:54] [junkbuster] - Blacklist = 1
[16:07:54] [junkbuster] - IpBans = 1
[16:07:54] [junkbuster] - TempBans = 1
[16:07:54] [junkbuster] - SpawnKill = 3
[16:07:54] [junkbuster] - CapsLock = 1
[16:07:54] [junkbuster] - 3DSpeed = 0
[16:07:54] [junkbuster] - MaxSpeed = 230
[16:07:54] [junkbuster] - AdminImmunity = 1
[16:07:54] [junkbuster] - Advertisement = 1
[16:07:54] [junkbuster] - FreezeUpdate = 1
[16:07:54] [junkbuster] - SpawnTime = 10
[16:07:54] [junkbuster] - CheckpointTeleport = 1
[16:07:54] [junkbuster] - Airbreak = 1
[16:07:54] [junkbuster] - TankMode = 1
[16:07:54] [junkbuster] - WarnPlayers = 0
[16:07:54] [junkbuster] - SingleplayerCheats = 1
[16:07:54] [junkbuster] - MinFPS = 13
[16:07:54] [junkbuster] - DisableBadWeapons = 1
[16:07:54] [junkbuster] - CBug = 16
[16:07:54] [junkbuster] - AntiBugKill = 1
[16:07:54] [junkbuster] - NoReload = 20
[16:07:54] [junkbuster] - NoReloadForSawnOff = 4
[16:07:54] [junkbuster] - ActiveGMC = 2
[16:07:54] [junkbuster] - GMCBan = 0
[16:07:54] [junkbuster] - ServerSideHealth = 1
[16:07:54] [junkbuster] - CheckVMPos = 0
[16:07:54] [junkbuster] - QuickTurn = 1
[16:07:54] 

[16:07:54] [junkbuster] 1 IP-bans have been loaded.
[16:07:54] [junkbuster] 0 temporary bans have been loaded.
[16:07:54] [junkbuster] 3 whitelist entries have been loaded.
[16:07:54] [junkbuster] 0 blacklist entries have been loaded.
[16:07:54] [junkbuster] 15 bad words have been loaded.
[16:07:54] [junkbuster] 4 forbidden weapons have been loaded.
[16:07:54] [junkbuster] JunkBuster has been configurated.
[16:07:54] [junkbuster] JunkBuster has successfully been loaded.
[16:07:54]   Loading filter script 'weenisvehicleownership.amx'...
[16:07:54]   Loading filter script 'Weenishitlist.amx'...
[16:07:54]   Unable to load filter script 'Weenishitlist.amx'.
[16:07:54]   Loaded 11 filter scripts.

[16:07:54] Script[gamemodes/Weenis.amx]: Run time error 19: "File or function is not found"
[16:07:54] Number of vehicle models: 0

----------
It isnt finding my GameMode even though the .AMX exists.

It was compiled on Windows and I havent had any luck finding a Linux Distro Compatible Compiler.

It is also loading 2 plugins, streamer and sscanf and as seen in the server log its not finding them either. I have .so versions of the plugins in the correct folder.

Any help would be greatly appreciated as Ive got about 24 hours to cancel my Dedicated Server purchase if SA:MP wont run on it.

I also posted this in the other section.

Kind Regards,

Liam
Reply
#2

you are using Linux?
Reply
#3

Sometimes the '.amx' excists, but there's nothing in it, so if you check the memmory use of the '.amx' you'll see '0' .. Maybe that's your problem?
Reply
#4

Plugins are the problem.
pawn Code:
Loading plugin: sscanf
[16:07:54]   Failed (plugins/sscanf: cannot open shared object file: No such file or directory)
[16:07:54]  Loading plugin: streamer
[16:07:54]   Failed (plugins/streamer: cannot open shared object file: No such file or directory)
[16:07:54]  Loaded 0 plugins.
Reply
#5

No it's not, he is talking about that his gamemode isn't working -_-'

Quote:

[16:07:54] Script[gamemodes/Weenis.amx]: Run time error 19: "File or function is not found"
[16:07:54] Number of vehicle models: 0

It isnt finding my GameMode even though the .AMX exists.

Please stay focussed, and also reply usefull information!

(Let's wait for his reply..)
Reply
#6

pawn Code:
[16:07:54] Script[gamemodes/Weenis.amx]: Run time error 19: "File or function is not found"
[16:07:54] Number of vehicle models: 0
This means a file is missing.sscanf and streamer plugins are not working .Thats the reason why it is not working
Reply
#7

OK guys, sorry about the delay and thanks for trying to help me out.

Answers to your questions.

Yes I am running linux. I believe I stated Im running Centos 5.5, this is a linux distro.

The gamemode .AMX is 60KB whilst the .PWN is 54. I believe this is normal.

I think the problem is to do with the plugins as well, as I didnt compile the server with Linux Plugins even though they are there. I believe the problem is it is not compiled on a Linux OS rather compiled on my Windows machine and then copied over to my Linux Dedi.

Any ideas lads?

Apparently SA-MP only supports an outdated PAWN version which only runs on Windows.

My 2 options are either get a Windows Dedicated Server (Expensive, Grrr...) or figure out how this works. does anyone know someone who runs their SAMP server on Linux? Any of the forumgods got any clues? Id be happy to write a guide for everyone if someone can show me how to do it first.

Thanks.
Reply
#8

Code:
[16:07:54]  Loading plugin: sscanf
[16:07:54]   Failed (plugins/sscanf: cannot open shared object file: No such file or directory)
[16:07:54]  Loading plugin: streamer
[16:07:54]   Failed (plugins/streamer: cannot open shared object file: No such file or directory)
[16:07:54]  Loaded 0 plugins.
I assume you have the Linux/CentOS verison(s) of your plugins in the '/plugins' folder, if so you simply need to add .so into the config file so the config line will look like this.
Code:
plugins streamer.so sscanf.so
That should fix the 'cannot open shared object file: No such file or directory error' at the very least.
Reply
#9

TruServe = Absolute Legend. Thanks a bunch mate seems to be working like a dream now.

I owe you one!

And thanks also to everyone else.

Very Happy ATM haha. My Server IP is in my sig if you guys want to check it out. =]

=] =] =] =]

Thanks Again Truserve!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)