Failed to load Mysql plugin
#1

I get this error on server log, and I run it on CentOS 6:
pawn Код:
[23:33:57] --- Server Shutting Down.

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

SA-MP Dedicated Server
----------------------
v0.3x-R2, (C)2005-2013 SA-MP Team

[23:34:15]
[23:34:15] Server Plugins
[23:34:15] --------------
[23:34:15]  Loading plugin: wp.so
[23:34:15]  
[23:34:15]  ==================
[23:34:15]  
[23:34:15]   Whirlpool loaded
[23:34:15]  
[23:34:15]  ==================
[23:34:15]  
[23:34:15]   Loaded.
[23:34:15]  Loading plugin: sscanf.so
[23:34:15]

[23:34:15]  ===============================

[23:34:15]       sscanf plugin loaded.    

[23:34:15]    (c) 2009 Alex "******" Cole

[23:34:15]    0.3d-R2 500 Players "dnee"

[23:34:15]  ===============================

[23:34:15]   Loaded.
[23:34:15]  Loading plugin: streamer.so
[23:34:15]

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

[23:34:15]   Loaded.
[23:34:15]  Loading plugin: mysql.so
[23:34:15]   Failed (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory)
[23:34:15]  Loading plugin: irc.so
[23:34:15]

*** IRC Plugin v1.4.1 by Incognito loaded ***

[23:34:15]   Loaded.
[23:34:15]  Loading plugin: GeoIP_Plugin.so
[23:34:15]   Failed (plugins/GeoIP_Plugin.so: cannot open shared object file: No such file or directory)
[23:34:15]  Loading plugin: nativechecker.so
[23:34:15]   Loaded.
[23:34:15]  Loaded 5 plugins.

[23:34:15]
[23:34:15] Filterscripts
[23:34:15] ---------------
[23:34:15]   Loaded 0 filterscripts.

[23:34:15]    Error: Function not registered: 'mysql_query'
[23:34:15]    Error: Function not registered: 'mysql_close'
[23:34:15]    Error: Function not registered: 'mysql_real_escape_string'
[23:34:15]    Error: Function not registered: 'mysql_store_result'
[23:34:15]    Error: Function not registered: 'mysql_num_rows'
[23:34:15]    Error: Function not registered: 'mysql_retrieve_row'
[23:34:15]    Error: Function not registered: 'mysql_fetch_int'
[23:34:15]    Error: Function not registered: 'mysql_free_result'
[23:34:15]    Error: Function not registered: 'mysql_fetch_row_format'
[23:34:15]    Error: Function not registered: 'mysql_fetch_field_row'
[23:34:15]    Error: Function not registered: 'GetCountryName'
[23:34:15]    Error: Function not registered: 'mysql_connect'
[23:34:15]    Error: Function not registered: 'mysql_ping'
[23:34:15]    Error: Function not registered: 'mysql_reconnect'
[23:34:15]    Error: Function not registered: 'mysql_insert_id'
[23:34:15] Script[gamemodes/vx-rp.amx]: Run time error 19: "File or function is not found"
[23:34:15] Number of vehicle models: 0
[23:34:30] --- Server Shutting Down.
[23:34:30]  
[23:34:30]  ====================
[23:34:30]  
[23:34:30]   Whirlpool unloaded
[23:34:30]  
[23:34:30]  ====================
[23:34:30]  
[23:34:30]

[23:34:30]  ===============================

[23:34:30]      sscanf plugin unloaded.    

[23:34:30]  ===============================

[23:34:30]

*** Streamer Plugin v2.6.1 by Incognito unloaded ***

[23:34:30]
*** IRC Plugin v1.4.1 by Incognito unloaded ***
Reply
#2

Do you even have the mysql plugin set up ?
Reply
#3

PHP код:
[23:34:15]   Failed (libmysqlclient_r.so.15cannot open shared object fileNo such file or directory
Reply
#4

Quote:
Originally Posted by Wizzy951
Посмотреть сообщение
Do you even have the mysql plugin set up ?
Yes.
Reply
#5

Quote:
Originally Posted by damian123
Посмотреть сообщение
Yes.
No, you haven't. As HardRock showed you, you don't have the libmysql.so file. It's the same about the GeoIP plugin.
Reply
#6

pawn Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3x-R2, (C)2005-2013 SA-MP Team

[23:51:50]
[23:51:50] Server Plugins
[23:51:50] --------------
[23:51:50]  Loading plugin: wp.so
[23:51:50]  
[23:51:50]  ==================
[23:51:50]  
[23:51:50]   Whirlpool loaded
[23:51:50]  
[23:51:50]  ==================
[23:51:50]  
[23:51:50]   Loaded.
[23:51:50]  Loading plugin: sscanf.so
[23:51:50]

[23:51:50]  ===============================

[23:51:50]       sscanf plugin loaded.    

[23:51:50]    (c) 2009 Alex "******" Cole

[23:51:50]    0.3d-R2 500 Players "dnee"

[23:51:50]  ===============================

[23:51:50]   Loaded.
[23:51:50]  Loading plugin: streamer.so
[23:51:50]

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

[23:51:50]   Loaded.
[23:51:50]  Loading plugin: mysql.so
[23:51:50]   Failed (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory)
[23:51:50]  Loading plugin: irc.so
[23:51:50]

*** IRC Plugin v1.4.1 by Incognito loaded ***

[23:51:50]   Loaded.
[23:51:50]  Loading plugin: libmysqlclient.so.15
[23:51:50]   Plugin does not conform to architecture.
[23:51:50]   Failed.
[23:51:50]  Loading plugin: nativechecker.so
[23:51:50]   Loaded.
[23:51:50]  Loaded 5 plugins.

[23:51:50]
[23:51:50] Filterscripts
[23:51:50] ---------------
[23:51:50]   Loaded 0 filterscripts.

[23:51:50]    Error: Function not registered: 'mysql_query'
[23:51:50]    Error: Function not registered: 'mysql_close'
[23:51:50]    Error: Function not registered: 'mysql_real_escape_string'
[23:51:50]    Error: Function not registered: 'mysql_store_result'
[23:51:50]    Error: Function not registered: 'mysql_num_rows'
[23:51:50]    Error: Function not registered: 'mysql_retrieve_row'
[23:51:50]    Error: Function not registered: 'mysql_fetch_int'
[23:51:50]    Error: Function not registered: 'mysql_free_result'
[23:51:50]    Error: Function not registered: 'mysql_fetch_row_format'
[23:51:50]    Error: Function not registered: 'mysql_fetch_field_row'
[23:51:50]    Error: Function not registered: 'mysql_connect'
[23:51:50]    Error: Function not registered: 'mysql_ping'
[23:51:50]    Error: Function not registered: 'mysql_reconnect'
[23:51:50]    Error: Function not registered: 'mysql_insert_id'
[23:51:50] Script[gamemodes/vx-rp.amx]: Run time error 19: "File or function is not found"
[23:51:50] Number of vehicle models: 0
Reply
#7

Install all of the files, recompile the script and the server should run normally.
Reply
#8

Should I also refer that plugin in server.cfg?
Reply
#9

Quote:
Originally Posted by damian123
Посмотреть сообщение
Should I also refer that plugin in server.cfg?
Well, you should do that for all of the plugins you are using.
Reply
#10

It still doesn't work, I also downloaded the package for CentOS 6 and all. What should I do now?
Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3x-R2, ©2005-2013 SA-MP Team

[00:10:03] 
[00:10:03] Server Plugins
[00:10:03] --------------
[00:10:03]  Loading plugin: wp.so
[00:10:03]  
[00:10:03]  ==================
[00:10:03]  
[00:10:03]   Whirlpool loaded
[00:10:03]  
[00:10:03]  ==================
[00:10:03]  
[00:10:03]   Loaded.
[00:10:03]  Loading plugin: sscanf.so
[00:10:03] 

[00:10:03]  ===============================

[00:10:03]       sscanf plugin loaded.     

[00:10:03]    © 2009 Alex "******" Cole

[00:10:03]    0.3d-R2 500 Players "dnee"

[00:10:03]  ===============================

[00:10:03]   Loaded.
[00:10:03]  Loading plugin: streamer.so
[00:10:03] 

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

[00:10:03]   Loaded.
[00:10:03]  Loading plugin: mysql.so
[00:10:03]   Failed (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory)
[00:10:03]  Loading plugin: irc.so
[00:10:03] 

*** IRC Plugin v1.4.1 by Incognito loaded ***

[00:10:03]   Loaded.
[00:10:03]  Loading plugin: libmysqlclient.so.15
[00:10:03]   Plugin does not conform to architecture.
[00:10:03]   Failed.
[00:10:03]  Loading plugin: nativechecker.so
[00:10:03]   Loaded.
[00:10:03]  Loaded 5 plugins.

[00:10:03] 
[00:10:03] Filterscripts
[00:10:03] ---------------
[00:10:03]   Loaded 0 filterscripts.

[00:10:03]    Error: Function not registered: 'mysql_query'
[00:10:03]    Error: Function not registered: 'mysql_close'
[00:10:03]    Error: Function not registered: 'mysql_real_escape_string'
[00:10:03]    Error: Function not registered: 'mysql_store_result'
[00:10:03]    Error: Function not registered: 'mysql_num_rows'
[00:10:03]    Error: Function not registered: 'mysql_retrieve_row'
[00:10:03]    Error: Function not registered: 'mysql_fetch_int'
[00:10:03]    Error: Function not registered: 'mysql_free_result'
[00:10:03]    Error: Function not registered: 'mysql_fetch_row_format'
[00:10:03]    Error: Function not registered: 'mysql_fetch_field_row'
[00:10:03]    Error: Function not registered: 'mysql_connect'
[00:10:03]    Error: Function not registered: 'mysql_ping'
[00:10:03]    Error: Function not registered: 'mysql_reconnect'
[00:10:03]    Error: Function not registered: 'mysql_insert_id'
[00:10:03] Script[gamemodes/vx-rp.amx]: Run time error 19: "File or function is not found"
[00:10:03] Number of vehicle models: 0
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)