.:HyPeX:. Posted January 9, 2015 Posted January 9, 2015 (edited) Well this is quite weird, i cannot access the mysql from the same VPS but i can from my PC. I.e, i did the script in my PC, tested it and worked. Moved it to the VPS server, and the script fails. Tested aswell with localhost adress. (127.0.0.1). Still not working. What could cause this? PD: Its not a rights error, tested in both sides giving admin rights. Edited January 9, 2015 by Guest
.:HyPeX:. Posted January 9, 2015 Author Posted January 9, 2015 And what error does it give you? ERROR: Could not load root/mta-developingsw/mods/deathmatch/./dbconmy.so - libmysqlclient.so.16:cannot open shared object file: no such file or directory. Its a linux debian 3.2.54-2 x86_64 vps by the way.
.:HyPeX:. Posted January 9, 2015 Author Posted January 9, 2015 Do you have all the required files? The exact file is there..
Mizudori Posted January 9, 2015 Posted January 9, 2015 Do you have all the required files? The exact file is there.. Just past this 2 commands to your linux prompt and restart server. It's common mysql lib error for 64bit linux systems. wget [url=https://nightly.multitheftauto.com/files/x64/libmysqlclient.so]https://nightly.multitheftauto.com/files/x64/libmysqlclient.so[/url].16 cp libmysqlclient.so.16 /usr/lib/
.:HyPeX:. Posted January 9, 2015 Author Posted January 9, 2015 RROR: Could not load root/mta-developingsw/mods/deathmatch/./dbconmy.so - libmysqlclient.so.16: wrong ELF class: ELFCLASS64
Mizudori Posted January 9, 2015 Posted January 9, 2015 RROR: Could not load root/mta-developingsw/mods/deathmatch/./dbconmy.so - libmysqlclient.so.16: wrong ELF class: ELFCLASS64 You may delete the cp'ied libmysql befeore typing this commands apt-get update apt-get upgrade apt-get install libmysqlclient16
.:HyPeX:. Posted January 9, 2015 Author Posted January 9, 2015 RROR: Could not load root/mta-developingsw/mods/deathmatch/./dbconmy.so - libmysqlclient.so.16: wrong ELF class: ELFCLASS64 You may delete the cp'ied libmysql befeore typing this commands apt-get update apt-get upgrade apt-get install libmysqlclient16 How to? i'm not the main owner of the VPS nor the one who sets it up, and know some basic things like managing the servers, but not much more. (I got full acccess thought)
Mizudori Posted January 10, 2015 Posted January 10, 2015 (edited) just copy and paste cd /usr/lib/ rm -f libmysqlclient.so.16 <-- removes this file apt-get install libmysqlclient16 <-- this will install you the right lib if possible. It may not work cuz mta needs lib no 16 and this is rather old lib so updater may not have it in database Edited January 10, 2015 by Guest
.:HyPeX:. Posted January 10, 2015 Author Posted January 10, 2015 just copy and paste cd /usr/lib/ rm -f libmysqlclient.so.16 <-- removes this file apt-get install libmysqlclient16 <-- this will install you the right lib if possible. E: Unable to locate package libmysqlclient16
Mizudori Posted January 10, 2015 Posted January 10, 2015 just copy and paste cd /usr/lib/ rm -f libmysqlclient.so.16 <-- removes this file apt-get install libmysqlclient16 <-- this will install you the right lib if possible. E: Unable to locate package libmysqlclient16 Just try this wget [url=https://nightly.multitheftauto.com/files/libmysqlclient.so]https://nightly.multitheftauto.com/files/libmysqlclient.so[/url].16 cp libmysqlclient.so.16 /usr/lib/ The last time I gave you 64bit version apperently mta needs 32bit version of this lib. Here is more about your problem http://bugs.multitheftauto.com/view.php?id=8387
Mizudori Posted January 10, 2015 Posted January 10, 2015 it still gives the same error :& Suggest you to go this path cd /usr/lib/ Double check if file exist with ls remove if exist then this wget [url=https://nightly.multitheftauto.com/files/libmysqlclient.so]https://nightly.multitheftauto.com/files/libmysqlclient.so[/url].16 cp libmysqlclient.so.16 /usr/lib/ shut down srv mta and restart mta
Mizudori Posted January 10, 2015 Posted January 10, 2015 No problem mate, sometimes those things like to be a pain in the a** Good luck wkth your mysql adventure. It gets better later!
.:HyPeX:. Posted December 25, 2015 Author Posted December 25, 2015 Old topic but bumping since i had an issue setting up a new VPS, did the 32bit download of the file, now it gives the same error but ELFCLASS32?! Wth? I had the ELFCLASS64, so i downloaded the 32bit lib and now it gives error ELFCLASS32, its a debian 7 wheezy 64bit. EDIT: Apparently tried to re-download the 64bit lib and it worked now, but that info should be told, that now the 64bit lib works
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now