Jump to content

[Debian] Server wont start


skoll

Recommended Posts

Hello,

i've would start today a mta sa 103 server on my dedicated linux server, i received always a error message like this:

./mta-server: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory

im not sure why this packet cant be found, i installed libpcre.

Maybe someone can help me to fix this?

Greetings skoll

Link to comment

Are you running a 64bit Debian system? If this is the case then the MTA server is not officially supported, the simple answer being it was written for a 32bit platform for 32bit libraries so wont work.

If you have a look around the forum other people have had the same issue, some had resolved the problem and managed to get a server running on Debian 64bit, others not so succesful, here are a few threads to read for ideas.

https://forum.multitheftauto.com/viewtopic.php?f=106&t=26010

https://forum.multitheftauto.com/viewtopic.php?f=106&t=25237

The two threads above relate to compiling as well as running, still useful information regarding your problem.

Nick

Link to comment

Are you running a 64bit Debian system? If this is the case then the MTA server is not officially supported, the simple answer being it was written for a 32bit platform for 32bit libraries so wont work.

If you have a look around the forum other people have had the same issue, some had resolved the problem and managed to get a server running on Debian 64bit, others not so succesful, here are a few threads to read for ideas.

https://forum.multitheftauto.com/viewtopic.php?f=106&t=26010

https://forum.multitheftauto.com/viewtopic.php?f=106&t=25237

The two threads above relate to compiling as well as running, still useful information regarding your problem.

Nick

Link to comment
  • MTA Team

That is not true, the problems are only when you try to compile it natively in 64 bit.

If your debian is 64bit, it shouldn't be hard to get the precompiled 32bit build going, just requires apt-getting some libraries, which you are missing, in their compatibility versions (32bit) for amd64. If your debian is 32bit, then just install the missing libraries for i386.

In both cases you'll need root access, or someone who can install them for you.

Use this page, and search for the libraries using the Search the contents of packages part of the search engine. Simply select Display packages that contain files named like this option, then type the missing library name in the search field.

http://www.debian.org/distrib/packages.en.html

Once you've found a package which contains that library, install it by running 'apt-get install packagename' as root.

If you get a message stating that another library is missing after you install it, just repeat these steps for that library.

Link to comment
  • MTA Team

That is not true, the problems are only when you try to compile it natively in 64 bit.

If your debian is 64bit, it shouldn't be hard to get the precompiled 32bit build going, just requires apt-getting some libraries, which you are missing, in their compatibility versions (32bit) for amd64. If your debian is 32bit, then just install the missing libraries for i386.

In both cases you'll need root access, or someone who can install them for you.

Use this page, and search for the libraries using the Search the contents of packages part of the search engine. Simply select Display packages that contain files named like this option, then type the missing library name in the search field.

http://www.debian.org/distrib/packages.en.html

Once you've found a package which contains that library, install it by running 'apt-get install packagename' as root.

If you get a message stating that another library is missing after you install it, just repeat these steps for that library.

Link to comment
If your debian is 64bit, it shouldn't be hard to get the precompiled 32bit build going, just requires apt-getting some libraries, which you are missing, in their compatibility versions (32bit) for amd64. If your debian is 32bit, then just install the missing libraries for i386.

Would you care to share the libraries jhxp? I attempted with no success so removed amd64 Debian and put i386 on my box.

Nick

Link to comment
If your debian is 64bit, it shouldn't be hard to get the precompiled 32bit build going, just requires apt-getting some libraries, which you are missing, in their compatibility versions (32bit) for amd64. If your debian is 32bit, then just install the missing libraries for i386.

Would you care to share the libraries jhxp? I attempted with no success so removed amd64 Debian and put i386 on my box.

Nick

Link to comment
  • MTA Team

Just follow instructions I've posted above...

... or below:

Use this page, and search for the libraries using the Search the contents of packages part of the search engine. Simply select Display packages that contain files named like this option, then type the missing library name in the search field.

http://www.debian.org/distrib/packages.en.html

Once you've found a package which contains that library, install it by running 'apt-get install packagename' as root.

If you get a message stating that another library is missing after you install it, just repeat these steps for that library.

Link to comment
  • MTA Team

Just follow instructions I've posted above...

... or below:

Use this page, and search for the libraries using the Search the contents of packages part of the search engine. Simply select Display packages that contain files named like this option, then type the missing library name in the search field.

http://www.debian.org/distrib/packages.en.html

Once you've found a package which contains that library, install it by running 'apt-get install packagename' as root.

If you get a message stating that another library is missing after you install it, just repeat these steps for that library.

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...