Server Won't Load [HELP]
#1

Hey guys,

So my server doesn't want to start up, Im not sure what it is but someone did mention it could be the plugins, even when I updated them still no luck. Also could it be where I'm compiling the script?

This is what I'm getting:

Код:
 Plugin v2.8.2 by Incognito loaded ***
 
[21:15:46]   Loaded.
[21:15:46]  Loading plugin: Whirlpool.so
[21:15:46]   Failed (plugins/Whirlpool.so: invalid ELF header)
[21:15:46]  Loaded 3 plugins.
 
[21:15:46] 
[21:15:46] Filterscripts
[21:15:46] ---------------
[21:15:46]   Loaded 0 filterscripts.
 
[21:15:46]    Error: Function not registered: 'SSCANF_Init'
[21:15:46]    Error: Function not registered: 'SSCANF_Join'
[21:15:46]    Error: Function not registered: 'SSCANF_Leave'
[21:15:46]    Error: Function not registered: 'mysql_connect'
[21:15:46]    Error: Function not registered: 'mysql_errno'
[21:15:46]    Error: Function not registered: 'WP_Hash'
[21:15:46]    Error: Function not registered: 'mysql_tquery'
[21:15:46]    Error: Function not registered: 'cache_get_field_content'
[21:15:46]    Error: Function not registered: 'mysql_escape_string'
[21:15:46]    Error: Function not registered: 'cache_get_data'
[21:15:46]    Error: Function not registered: 'cache_affected_rows'
[21:15:46]    Error: Function not registered: 'cache_insert_id'
[21:15:46]    Error: Function not registered: 'IsValidDynamicObject'
[21:15:46]    Error: Function not registered: 'DestroyDynamicObject'
[21:15:46]    Error: Function not registered: 'CreateDynamicObject'
[21:15:46]    Error: Function not registered: 'GetDynamicObjectPos'
[21:15:46]    Error: Function not registered: 'IsValidDynamicMapIcon'
[21:15:46]    Error: Function not registered: 'DestroyDynamicMapIcon'
[21:15:46]    Error: Function not registered: 'SetDynamicObjectMaterial'
[21:15:46]    Error: Function not registered: 'SetDynamicObjectMaterialText'
[21:15:46]    Error: Function not registered: 'IsValidDynamic3DTextLabel'
[21:15:46]    Error: Function not registered: 'DestroyDynamic3DTextLabel'
[21:15:46]    Error: Function not registered: 'CreateDynamic3DTextLabel'
[21:15:46]    Error: Function not registered: 'IsValidDynamicPickup'
[21:15:46]    Error: Function not registered: 'DestroyDynamicPickup'
[21:15:46]    Error: Function not registered: 'CreateDynamicPickup'
[21:15:46]    Error: Function not registered: 'MoveDynamicObject'
[21:15:46]    Error: Function not registered: 'CreateDynamicMapIcon'
[21:15:46]    Error: Function not registered: 'cache_get_row'
[21:15:46]    Error: Function not registered: 'sscanf'
[21:15:46]    Error: Function not registered: 'cache_get_field_content_int'
[21:15:46]    Error: Function not registered: 'UpdateDynamic3DTextLabelText'
[21:15:46]    Error: Function not registered: 'EditDynamicObject'
[21:15:46]    Error: Function not registered: 'CreateDynamicPickupEx'
[21:15:46]    Error: Function not registered: 'CreateDynamicObjectEx'
[21:15:46]    Error: Function not registered: 'SetDynamicObjectPos'
[21:15:46]    Error: Function not registered: 'Streamer_ToggleIdleUpdate'
[21:15:46]    Error: Function not registered: 'SetDynamicObjectRot'
[21:15:46]    Error: Function not registered: 'AttachDynamicObjectToVehicle'
[21:15:46] Script[gamemodes/v0.20.amx]: Run time error 19: "File or function is not found"
[21:15:46] Number of vehicle models: 0
Reply
#2

First of all, loading nativechecker as the last plugin will get rid of those messages for plugins that have loaded correctly.

About whirlpool plugin, did you rename the .dll extension to .so? Download the correct one from here: https://github.com/eider96/Whirlpool_SA-MP/releases
Reply
#3

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
First of all, loading nativechecker as the last plugin will get rid of those messages for plugins that have loaded correctly.

About whirlpool plugin, did you rename the .dll extension to .so? Download the correct one from here: https://github.com/eider96/Whirlpool_SA-MP/releases
Okay I installed the correct whirlpool.so plugin, put nativechecker as last on the server.cfg but it still shows this:

Код:
DynamicObjectEx'
[21:15:46]    Error: Function not registered: 'SetDynamicObjectPos'
[21:15:46]    Error: Function not registered: 'Streamer_ToggleIdleUpdate'
[21:15:46]    Error: Function not registered: 'SetDynamicObjectRot'
[21:15:46]    Error: Function not registered: 'AttachDynamicObjectToVehicle'
[21:15:46] Script[gamemodes/v0.20.amx]: Run time error 19: "File or function is not found"
[21:15:46] Number of vehicle models: 0
[11:59:21] --- Server Shutting Down.
[11:59:21] 
 
[11:59:21]  ===============================
 
[11:59:21]      sscanf plugin unloaded.    
 
[11:59:21]  ===============================
 
[11:59:21] 
 
*** Streamer Plugin v2.8.2 by Incognito unloaded ***
 
 
----------
Loaded log file: "server_log.txt".
----------
 
SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team
 
[11:59:23] password = ""  (string)
[11:59:23] filterscripts = ""  (string)
[11:59:23] weburl = "www.sa-mp.com"  (string)
[11:59:23] gamemodetext = "Unknown"  (string)
[11:59:23] mapname = "San Andreas"  (string)
[11:59:23] 
[11:59:23] Server Plugins
[11:59:23] --------------
[11:59:23]  Loading plugin: crashdetect.so
[11:59:23]   Failed (/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by plugins/crashdetect.so))
[11:59:23]  Loading plugin: mysql.so
[11:59:23]   Failed (plugins/mysql.so: symbol __cxa_pure_virtual, version libmysqlclient_16 not defined in file libmysqlclient_r.so.16 with link time reference)
[11:59:23]  Loading plugin: sscanf.so
[11:59:23] 
 
[11:59:23]  ===============================
 
[11:59:23]       sscanf plugin loaded.     
 
[11:59:23]    © 2009 Alex "******" Cole
 
[11:59:23]    0.3d-R2 500 Players "dnee"
 
[11:59:23]  ===============================
 
[11:59:23]   Loaded.
[11:59:23]  Loading plugin: streamer.so
[11:59:23] 
 
*** Streamer Plugin v2.8.2 by Incognito loaded ***
 
[11:59:23]   Loaded.
[11:59:23]  Loading plugin: whirlpool.so
[11:59:23]  
[11:59:23]  ==================
[11:59:23]  
[11:59:23]   Whirlpool loaded
[11:59:23]  
[11:59:23]  ==================
[11:59:23]  
[11:59:23]   Loaded.
[11:59:23]  Loading plugin: nativechecker.so
[11:59:23]   Loaded.
[11:59:23]  Loaded 4 plugins.
 
[11:59:23] 
[11:59:23] Filterscripts
[11:59:23] ---------------
[11:59:23]   Loaded 0 filterscripts.
 
[11:59:23]    Error: Function not registered: 'mysql_connect'
[11:59:23]    Error: Function not registered: 'mysql_errno'
[11:59:23]    Error: Function not registered: 'mysql_tquery'
[11:59:23]    Error: Function not registered: 'cache_get_field_content'
[11:59:23]    Error: Function not registered: 'mysql_escape_string'
[11:59:23]    Error: Function not registered: 'cache_get_data'
[11:59:23]    Error: Function not registered: 'cache_affected_rows'
[11:59:23]    Error: Function not registered: 'cache_insert_id'
[11:59:23]    Error: Function not registered: 'cache_get_row'
[11:59:23]    Error: Function not registered: 'cache_get_field_content_int'
[11:59:23] Script[gamemodes/v0.20.amx]: Run time error 19: "File or function is not found"
[11:59:23] Number of vehicle models: 0
Reply
#4

****** about GLIBCXX_3.4.15, you'll find results.

About mysql, you'll need to install 32bit of the MySQL client package or use the static version (mysql_static.so).

Update sscanf.
Reply
#5

Still the same issue, I'm just starting to confuse myself, I updated all the plugins added them to server.cfg yet I'm still getting the same thing on the log:

Код:
affected_rows'
[12:12:19]    Error: Function not registered: 'cache_insert_id'
[12:12:19]    Error: Function not registered: 'cache_get_row'
[12:12:19]    Error: Function not registered: 'cache_get_field_content_int'
[12:12:19] Script[gamemodes/v0.20.amx]: Run time error 19: "File or function is not found"
[12:12:19] Number of vehicle models: 0
[12:12:40] --- Server Shutting Down.
[12:12:40] 
 
[12:12:40]  ===============================
 
[12:12:40]      sscanf plugin unloaded.    
 
[12:12:40]  ===============================
 
[12:12:40] 
 
*** Streamer Plugin v2.8.2 by Incognito unloaded ***
 
[12:12:40]  
[12:12:40]  ====================
[12:12:40]  
[12:12:40]   Whirlpool unloaded
[12:12:40]  
[12:12:40]  ====================
[12:12:40]  
 
----------
Loaded log file: "server_log.txt".
----------
 
SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team
 
[12:12:42] password = ""  (string)
[12:12:42] filterscripts = ""  (string)
[12:12:42] weburl = "www.sa-mp.com"  (string)
[12:12:42] gamemodetext = "Unknown"  (string)
[12:12:42] mapname = "San Andreas"  (string)
[12:12:42] 
[12:12:42] Server Plugins
[12:12:42] --------------
[12:12:42]  Loading plugin: crashdetect.so
[12:12:42]   Failed (/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by plugins/crashdetect.so))
[12:12:42]  Loading plugin: mysql.so
[12:12:42]   Failed (log-core.so: cannot open shared object file: No such file or directory)
[12:12:42]  Loading plugin: sscanf.so
[12:12:42] 
 
[12:12:42]  ===============================
 
[12:12:42]       sscanf plugin loaded.     
 
[12:12:42]          Version:  2.8.1        
 
[12:12:42]    © 2012 Alex "******" Cole  
 
[12:12:42]  ===============================
 
[12:12:42]   Loaded.
[12:12:42]  Loading plugin: streamer.so
[12:12:42] 
 
*** Streamer Plugin v2.8.2 by Incognito loaded ***
 
[12:12:42]   Loaded.
[12:12:42]  Loading plugin: whirlpool.so
[12:12:42]  
[12:12:42]  ==================
[12:12:42]  
[12:12:42]   Whirlpool loaded
[12:12:42]  
[12:12:42]  ==================
[12:12:42]  
[12:12:42]   Loaded.
[12:12:42]  Loading plugin: nativechecker.so
[12:12:42]   Loaded.
[12:12:42]  Loaded 4 plugins.
 
[12:12:42] 
[12:12:42] Filterscripts
[12:12:42] ---------------
[12:12:42]   Loaded 0 filterscripts.
 
[12:12:42]    Error: Function not registered: 'mysql_connect'
[12:12:42]    Error: Function not registered: 'mysql_errno'
[12:12:42]    Error: Function not registered: 'mysql_tquery'
[12:12:42]    Error: Function not registered: 'cache_get_field_content'
[12:12:42]    Error: Function not registered: 'mysql_escape_string'
[12:12:42]    Error: Function not registered: 'cache_get_data'
[12:12:42]    Error: Function not registered: 'cache_affected_rows'
[12:12:42]    Error: Function not registered: 'cache_insert_id'
[12:12:42]    Error: Function not registered: 'cache_get_row'
[12:12:42]    Error: Function not registered: 'cache_get_field_content_int'
[12:12:42] Script[gamemodes/v0.20.amx]: Run time error 19: "File or function is not found"
[12:12:42] Number of vehicle models: 0
Reply
#6

You can find log-core.so here: https://github.com/maddinat0r/samp-log-core/releases
Don't place it in plugins folder but where samp03svr is located.
Since there were code-break changes, you'll have to update your scripts too (won't take long): https://sampforum.blast.hk/showthread.php?tid=616103

As I told you about crashdetect, ****** it to see how to install libstdc++.so.6 to your machine.
Reply
#7

Fixed.

I just had to reinstall the plugins.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)