xcrapy 0 Posted February 20, 2022 Share Posted February 20, 2022 (edited) hi guys , i try to install tmp4 server file on a vps and i receive an error https://metin2.download/picture/p2jb7TnlOW61UD4or9WmnQoNid38895J/.jpg Edited September 4, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
duwen123 48 Posted February 20, 2022 Share Posted February 20, 2022 Hello! I had your problem too, when I was trying to prepare FreeBSD for the Metin2 server. The most important thing when you are missing libs from VPS is not to manually add the libs you need! To install the required libs, you will need to run one of the following commands from the Putty console: pkg install misc/compat9x or pkg install compat9x-amd64 after try this (not necessary): cd /usr/ports/misc/compat9x/ && make install clean I hope that helped Optional documentation about compat9x package: click here If you fail to solve the problem with the solution offered above, I will leave you a tutorial (copy-paste) from another forum that helped me. To follow this tutorial, I strongly recommend that you reinstall your VPS operating system. I use FreeBSD 11.0 - 64bit for the VPS where I keep the online server for players, and I compile the sources on FreeBSD 9.2 - 64bit. Thus, by installing the necessary libs on VPS, I can use legacy binaries that depend on them. The tutorial: Spoiler [How To] Prepare FreeBSD for Metin2 (tutorial from 2014, so you might need to search a few thing online for the current year) Hi, since many people had troubles with outdated or plain wrong tutorials, I am writing a new one on how to prepare your Metin2 dedicated or VPS to run any kind of Metin2 files. The first thing we should do is update our operating system to the latest version: freebsd-update fetch install Note: If you get a warning about End Of Life, consider upgrading to the most recent supported version (8.4, 9.3 or 10.1). If you have FreeBSD 8.2 for example, you can upgrade to 8.4 with: freebsd-update upgrade -r 8.4-RELEASE Now we are going to extract or update the ports, depending on whether you extracted them before or not, you have to run either of these commands: portsnap fetch extract if it's the first time, or: portsnap fetch update if it's not the first time you download ports. Now it's time to install mysql 5.6, the most recent version, as it performs better than the older ones. pkg install mysql56-server Note: If this command fails for you, you need to install the pkg tool: cd /usr/ports/ports-mgmt/pkg make install UPGRADEPKG=1 clean pkg2ng Next we add it to start on boot: echo "mysql_enable=YES" >> /etc/rc.conf And start MySQL server: service mysql-server start After uploading your database, give the correct permissions and upgrade your tables to the server's version: chown -R mysql /var/db/mysql mysql_upgrade Optional Running old files Install the compatibility packages to use games compiled for old versions of FreeBSD. cd /usr/ports/misc/compat7x make install clean We can install the compat8x, compat9x, etc. if we need compatibility with those operating systems in a newer version. Library errors are often solved by installing these packages. Installing python for qc pkg install python OVH Kimsufi, SoYouStart and OVH dedicated servers use some custom installation of FreeBSD and will throw an error when trying to run or install MySQL. You need to rebuild the password database to fix it with this command: pwd_mkdb -p /etc/master.passwd 23 1 9 2 8 Link to comment Share on other sites More sharing options...
xcrapy 0 Posted February 20, 2022 Author Share Posted February 20, 2022 23 minutes ago, duwen123 said: Hello! I had your problem too, when I was trying to prepare FreeBSD for the Metin2 server. The most important thing when you are missing libs from VPS is not to manually add the libs you need! To install the required libs, you will need to run one of the following commands from the Putty console: pkg install misc/compat9x or pkg install compat9x-amd64 after try this (not necessary): cd /usr/ports/misc/compat9x/ && make install clean I hope that helped Optional documentation about compat9x package: click here If you fail to solve the problem with the solution offered above, I will leave you a tutorial (copy-paste) from another forum that helped me. To follow this tutorial, I strongly recommend that you reinstall your VPS operating system. I use FreeBSD 11.0 - 64bit for the VPS where I keep the online server for players, and I compile the sources on FreeBSD 9.2 - 64bit. Thus, by installing the necessary libs on VPS, I can use legacy binaries that depend on them. The tutorial: Reveal hidden contents [How To] Prepare FreeBSD for Metin2 (tutorial from 2014, so you might need to search a few thing online for the current year) Hi, since many people had troubles with outdated or plain wrong tutorials, I am writing a new one on how to prepare your Metin2 dedicated or VPS to run any kind of Metin2 files. The first thing we should do is update our operating system to the latest version: freebsd-update fetch install Note: If you get a warning about End Of Life, consider upgrading to the most recent supported version (8.4, 9.3 or 10.1). If you have FreeBSD 8.2 for example, you can upgrade to 8.4 with: freebsd-update upgrade -r 8.4-RELEASE Now we are going to extract or update the ports, depending on whether you extracted them before or not, you have to run either of these commands: portsnap fetch extract if it's the first time, or: portsnap fetch update if it's not the first time you download ports. Now it's time to install mysql 5.6, the most recent version, as it performs better than the older ones. pkg install mysql56-server Note: If this command fails for you, you need to install the pkg tool: cd /usr/ports/ports-mgmt/pkg make install UPGRADEPKG=1 clean pkg2ng Next we add it to start on boot: echo "mysql_enable=YES" >> /etc/rc.conf And start MySQL server: service mysql-server start After uploading your database, give the correct permissions and upgrade your tables to the server's version: chown -R mysql /var/db/mysql mysql_upgrade Optional Running old files Install the compatibility packages to use games compiled for old versions of FreeBSD. cd /usr/ports/misc/compat7x make install clean We can install the compat8x, compat9x, etc. if we need compatibility with those operating systems in a newer version. Library errors are often solved by installing these packages. Installing python for qc pkg install python OVH Kimsufi, SoYouStart and OVH dedicated servers use some custom installation of FreeBSD and will throw an error when trying to run or install MySQL. You need to rebuild the password database to fix it with this command: pwd_mkdb -p /etc/master.passwd thanks , i already solve it by upgrading from FreeBSD 11.3 to 12 Link to comment Share on other sites More sharing options...
duwen123 48 Posted February 20, 2022 Share Posted February 20, 2022 11 minutes ago, xcrapy said: thanks , i already solve it by upgrading from FreeBSD 11.3 to 12 Wow! I'm glad you succeeded! Link to comment Share on other sites More sharing options...
vinkogyorgy 0 Posted February 12, 2023 Share Posted February 12, 2023 can anyone help me? i have the same problem and i don't know the solution. Starting db.. Test Server Log Off/usr/metin2/server/share/bin/db: Undefined symbol "stat@FBSD_1.5" Starting auth.. /usr/lib32/libc.so.7: version FBSD_1.6 required by /usr/metin2/server/share/bin/game not found Starting channel1/game2.. /usr/lib32/libc.so.7: version FBSD_1.6 required by /usr/metin2/server/share/bin/game not found Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now