SA-MP Dedicated Server ---------------------- v0.3.7-R2, ©2005-2015 SA-MP Team [25/05/2016 10:40:47] [25/05/2016 10:40:47] Server Plugins [25/05/2016 10:40:47] -------------- [25/05/2016 10:40:47] Loading plugin: crashdetect.so [25/05/2016 10:40:47] CrashDetect v4.13.1 is OK. [25/05/2016 10:40:47] Loaded. [25/05/2016 10:40:47] Loading plugin: streamer.so [25/05/2016 10:40:47] *** Streamer Plugin v2.6.1 by Incognito loaded *** [25/05/2016 10:40:47] Loaded. [25/05/2016 10:40:47] Loading plugin: sscanf.so [25/05/2016 10:40:47] [25/05/2016 10:40:47] =============================== [25/05/2016 10:40:47] sscanf plugin loaded. [25/05/2016 10:40:47] Version: 2.8.1 [25/05/2016 10:40:47] © 2012 Alex "******" Cole [25/05/2016 10:40:47] =============================== [25/05/2016 10:40:47] Loaded. [25/05/2016 10:40:47] Loading plugin: mysql.so [25/05/2016 10:40:47] Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory) [25/05/2016 10:40:47] Loading plugin: Whirlpool.so [25/05/2016 10:40:47] Failed (plugins/Whirlpool.so: cannot open shared object file: No such file or directory) [25/05/2016 10:40:47] Loaded 3 plugins. [25/05/2016 10:40:52] [25/05/2016 10:40:52] Filterscripts [25/05/2016 10:40:52] --------------- [25/05/2016 10:40:52] Loading filterscript 'yom_buttons.amx'... [25/05/2016 10:40:52] Loading filterscript 'anims.amx'... [25/05/2016 10:40:52] Loaded 2 filterscripts. [25/05/2016 10:40:52] [debug] Run time error 19: "File or function is not found" [25/05/2016 10:40:52] [debug] mysql_query [25/05/2016 10:40:52] [debug] mysql_real_escape_string [25/05/2016 10:40:52] [debug] mysql_connect [25/05/2016 10:40:52] [debug] mysql_debug [25/05/2016 10:40:52] [debug] mysql_store_result [25/05/2016 10:40:52] [debug] mysql_fetch_int [25/05/2016 10:40:52] [debug] mysql_free_result [25/05/2016 10:40:52] [debug] mysql_num_rows [25/05/2016 10:40:52] [debug] WP_Hash [25/05/2016 10:40:52] [debug] mysql_fetch_row_format [25/05/2016 10:40:52] [debug] mysql_retrieve_row [25/05/2016 10:40:52] [debug] mysql_fetch_field_row [25/05/2016 10:40:52] [debug] mysql_insert_id [25/05/2016 10:40:52] [debug] Run time error 19: "File or function is not found" [25/05/2016 10:40:52] [debug] mysql_query [25/05/2016 10:40:52] [debug] mysql_real_escape_string [25/05/2016 10:40:52] [debug] mysql_connect [25/05/2016 10:40:52] [debug] mysql_debug [25/05/2016 10:40:52] [debug] mysql_store_result [25/05/2016 10:40:52] [debug] mysql_fetch_int [25/05/2016 10:40:52] [debug] mysql_free_result [25/05/2016 10:40:52] [debug] mysql_num_rows [25/05/2016 10:40:52] [debug] WP_Hash [25/05/2016 10:40:52] [debug] mysql_fetch_row_format [25/05/2016 10:40:52] [debug] mysql_retrieve_row [25/05/2016 10:40:52] [debug] mysql_fetch_field_row [25/05/2016 10:40:52] [debug] mysql_insert_id [25/05/2016 10:40:52] Script[gamemodes/Stratum.amx]: Run time error 19: "File or function is not found" [25/05/2016 10:40:52] Number of vehicle models: 0 [25/05/2016 10:41:19] --- Server Shutting Down. [25/05/2016 10:41:19] [debug] Run time error 19: "File or function is not found" [25/05/2016 10:41:19] [debug] mysql_query [25/05/2016 10:41:19] [debug] mysql_real_escape_string [25/05/2016 10:41:19] [debug] mysql_connect [25/05/2016 10:41:19] [debug] mysql_debug [25/05/2016 10:41:19] [debug] mysql_store_result [25/05/2016 10:41:19] [debug] mysql_fetch_int [25/05/2016 10:41:19] [debug] mysql_free_result [25/05/2016 10:41:19] [debug] mysql_num_rows [25/05/2016 10:41:19] [debug] WP_Hash [25/05/2016 10:41:19] [debug] mysql_fetch_row_format [25/05/2016 10:41:19] [debug] mysql_retrieve_row [25/05/2016 10:41:19] [debug] mysql_fetch_field_row [25/05/2016 10:41:19] [debug] mysql_insert_id [25/05/2016 10:41:19] *** Streamer Plugin v2.6.1 by Incognito unloaded *** [25/05/2016 10:41:19] [25/05/2016 10:41:19] =============================== [25/05/2016 10:41:19] sscanf plugin unloaded. [25/05/2016 10:41:19] =============================== |
Failed (/lib/libmysqlclient_r.so.16: invalid ELF header) |
SA-MP Dedicated Server ---------------------- v0.3.7-R2, ©2005-2015 SA-MP Team [25/05/2016 11:00:44] [25/05/2016 11:00:44] Server Plugins [25/05/2016 11:00:44] -------------- [25/05/2016 11:00:44] Loading plugin: crashdetect.so [25/05/2016 11:00:44] CrashDetect v4.13.1 is OK. [25/05/2016 11:00:44] Loaded. [25/05/2016 11:00:44] Loading plugin: streamer.so [25/05/2016 11:00:44] *** Streamer Plugin v2.6.1 by Incognito loaded *** [25/05/2016 11:00:44] Loaded. [25/05/2016 11:00:44] Loading plugin: sscanf.so [25/05/2016 11:00:44] [25/05/2016 11:00:44] =============================== [25/05/2016 11:00:44] sscanf plugin loaded. [25/05/2016 11:00:44] Version: 2.8.1 [25/05/2016 11:00:44] © 2012 Alex "******" Cole [25/05/2016 11:00:44] =============================== [25/05/2016 11:00:44] Loaded. [25/05/2016 11:00:44] Loading plugin: mysql_static.so [25/05/2016 11:00:44] >> plugin.mysql: R33 successfully loaded. [25/05/2016 11:00:44] Loaded. [25/05/2016 11:00:44] Loading plugin: whirlpool.so [25/05/2016 11:00:44] [25/05/2016 11:00:44] ================== [25/05/2016 11:00:44] [25/05/2016 11:00:44] Whirlpool loaded [25/05/2016 11:00:44] [25/05/2016 11:00:44] ================== [25/05/2016 11:00:44] [25/05/2016 11:00:44] Loaded. [25/05/2016 11:00:44] Loaded 5 plugins. [25/05/2016 11:00:49] [25/05/2016 11:00:49] Filterscripts [25/05/2016 11:00:49] --------------- [25/05/2016 11:00:49] Loading filterscript 'yom_buttons.amx'... [25/05/2016 11:00:49] Loading filterscript 'anims.amx'... [25/05/2016 11:00:49] Loaded 2 filterscripts. [25/05/2016 11:00:49] [debug] Run time error 19: "File or function is not found" [25/05/2016 11:00:49] [debug] mysql_real_escape_string [25/05/2016 11:00:49] [debug] mysql_debug [25/05/2016 11:00:49] [debug] mysql_store_result [25/05/2016 11:00:49] [debug] mysql_fetch_int [25/05/2016 11:00:49] [debug] mysql_free_result [25/05/2016 11:00:49] [debug] mysql_num_rows [25/05/2016 11:00:49] [debug] mysql_fetch_row_format [25/05/2016 11:00:49] [debug] mysql_retrieve_row [25/05/2016 11:00:49] [debug] mysql_fetch_field_row [25/05/2016 11:00:49] [debug] mysql_insert_id [25/05/2016 11:00:49] [debug] Run time error 19: "File or function is not found" [25/05/2016 11:00:49] [debug] mysql_real_escape_string [25/05/2016 11:00:49] [debug] mysql_debug [25/05/2016 11:00:49] [debug] mysql_store_result [25/05/2016 11:00:49] [debug] mysql_fetch_int [25/05/2016 11:00:49] [debug] mysql_free_result [25/05/2016 11:00:49] [debug] mysql_num_rows [25/05/2016 11:00:49] [debug] mysql_fetch_row_format [25/05/2016 11:00:49] [debug] mysql_retrieve_row [25/05/2016 11:00:49] [debug] mysql_fetch_field_row [25/05/2016 11:00:49] [debug] mysql_insert_id [25/05/2016 11:00:49] Script[gamemodes/Stratum.amx]: Run time error 19: "File or function is not found" [25/05/2016 11:00:49] Number of vehicle models: 0 |
sudo apt-get update sudo apt-get install mysql-client
Wrong discussion (again...someone already posted linux os related problem in pawn discussion forum)
Anyway, avoid downloading packages with wget or anything like that unless you need/want to compile them yourself, if you do so keep track so you can uninstall them if you need. Instead use some of package manager (for example apt-get that comes by default). You installed mysql server but not mysql client (you need it to connect to mysql server) Code:
sudo apt-get update sudo apt-get install mysql-client |
Didn't worked. Should I try getting libmysqlclient_r.so.16 for Ubuntu 14.0 32 bits? Where and how ?
I've got libmysqlclient r so 16 and put it on /lib directory but it gives me this error on server_log.txt So I'm sure I downloaded the wrong compatibility libmysql which is only working on x64 Ubuntu 14, So I need libmysqlclient_r.so.16 for 32 bits Ubuntu, Thanks!!! 25/05/2016 11:44:19] Failed (libmysqlclient_r.so.16: wrong ELF class: ELFCLASS64) |
Didn't worked. Should I try getting libmysqlclient_r.so.16 for Ubuntu 14.0 32 bits? Where and how ?
I've got libmysqlclient r so 16 and put it on /lib directory but it gives me this error on server_log.txt So I'm sure I downloaded the wrong compatibility libmysql which is only working on x64 Ubuntu 14, So I need libmysqlclient_r.so.16 for 32 bits Ubuntu, Thanks!!! 25/05/2016 11:44:19] Failed (libmysqlclient_r.so.16: wrong ELF class: ELFCLASS64) |
sudo apt-get install mysql-client:i368
Well i dont think i can be much help except what i already posted.
Since you mentioned that you are on 32bit try forcing 32bit (but it actually should be by default) Code:
sudo apt-get install mysql-client:i368 |
root@vpsstratumrpcom:~# sudo apt-get install mysql-client E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Well i dont think i can be much help except what i already posted.
Since you mentioned that you are on 32bit try forcing 32bit (but it actually should be by default) Code:
sudo apt-get install mysql-client:i368 |
download and install this repo
http://dev.mysql.com/downloads/repo/apt/ when you install the 5.6 mySQL venison you can use apt-get install libmysqlclient16 and many others and this is the only official repo from MySQL themselves and will include all the latest updates. |
Hello , i just tried what you say on previous and here's what i get
Code:
root@vpsstratumrpcom:~# sudo apt-get install mysql-client E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? |
why do you want to chmod a file, let alone a plugin (that only needs to be read) to 755?
group/other do no need permission to 'execute' a plugin. a far better option would be 644 other than owner (use ls -l filename to find file owner), group/other only get read permissions. which is pretty ok and safe enough. follow this quote -------------- try and kill apt(-get) if it's running under background process ps aux | grep apt kill processidofapt if it's persistent, then try kill -9 or kill -KILL just wait out for a while n then do ^ if your earlier apt-get cmd still wont work |
root@vpsstratumrpcom:~# sudo apt-get install mysql-client:i368 Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package mysql-client root@vpsstratumrpcom:~#
root@vpsstratumrpcom:~# sudo apt-get install libmysqlclient16 Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libmysqlclient16 root@vpsstratumrpcom:~#
EDIT:
Hello, I wonder what is the mean of this? [25/05/2016 15:07:27] Loading plugin: mysql.so [25/05/2016 15:07:27] Failed (/usr/lib/libmysqlclient_r.so.16: file too short) This happens after i put libmysqlclient_r.so.16 in /usr/lib , /lib |
There is no libmysqlclient16 for Ubuntu 14.04, 32 or 64 bit. Upgrade your plugin to the latest version which uses libmysqlclient18, which is available for Ubuntu.
|