SA-MP Forums Archive
Error for running server - 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: Error for running server (/showthread.php?tid=579273)



Error for running server - keyvanik - 25.06.2015

Hi i want to run my server on ubuntu

i see these error on my server_log server run but not load gamemode

PHP код:
----------
Loaded log file"server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7, (C)2005-2015 SA-MP Team
[02:53:58password ""  (string)
[
02:53:58filterscripts ""  (string)
[
02:53:58
[
02:53:58Server Plugins
[02:53:58] --------------
[
02:53:58]  Loading plugincrashdetect.so
[02:53:58]   CrashDetect v4.15.1 is OK.
[
02:53:58]   Loaded.
[
02:53:58]  Loading pluginstreamer.so
[02:53:58
*** 
Streamer Plugin v2.7.6 by Incognito loaded ***
[
02:53:58]   Loaded.
[
02:53:58]  Loading pluginWhirlpool.so
[02:53:58]   Failed (plugins/Whirlpool.socannot open shared object fileNo such file or directory)
[
02:53:58]  Loading pluginnativechecker.so
[02:53:58]   Loaded.
[
02:53:58]  Loading pluginmysql.so
[02:53:58]   Failed (libmysqlclient_r.so.16cannot open shared object fileNo such file or directory)
[
02:53:58]  Loading pluginsampmysql.so
[02:53:58]   Failed (libmysqlclient.so.15cannot open shared object fileNo such file or directory)
[
02:53:58]  Loading pluginsscanf.so
[02:53:58
[
02:53:58]  ===============================
[
02:53:58]       sscanf plugin loaded.     
[
02:53:58]    (c2009 Alex "******" Cole
[02:53:58]  ===============================
[
02:53:58]   Loaded.
[
02:53:58]  Loaded 4 plugins.
[
02:53:58
[
02:53:58Filterscripts
[02:53:58] ---------------
[
02:53:58]   Loaded 0 filterscripts.
[
02:53:58]    Error: Function not registered'cache_get_row_count'
[02:53:58]    Error: Function not registered'cache_get_row'
[02:53:58]    Error: Function not registered'mysql_tquery'
[02:53:58]    Error: Function not registered'cache_get_row_int'
[02:53:58]    Error: Function not registered'cache_get_row_float'
[02:53:58]    Error: Function not registered'mysql_log'
[02:53:58]    Error: Function not registered'mysql_escape_string'
[02:53:58]    Error: Function not registered'mysql_query'
[02:53:58]    Error: Function not registered'cache_delete'
[02:53:58]    Error: Function not registered'mysql_connect'
[02:53:58]    Error: Function not registered'mysql_errno'
[02:53:58]    Error: Function not registered'cache_insert_id'
[02:53:58]    Error: Function not registered'mysql_close'
[02:53:58] [debugRun time error 19"File or function is not found"
[02:53:58] [debug]  cache_get_row_count
[02:53:58] [debug]  cache_get_row
[02:53:58] [debug]  mysql_tquery
[02:53:58] [debug]  cache_get_row_int
[02:53:58] [debug]  cache_get_row_float
[02:53:58] [debug]  mysql_log
[02:53:58] [debug]  mysql_escape_string
[02:53:58] [debug]  mysql_query
[02:53:58] [debug]  cache_delete
[02:53:58] [debug]  mysql_connect
[02:53:58] [debug]  mysql_errno
[02:53:58] [debug]  cache_insert_id
[02:53:58] [debug]  mysql_close
[02:53:58] [debugRun time error 19"File or function is not found"
[02:53:58] [debug]  cache_get_row_count
[02:53:58] [debug]  cache_get_row
[02:53:58] [debug]  mysql_tquery
[02:53:58] [debug]  cache_get_row_int
[02:53:58] [debug]  cache_get_row_float
[02:53:58] [debug]  mysql_log
[02:53:58] [debug]  mysql_escape_string
[02:53:58] [debug]  mysql_query
[02:53:58] [debug]  cache_delete
[02:53:58] [debug]  mysql_connect
[02:53:58] [debug]  mysql_errno
[02:53:58] [debug]  cache_insert_id
[02:53:58] [debug]  mysql_close
[02:53:58Script[gamemodes/rpg.amx]: Run time error 19"File or function is not found"
[02:53:58Number of vehicle models



Re: Error for running server - PeterJane - 25.06.2015

Add .so to the plugin name in server.cfg.

If it does not work, try moving things to another directory.


Re: Error for running server - keyvanik - 25.06.2015

Quote:
Originally Posted by PeterJane
Посмотреть сообщение
Add .so to the plugin name in server.cfg.

If it does not work, try moving things to another directory.
all have .so
why moving files?


Re: Error for running server - kyriakos587 - 25.06.2015

Use the latest version of libmysql


Re: Error for running server - Youssef221 - 25.06.2015

show me your server.cfg


Re: Error for running server - keyvanik - 25.06.2015

Quote:
Originally Posted by Youssef221
Посмотреть сообщение
show me your server.cfg
PHP код:
echo Executing Server Config...
lanmode 1
rcon_password hthtyhythtyhtrh43654364
maxplayers 300
port 7777
password 
hostname test
gamemode0 rpg
filterscripts
announce 0
query 1
weburl Www
.test.ir
maxnpc 0
plugins crashdetect
.so streamer.so Whirlpool.so nativechecker.so mysql.so libmysqlclient.so sampmysql.so sscanf.so
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
language English 



Re: Error for running server - PeterJane - 25.06.2015

Quote:
Originally Posted by keyvanik
Посмотреть сообщение
all have .so
why moving files?
Nevermind, for now.

Anyway check this out: http://forum.sa-mp.com/showpost.php?...&postcount=553

Which mysql plugin are you using? BlueG's or StrickenKid's?


Re: Error for running server - Youssef221 - 25.06.2015

PHP код:
[02:53:58]   Loaded
[
02:53:58]  Loading pluginWhirlpool.so 
[02:53:58]   Failed (plugins/Whirlpool.socannot open shared object fileNo such file or directory
[
02:53:58]  Loading pluginnativechecker.so 
[02:53:58]   Loaded
[
02:53:58]  Loading pluginmysql.so 
[02:53:58]   Failed (libmysqlclient_r.so.16cannot open shared object fileNo such file or directory
[
02:53:58]  Loading pluginsampmysql.so 
[02:53:58]   Failed (libmysqlclient.so.15cannot open shared object fileNo such file or directory
[
02:53:58]  Loading pluginsscanf.so 
[02:53:58
First, you need to check the name of "sampmysql.so" and "Whirlpool.so" and "mysql.so" if they written as exact as in your plugins folder, I mean the plugins' names in server.cfg must be very similar to the ones in plugins folder,

Second, nativechecker.so should be loaded as the last plugin to avoid "Function not registering".


Re: Error for running server - keyvanik - 25.06.2015

Quote:
Originally Posted by Youssef221
Посмотреть сообщение
PHP код:
[02:53:58]   Loaded
[
02:53:58]  Loading pluginWhirlpool.so 
[02:53:58]   Failed (plugins/Whirlpool.socannot open shared object fileNo such file or directory
[
02:53:58]  Loading pluginnativechecker.so 
[02:53:58]   Loaded
[
02:53:58]  Loading pluginmysql.so 
[02:53:58]   Failed (libmysqlclient_r.so.16cannot open shared object fileNo such file or directory
[
02:53:58]  Loading pluginsampmysql.so 
[02:53:58]   Failed (libmysqlclient.so.15cannot open shared object fileNo such file or directory
[
02:53:58]  Loading pluginsscanf.so 
[02:53:58
First, you need to check the name of "sampmysql.so" and "Whirlpool.so" and "mysql.so" if they written as exact as in your plugins folder, I mean the plugins' names in server.cfg must be very similar to the ones in plugins folder,

Second, nativechecker.so should be loaded as the last plugin to avoid "Function not registering".

these plugins with same name in plugins folder i dont know why cant read them


Re: Error for running server - Youssef221 - 25.06.2015

Re-Upload all these plugins, and make sure they are that they are for linux (they have .so).