Jump to content
  • 0

Problem with starting of linux mta server...


onny

Question

Posted (edited)

Hi all,

I have a ssh linux server and installed all things off the MTA Linux Server and i type at the command line; ./mta-server So it need to start but than i get;

./mta-server: Permissions Denied! Please, Can anybody help me?

greetz,

Onny

Edited by Guest

16 answers to this question

Recommended Posts

  • 0
  • MTA Team
Posted

Hi,

just download the package from http://linux.multitheftauto.com/ , extract it to some directory, then install the config files and resources. Once you have done it, you should edit the configuration file (mtaserver.conf in mods/deathmatch directory). Pretty much everything is explained well in that file, but you can also find some tips here: https://wiki.multitheftauto.com/wiki/Ser ... our_server

Then you start the server ( ./mta-server ) , or if you wish to keep it running when you log off SSH, you run screen before that.

If you run into any problems or are unsure as to how to do something, just post back.

  • 0
Posted

Done it works but now i get this;

libreadline.so.5: cannot open shared object file: No such file or directory

ERROR: Loading mod (/root/mta/mods/deathmatch/deathmatch.so) failed!

Press Q to shut down the server!

  • 0
Posted

how can i find that out?

All i know is that its Debian 6.0 and its a SSH Linux VPS ( Im new With Linux ) :oops:

Oh by the way, I can reinstall and choose Ubuntu, suse, fedora, Debian and Centos

  • 0
  • MTA Team
Posted

No need for reinstalling, you can check whether it's 32 or 64bit by using this command:

uname -a

If it says i386 or i686 - it's 32 bit, if it says x86-64, it's 64 bits.

  • 0
  • MTA Team
Posted

Okay, so it'll be easy. Do:

apt-get install libreadline5

After installing that, you will be probably missing libncursesw.so.5. You can install it with this command:

apt-get install libncursesw5

You need to run both commands as root.

  • 0
Posted

I did what u said and i get this:

root@myvpsname:~# apt-get install libreadline5

Reading package lists... Done

Building dependency tree... Done

Package libreadline5 is not available, but is referred to by another package.

This may mean that the package is missing, has been obsoleted, or

is only available from another source

However the following packages replace it:

readline-common

E: Package 'libreadline5' has no installation candidate

  • 0
  • MTA Team
Posted

Are you sure this is Debian 6.0? You can verify that with lsb_release -a command.

Do an OS upgrade if so:

apt-get update

apt-get upgrade

Once you do so, try installing the package again. If it still says it can't find the package, install readline-common package and try installing libreadline5 again.

If it still doesn't work, download and install the package manually:

http://packages.debian.org/squeeze/i386 ... 5/download

( dpkg -i packagenamehere.deb )

  • 0
Posted (edited)

Done, He tries to start but now i get this;

=========================================================== 
= Multi Theft Auto: San Andreas v1.1 
=========================================================== 
= Server name      : Onny's Freeroam+ 
= Server IP address: 217.18.70.204 
= Server port      : 22003 
= 
= Log file         : /root/mta/mods/deathmatch/logs/server.log 
= Maximum players  : 32 
= HTTP port        : 22005 
= Voice Chat       : Disabled 
=========================================================== 
[17:41:23] File 'settings.xml' not present, creating new node. 
[17:41:25] Resources: 186 loaded, 0 failed 
[17:41:25] ERROR: Error parsing Access Control List file 
[17:41:25] Server stopped! 
[17:41:25] Stopping resources... 
[17:41:25] Closing SQLite3 database 
[17:41:25] Closing SQLite3 database 
Press Q to shut down the server! 
  
once i tried again i get not the settings.xml the problem but: 
  
  
  
  
=========================================================== 
= Multi Theft Auto: San Andreas v1.1 
=========================================================== 
= Server name      : Onny's Freeroam+ 
= Server IP address: 217.18.70.204 
= Server port      : 22003 
= 
= Log file         : /root/mta/mods/deathmatch/logs/server.log 
= Maximum players  : 32 
= HTTP port        : 22005 
= Voice Chat       : Disabled 
=========================================================== 
[17:44:58] Resources: 186 loaded, 0 failed 
[17:44:58] ERROR: Error parsing Access Control List file 
[17:44:58] Server stopped! 
[17:44:59] Stopping resources... 
[17:44:59] Closing SQLite3 database 
[17:44:59] Closing SQLite3 database 
Press Q to shut down the server! 

Edited by Guest
  • 0
  • MTA Team
Posted

You need to make sure you have unpacked all config files (mtaserver.conf , acl.xml and vehiclecolors.conf) to the right directory (mods/deathmatch/ ).

  • 0
Posted

The files mtaserver.conf , acl.xml and vehiclecolors.conf Are in the map; /root/mta/mods/deathmatch Did i do anything wrong? Maybe u can help with Teamviewer...

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