NEED HELP to run server
#1

PHP Code:
----------
Loaded log file"server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team
[19:45:48filterscripts ""  (string)
[
19:45:48
[
19:45:48Server Plugins
[19:45:48] --------------
[
19:45:48]  Loading pluginmysql.so
[19:45:48]   Failed (/usr/lib/libstdc++.so.6version `GLIBCXX_3.4.15' not found (required by plugins/mysql.so))
[19:45:48]  Loading plugin: streamer.so
[19:45:48] 
*** Streamer Plugin v2.7.7 by Incognito loaded ***
[19:45:48]   Loaded.
[19:45:48]  Loading plugin: Whirlpool.so
[19:45:48]  
[19:45:48]  ==================
[19:45:48]  
[19:45:48]   Whirlpool loaded
[19:45:48]  
[19:45:48]  ==================
[19:45:48]  
[19:45:48]   Loaded.
[19:45:48]  Loading plugin: sscanf.so
[19:45:48] 
[19:45:48]  ===============================
[19:45:48]       sscanf plugin loaded.     
[19:45:48]          Version:  2.8.1        
[19:45:48]    © 2012 Alex "Y_Less" Cole  
[19:45:48]  ===============================
[19:45:48]   Loaded.
[19:45:48]  Loading plugin: nativechecker.so
[19:45:48]   Loaded.
[19:45:48]  Loaded 4 plugins.
[19:45:48] 
[19:45:48] Filterscripts
[19:45:48] ---------------
[19:45:48]   Loaded 0 filterscripts.
[19:45:49]    Error: Function not registered: 'mysql_tquery'
[19:45:49]    Error: Function not registered: 'cache_get_data'
[19:45:49]    Error: Function not registered: 'cache_get_row_int'
[19:45:49]    Error: Function not registered: 'cache_get_row_float'
[19:45:49]    Error: Function not registered: 'mysql_log'
[19:45:49]    Error: Function not registered: 'mysql_connect'
[19:45:49]    Error: Function not registered: 'mysql_errno'
[19:45:49]    Error: Function not registered: 'mysql_format'
[19:45:49]    Error: Function not registered: 'cache_get_field_content'
[19:45:49]    Error: Function not registered: 'cache_get_field_content_int'
[19:45:49]    Error: Function not registered: 'cache_insert_id'
[19:45:49] Script[gamemodes/grab.amx]: Run time error 19: "File or function is not found"
[19:45:49] Number of vehicle models: 0 
What error is that?
What i need to do to fix it.

I'm using Latest version of my sql which is R39-3. Using Centos r39-3.

- GCC 4.7
- centos 6.7
- MY SQL 5.5
Reply
#2

Use musql_static
Reply
#3

On plugins? And do i have to write mysql_static.so in server.cfg? can you explain a little bit more.
Reply
#4

Quote:
Originally Posted by sscarface
View Post
On plugins? And do i have to write mysql_static.so in server.cfg? can you explain a little bit more.
Not just write mysql_static.so but you've to place that plugin onto your plugins folder.
Reply
#5

First, search the forum and Download Mysql_Static . After that, Put MySql_Static.so in plugins folder. and include to the pawno includes folder. Then recompile script.
Reply
#6

I am using R39-3 which is latest version. There's no mysql_static for windows but have mysql_static.so for debain. Can you give me link. Thanks!
Reply
#7

Maybe this >> Click
Reply
#8

This is r8 which is old version as far as i know and i am using latest version which is r39-3.
Reply
#9

Quote:
Originally Posted by sscarface
View Post
This is r8 which is old version as far as i know and i am using latest version which is r39-3.
MySql Static version has been realised in R8 . there no more develope of that i think, If you don't want to use then talk to your server provider to update there lib for MySql
Reply
#10

Quote:
Originally Posted by SoFahim
View Post
Use musql_static
Yeah its right +1 i'm not pro in mySQL but i now mysql_static
[19:45:49] Error: Function not registered: 'mysql_tquery'
[19:45:49] Error: Function not registered: 'cache_get_data'
[19:45:49] Error: Function not registered: 'cache_get_row_int'
[19:45:49] Error: Function not registered: 'cache_get_row_float'
[19:45:49] Error: Function not registered: 'mysql_log'
[19:45:49] Error: Function not registered: 'mysql_connect'
[19:45:49] Error: Function not registered: 'mysql_errno'
[19:45:49] Error: Function not registered: 'mysql_format'
[19:45:49] Error: Function not registered: 'cache_get_field_content'
[19:45:49] Error: Function not registered: 'cache_get_field_content_int'
[19:45:49] Error: Function not registered: 'cache_insert_id'
[19:45:49] Script[gamemodes/grab.amx]: Run time error 19: "File or function is not found"
[19:45:49] Number of vehicle models: 0

but there are a 2nd problem

[19:45:48]
[19:45:48] Filterscripts
[19:45:48] ---------------
[19:45:48] Loaded 0 filterscripts.
Loaded 0 filterscripts do you have any filterscripts? When yes then configure your server.cfg please
Reply
#11

No, I don't have any filterscript. Everything in my gammode. I think its not from my files or plugins or anything.
Reply
#12

Quote:
Originally Posted by xRealC
View Post
Yeah its right +1 i'm not pro in mySQL but i now mysql_static
[19:45:49] Error: Function not registered: 'mysql_tquery'
[19:45:49] Error: Function not registered: 'cache_get_data'
[19:45:49] Error: Function not registered: 'cache_get_row_int'
[19:45:49] Error: Function not registered: 'cache_get_row_float'
[19:45:49] Error: Function not registered: 'mysql_log'
[19:45:49] Error: Function not registered: 'mysql_connect'
[19:45:49] Error: Function not registered: 'mysql_errno'
[19:45:49] Error: Function not registered: 'mysql_format'
[19:45:49] Error: Function not registered: 'cache_get_field_content'
[19:45:49] Error: Function not registered: 'cache_get_field_content_int'
[19:45:49] Error: Function not registered: 'cache_insert_id'
[19:45:49] Script[gamemodes/grab.amx]: Run time error 19: "File or function is not found"
[19:45:49] Number of vehicle models: 0

but there are a 2nd problem

[19:45:48]
[19:45:48] Filterscripts
[19:45:48] ---------------
[19:45:48] Loaded 0 filterscripts.
Loaded 0 filterscripts do you have any filterscripts? When yes then configure your server.cfg please
Need to Recompile the Script with the MySql Static includes. and also in server.cfg , need to put mysql_static.so ( mysql_static.dll for windows) by delete delete the mysql.so ( mysql.dll )
Reply
#13

Dude, I'm using mysql r39-3 which is latest version. There's no mysql_static for latest version i mean, for windows so i can re-compile my script.. I can't use r38 version. Can you find static version for mysql r39-3? Thanks
Reply
#14

You need to use a CentOS 6 version of the mySQL plugin. Try R39-2 CentOS6 which is mysql-r39-2-centos6.tar.gz this should fix the error and work completely fine. If it works this just means you need to manually compile R39-3 which can be pretty complicated or look for someone who has it complied. But R39-2 is still a reliable version.
Reply
#15

Actually, from starting i was using r39-3 and i hosted it before too but now i got a VPS so it wasn't working . But compiled it with R39-2 and worked and using R39-2 version.
Reply
#16

Quote:
Originally Posted by sscarface
View Post
Actually, from starting i was using r39-3 and i hosted it before too but now i got a VPS so it wasn't working . But compiled it with R39-2 and worked and using R39-2 version.
CentOS 7 mySQL runs different compared to the CentOS 6 as there is only 64bit therefore different libs and things are required and of course libs are updated with newer updates so your libs on CentOS 6 wouldn't include those updates, which means the plugin complied for CentOS 7 wouldn't work for CentOS 6.

I am glad to hear it's running though after my advice.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)