arkmanager / ark-server-tools

Set of server tools used to manage ARK: Survival Evolved servers on Linux
MIT License
680 stars 144 forks source link

Server won't go online #911

Open BlugDeg opened 6 years ago

BlugDeg commented 6 years ago

Hello, at first my english is not the best language i can so try to give my best. I installed arkmanager on my Ubunutu 16.04. I wrote, arkmanager install, it finished without an error or something like that. Then i tried to set the port free with the command iptables -I INPUT -p udp --dport 27016 -j ACCEPT iptables -I INPUT -p tcp --dport 27016 -j ACCEPT iptables -I INPUT -p udp --dport 7778 -j ACCEPT iptables -I INPUT -p tcp --dport 7778 -j ACCEPT iptables -I INPUT -p tcp --dport 32330 -j ACCEPT after that i startet the server and if i look with arkmanager status it gives me the feedback: Running command 'status' for instance 'main' Server running: No Server listening: No Server build ID: 2418857 Server version: 276.3 I searched from some logs, but didnt found anyone. Thank you for help me :)

jankyjames commented 6 years ago

did you do arkmanager start?

BlugDeg commented 6 years ago

thank for the feedback yes i started with "arkmanager start"

SinisterSole commented 6 years ago

@BlugDeg You might need to look at the main.cfg in the instance directory and confirm the following:

config environment

arkserverroot="/home/xyz/ARK" # path of your ARK server files (default ~/ARK)

In addition, you might need to check how to increase the allowed number of open files in 16.04

I already had a server running before migrating to ark-server-tools so the paths for the server were easy to find.

CaspyBXL commented 6 years ago

Run the following command to increase the allowed number of open files: echo "fs.file-max=100000" >> /etc/sysctl.conf && sysctl -p

Update the hard and soft file limits by running: echo " soft nofile 1000000" >> /etc/security/limits.conf echo " hard nofile 1000000" >> /etc/security/limits.conf

Enable PAM limits by issuing this command: echo "session required pam_limits.so" >> /etc/pam.d/common-session

TESTED for You on ubuntu 16.04 running 2 arks in Cluster mode runs smoothly

Greetings CaspyBXL