Jump to content

[HELP] Database.connect: failed to connect


Artyom888

Recommended Posts

[22-04-14 14:20:45] ERROR: Could not load /game/mods/deathmatch/dbconmy.so - libssl.so.1.1: cannot open shared object file: No such file or directory[22-04-14 14:20:45] WARNING: Core/server/database/Database.lua:30: Bad usage @ 'dbConnect' [Could not connect]
[22-04-14 14:20:45] INFO: ERROR: Database.connect: failed to connect
[22-04-14 14:20:45] INFO: ERROR: Database connection failed

Link to comment

You're missing libssl.so in your shared libraries path (typically /usr/local/lib, /usr/local/lib64, /usr/lib and/or /usr/lib64), which is required by dbconmy.so (the shared library responsible for database functionality in MTA). You might be missing the packages openssl-1.1 and openssl-solibs-1.1.

If you are your system administrator, you should be able to easily add these packages using apt-get or yum depending on your distro; if you don't know how to do that you can find tons of information about installing packages on Linux on Google.

If you don't have access to the root user and/or sudo, you might need to get in contact with your system administrator or service provider and ask them for assistance.

Edited by Addlibs
Link to comment
On 14/04/2022 at 15:33, Addlibs said:

You're missing libssl.so in your shared libraries path (typically /usr/local/lib, /usr/local/lib64, /usr/lib and/or /usr/lib64), which is required by dbconmy.so (the shared library responsible for database functionality in MTA). You might be missing the packages openssl-1.1 and openssl-solibs-1.1.

If you are your system administrator, you should be able to easily add these packages using apt-get or yum depending on your distro; if you don't know how to do that you can find tons of information about installing packages on Linux on Google.

If you don't have access to the root user and/or sudo, you might need to get in contact with your system administrator or service provider and ask them for assistance.

Thanks ?

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...