errors at server starting
#1

hello all, i'm getting errors when i try to start my gamemode. all plugins loads, but, when gamemode loads, just getting error: FUNCTION NOT FOUND on different situations. my gamemode doesn't have any errors or warnings, plugins are loading properly, but now getting errors.
on localhost gamemode runs good, database is loaded in gm and connected, but i will leave the server_log.
Code:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[13:19:28] weburl = "www.sa-mp.com"  (string)
[13:19:28] 
[13:19:28] Server Plugins
[13:19:28] --------------
[13:19:28]  Loading plugin: audio.so
[13:19:28] 
*** Audio Plugin v0.4 by Incognito loaded ***

[13:19:28]   Loaded.
[13:19:28]  Loading plugin: crashdetecter.so
[13:19:28]   Failed (plugins/crashdetecter.so: cannot open shared object file: No such file or directory)
[13:19:28]  Loading plugin: dns.so
[13:19:28] 

*** DNS Plugin v2.4 by Incognito loaded ***

[13:19:28]   Loaded.
[13:19:28]  Loading plugin: mysql_static.so
[13:19:28]  >> plugin.mysql: R39-2 successfully loaded.
[13:19:28]   Loaded.
[13:19:28]  Loading plugin: nativechecker.so
[13:19:28]   Loaded.
[13:19:28]  Loading plugin: regex.so
[13:19:28] 

[13:19:28] ______________________________________

[13:19:28]  Regular Expression Plugin v0.2.1 loaded
[13:19:28] ______________________________________

[13:19:28]  By: Fro © Copyright <TBG> 2009-2011
[13:19:28] ______________________________________

[13:19:28]   Loaded.
[13:19:28]  Loading plugin: sscanf.so
[13:19:28] 

[13:19:28]  ===============================

[13:19:28]       sscanf plugin loaded.     

[13:19:28]          Version:  2.8.1        

[13:19:28]    © 2012 Alex "Y_Less" Cole  

[13:19:28]  ===============================

[13:19:28]   Loaded.
[13:19:28]  Loading plugin: streamer.so
[13:19:28] 

*** Streamer Plugin v2.8.2 by Incognito loaded ***

[13:19:28]   Loaded.
[13:19:28]  Loading plugin: whirlpool.so
[13:19:28]  
[13:19:28]  ==================
[13:19:28]  
[13:19:28]   Whirlpool loaded
[13:19:28]  
[13:19:28]  ==================
[13:19:28]  
[13:19:28]   Loaded.
[13:19:28]  Loaded 8 plugins.

[13:19:28] 
[13:19:28] Filterscripts
[13:19:28] ---------------
[13:19:28]   Loading filterscript 'ls_mall.amx'...
[13:19:28]   Loaded 1 filterscripts.

[13:19:28]    Error: Function not registered: 'SSCANF_Init'
[13:19:28]    Error: Function not registered: 'SSCANF_Join'
[13:19:28]    Error: Function not registered: 'SSCANF_Leave'
[13:19:28]    Error: Function not registered: 'sscanf'
[13:19:28]    Error: Function not registered: 'CreateDynamicObject'
[13:19:28]    Error: Function not registered: 'mysql_store_result'
[13:19:28]    Error: Function not registered: 'mysql_fetch_row'
[13:19:28]    Error: Function not registered: 'mysql_free_result'
[13:19:28]    Error: Function not registered: 'mysql_num_rows'
[13:19:28]    Error: Function not registered: 'CreateDynamicPickup'
[13:19:28]    Error: Function not registered: 'GetDynamicObjectPos'
[13:19:28]    Error: Function not registered: 'MoveDynamicObject'
[13:19:28]    Error: Function not registered: 'DestroyDynamicObject'
[13:19:28]    Error: Function not registered: 'sscanf'
[13:19:28]    Error: Function not registered: 'Streamer_TickRate'
[13:19:28]    Error: Function not registered: 'Streamer_CellDistance'
[13:19:28]    Error: Function not registered: 'CountDynamicCPs'
[13:19:28]    Error: Function not registered: 'mysql_real_escape_string'
[13:19:28]    Error: Function not registered: 'GetDynamicObjectRot'
[13:19:28]    Error: Function not registered: 'SetDynamicObjectPos'
[13:19:28]    Error: Function not registered: 'SetDynamicObjectRot'
[13:19:28]    Error: Function not registered: 'EditDynamicObject'
[13:19:28]    Error: Function not registered: 'mysql_fetch_int'
[13:19:28]    Error: Function not registered: 'mysql_fetch_field'
[13:19:28] Script[gamemodes/IBP.amx]: Run time error 19: "File or function is not found"
[13:19:28] Number of vehicle models: 0
so can you help me? please.
givin' rep+
Reply
#2

Update your sscanf and mysql plugins
Reply
#3

About nativechecker:
Quote:
Originally Posted by Wyu
View Post
IMPORTANT: In order to make it work correcly you must put it in the end of the plugins line of your server.cfg so it will be the last one, e.g. plugins sscanf streamer nativechecker.
About mysql: mysql_free_result was available in R5, R6 and R6-2 and you have loaded R39-2 so of course it won't going to work.
Reply
#4

Quote:
Originally Posted by Sunehildeep
View Post
Update your sscanf and mysql plugins
I tried this before sending this topic but nothing.


Quote:
Originally Posted by Konstantinos
View Post
About nativechecker:


About mysql: mysql_free_result was available in R5, R6 and R6-2 and you have loaded R39-2 so of course it won't going to work.
My host runs on Ubuntu so that those versions doesn't have extension for Ubuntu .
All plugins have been uploaded and properly work.
So streamer why can give errors?
R7 i think doesn't have mysql_free_result
Reply
#5

Quote:
Originally Posted by ImTouchk
View Post
My host runs on Ubuntu so that those versions doesn't have extension for Ubuntu .
I really doubt you'll find somebody to compile the plugin, such an old version, for Ubuntu. Best choice is upgrading to latest versions and update your scripts.

Quote:
Originally Posted by ImTouchk
View Post
All plugins have been uploaded and properly work.
So streamer why can give errors?
I quoted the author of nativechecker plugin for a reason. Read that important note and you'll understand why this happens.

Quote:
Originally Posted by ImTouchk
View Post
R7 i think doesn't have mysql_free_result
No, it does not.
Reply
#6

Quote:
Originally Posted by Konstantinos
View Post
I really doubt you'll find somebody to compile the plugin, such an old version, for Ubuntu. Best choice is upgrading to latest versions and update your scripts.


I quoted the author of nativechecker plugin for a reason. Read that important note and you'll understand why this happens.



No, it does not.
i putted it at final line and:
Code:
[14:13:07]    Error: Function not registered: 'mysql_store_result'
[14:13:07]    Error: Function not registered: 'mysql_fetch_row'
[14:13:07]    Error: Function not registered: 'mysql_free_result'
[14:13:07]    Error: Function not registered: 'mysql_num_rows'
[14:13:07]    Error: Function not registered: 'mysql_real_escape_string'
[14:13:07]    Error: Function not registered: 'mysql_fetch_int'
[14:13:07]    Error: Function not registered: 'mysql_fetch_field'
i don't know with what to replace to work like how was, there are some functions instead of those?
Reply
#7

[15:54:27] Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory)
getting this error, how i can fix?
Reply
#8

Quote:
Originally Posted by ImTouchk
View Post
[15:54:27] Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory)
getting this error, how i can fix?
I had the same problem yesterday, make sure that all files in your server folder are accessible by the user that runs the server (not the root).

If that won't work, and if you are using Debian 7. BlackBand03 had compiled the MySQL plugin for me specifically for Debian 7 and i might be able to send it to you.
Reply
#9

Quote:
Originally Posted by Codeah
View Post
I had the same problem yesterday, make sure that all files in your server folder are accessible by the user that runs the server (not the root).

If that won't work, and if you are using Debian 7. BlackBand03 had compiled the MySQL plugin for me specifically for Debian 7 and i might be able to send it to you.
i have a normal host with ubuntu, i don't know what accesses my client have
Reply
#10

Quote:
Originally Posted by ImTouchk
View Post
i have a normal host with ubuntu, i don't know what accesses my client have
Head into your server folder, and write

ls -l

Tell me what you get.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)