arkmanager / ark-server-tools

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

ARK Manager ("Startet nicht & ") #1190

Open Manxbikay opened 3 years ago

Manxbikay commented 3 years ago

Ich habe ein Problem ich kann denn Server nicht starten da kommt dies und in Steam steht das der Server nicht antwortet

Technische Daten Linux Debian 9 64GB Ram 8 kern Hoster : Deinserverhost (Root Server)

Anleitung (Ich habe die Anleitung genau befolgt)

https://www.youtube.com/watch?v=oHJ8bzEzJl8


arkmanager.cfg

arkstChannel="master" # change it to a different branch to get non-stable versions install_bindir="/usr/local/bin" install_libexecdir="/usr/local/libexec/arkmanager" install_datadir="/usr/local/share/arkmanager"

config SteamCMD

steamcmdroot="/home/ark/steamcmd" # path of your steamcmd instance - change this to "/usr/games" on Debian/Ubuntu/CentOS if you have the steamcmd package installed steamcmdexec="steamcmd.sh" # name of steamcmd executable - change this to "steamcmd" on Debian/Ubuntu/CentOS if you have the steamcmd package installed steamcmd_user="ark" # name of the system user who own steamcmd folder steamcmd_appinfocache="/home/ark/Steam/appcache/appinfo.vdf" # cache of the appinfo command - change this to "/home/steam/.steam/appcache/appinfo.vdf" on Debian/Ubuntu/CentOS if you have the steamcmd package installed steamcmd_workshoplog="/home/ark/Steam/logs/workshop_log.txt" # Steam workshop log - change this to "/home/steam/.steam/logs/workshop_log.txt" on Debian/Ubuntu/CentOS if you have the steamcmd package installed

steamlogin="anonymous" # Uncomment this to specify steam login instead of using anonymous login

steamcmdhome=/home/steam # Uncomment this to override steamcmd home directory

config environment

arkserverexec="ShooterGame/Binaries/Linux/ShooterGameServer" # name of ARK server executable arkbackupdir="/home/ark/ARK-Backups" # path to backup directory arkwarnminutes="60" # number of minutes to warn players when using update --warn arkprecisewarn="false" # set this to true to obey warnminutes even if no players are connected (recommended for clusters) arkNoPortDecrement="true" # unset this to use the old Port - 1 behaviour arkautorestartfile="ShooterGame/Saved/.autorestart" # path to autorestart file arkAutoUpdateOnStart="true" # set this to true if you want to always update before startup arkBackupPreUpdate="false" # set this to true if you want to perform a backup before updating

arkBackupPostCommand='aws s3 cp "$backupfile" "s3://bucket_name/backups"' # Set this if you want a command to run after performing a backup

arkStartDelay=20 # set this to change the maximum delay between server starts - 0 or unser for no delay, will continue immediately when server is up

defaultinstance_max=20 # Same as above, for v1.6.43 compatibility

arkStagingDir="/home/ark/ARK-Staging" # Uncomment to enable updates to be fully downloaded before restarting the server (reduces downtime while updating)

Options to automatically remove old backups to keep backup size in check

Each compressed backup is generally about 1-2MB in size.

arkMaxBackupSizeMB="500" # Set to automatically remove old backups when size exceeds this limit

arkMaxBackupSizeGB="2" # Uncomment this and comment the above to specify the limit in whole GB

Update warning messages

Modify as desired, putting the %d replacement operator where the number belongs

msgWarnUpdateMinutes="This ARK server will shutdown for an update in %d minutes" msgWarnUpdateSeconds="This ARK server will shutdown for an update in %d seconds" msgWarnRestartMinutes="This ARK server will shutdown for a restart in %d minutes" msgWarnRestartSeconds="This ARK server will shutdown for a restart in %d seconds" msgWarnShutdownMinutes="This ARK server will shutdown in %d minutes" msgWarnShutdownSeconds="This ARK server will shutdown in %d seconds" msgWarnCancelled="Restart cancelled by player request"

broadcastcmd="serverchat" # Uncomment to use serverchat instead of broadcast

Notifications

discordWebhookURL="https://discordapp.com/api/webhooks/{webhook.id}/{webhook.token}"

notifyMsgShuttingDown="Shutting down"

notifyMsgStarting="Starting"

notifyMsgServerUp="Server is up"

notifyMsgStoppedListening="Server has stopped listening - restarting"

notifyMsgServerTerminated="Server exited - restarting"

notifyTemplate="Message from instance {instance} on server {server}: {msg}"

noNotifyWarning=true

notifyCommand='echo "$msg" | mailx -s "Message from instance ${instance} on server ${HOSTNAME}" "email@domain.com"'

Restart cancel chat command

chatCommandRestartCancel="/cancelupdate"

ARK server common options - use ark_=

comment out these values if you want to define them

inside your GameUserSettings.ini file

serverMap="Ragnarok" # server map (default TheIsland)

serverMapModId="469987622" # Uncomment this to specify the Map Mod Id ( in http://steamcommunity.com/sharedfiles/filedetails/?id=)

ark_TotalConversionMod="496735411" # Uncomment this to specify a total-conversion mod

ark_RCONEnabled="True" # Enable RCON Protocol ark_ServerPassword="123" # ARK server password, empty: no password required to login ark_ServerAdminPassword="12072001Elias" # ARK server admin password, KEEP IT SAFE! ark_MaxPlayers="70" ark_GameModIds="731604991" # Uncomment to specify additional mods by Mod Id separated by commas

ark_AltSaveDirectoryName="SotF" # Uncomment to specify a different save directory name

ARK server flags - use arkflag_=true

arkflag_OnlyAdminRejoinAsSpectator=true # Uncomment to only allow admins to rejoin as spectator

arkflag_DisableDeathSpectator=true # Uncomment to disable players from becoming spectators when they die

arkflag_log=true arkflag_NOBattleEye=true arkflag_server=true

ARK server options - i.e. for -optname=val, use arkopt_optname=val

arkopt_StructureDestructionTag=DestroySwampSnowStructures

config Service

logdir="/var/log/arktools" # Logs path (default /var/log/arktools)

steamdb specific

appid=376030 # Linux server App ID mod_appid=346110 # App ID for mods

Mod OS Selection

mod_branch=Windows

Add mod-specific OS selection below:

mod_branch_496735411=Windows

alternate configs

example for config name "ark1":

configfile_ark1="/path/to/config/file"

defaultinstance="ragnarok" # See /etc/arkmanager/instances/main.cfg - Instance config options will overide the Global option in this file.


Main.cfg (habe es auch nach Video gemacht !)

config environment

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

ARK server options - use ark_=

comment out these values if you want to define them

inside your GameUserSettings.ini file

serverMap="TheIsland" # server map (default TheIsland)

serverMapModId="469987622" # Uncomment this to specify the Map Mod Id ( in http://steamcommunity.com/sharedfiles/filedetails/?id=)

ark_TotalConversionMod="496735411" # Uncomment this to specify a total-conversion mod

ark_RCONEnabled="True" # Enable RCON Protocol ark_RCONPort="32330" # RCON Port ark_SessionName="CooleSocke" # if your session name needs special characters please use the .ini instead ark_Port="7778" # ARK server port (default 7778) ark_QueryPort="27015" # ARK query port (default 27015) ark_ServerPassword="123" # ARK server password, empty: no password required to login ark_ServerAdminPassword="Passwd" # ARK server admin password, KEEP IT SAFE! ark_MaxPlayers="70" ark_GameModIds="731604991" # Uncomment to specify additional mods by Mod Id separated by commas

ark_AltSaveDirectoryName="SotF" # Uncomment to specify a different save directory name

ARK server flags - use arkflag_=true

arkflag_OnlyAdminRejoinAsSpectator=true # Uncomment to only allow admins to rejoin as spectator

arkflag_DisableDeathSpectator=true # Uncomment to disable players from becoming spectators when they die

arkflag_log=true arkflag_NoBattleEye=true arkflag_server=true

ARK server options - i.e. for -optname=val, use arkopt_optname=val

arkopt_StructureDestructionTag=DestroySwampSnowStructures

arkCustomDynamicConfigURL="http://arkdedicated.com/dynamicconfig.ini" # Set this to use a custom dynamic config from the given server address

arkPreStart="/etc/arkmanager/instances/instance.start" # Set this to override the start script; defaults to config file name with .cfg replaced by .start


Running command 'status' for instance 'main' Server running: Yes Server PID: 18910 Server listening: No Server build ID: 6971028 Server version: 332.8


Diese Ports sind freigegeben ! 7777 7778 27016 27015 32330


lsof -i -P -n | grep LISTEN

ShooterGa 18910 ark 20u IPv4 43413 0t0 TCP *:32330 (LISTEN)


sudo lsof -i | grep Shooter ShooterGa 18910 ark 11u IPv4 44274 0t0 UDP :27015 ShooterGa 18910 ark 19u IPv4 43412 0t0 UDP :7778 ShooterGa 18910 ark 20u IPv4 43413 0t0 TCP :32330 (LISTEN) ShooterGa 18910 ark 23u IPv4 52241 0t0 UDP :7779 ShooterGa 18910 ark 34u IPv4 72225 0t0 TCP aterion.net:32330->HSI-KBW-46-223-151-49.hsi.kabel-badenwuerttemberg.de:58451 (CLOSE_WAIT)


sudo netstat -tunlp | grep 'ShooterGame' [sudo] Passwort für ark: tcp 0 0 0.0.0.0:32330 0.0.0.0: LISTEN 18910/ShooterGameSe udp 0 0 0.0.0.0:27015 0.0.0.0: 18910/ShooterGameSe udp 0 0 0.0.0.0:7778 0.0.0.0: 18910/ShooterGameSe udp 0 0 0.0.0.0:7779 0.0.0.0: 18910/ShooterGameSe


Ich habe es auch mit denn Grundeinstellungen versucht bin aber daran gescheitert und habe denn Server 5 mal neu installiert !! ich kann die RCON Port erreichen mit dem ARkon tool

klightspeed commented 3 years ago

I don't understand German, so I'll use Google Translate.

Diese Ports sind freigegeben ! 7777 7778 27016 27015 32330

You have arkNoPortDecrement="true", so you want to expose ports 7778 and 7779 (since you have ark_Port=7778)

defaultinstance="ragnarok"

This will result in any commands not explicitly specifying @main trying to run against the (presumably non-existent) ragnarok instance.

Running command 'status' for instance 'main'
Server running: Yes
Server PID: 18910
Server listening: No
Server build ID: 6971028
Server version: 332.8

How soon after starting the server was this?

dragnod0 commented 3 years ago

GERMAN Du hast in der arkmanager.cfg als standard instanz ragnarok angegeben (defaultinstance="ragnarok")
Die Instanz config datei in /etc/arkmanager/instances/ muss dann natürlich auch ragnarok.cfg heißen.

defaultinstance="***" sagt dem arkmanager welche der instanzen er ansprechen soll wenn du bei einem Befehl keine angibst. Der Instanzname entspricht dem Namen der Configurations Datei ohne das .cfg. In deinem Fall wäre also arkmanager start das selbe wie arkmanager start @ragnarok

ENGLISH (Google Translate) You have specified ragnarok as the standard instance in arkmanager.cfg (defaultinstance = "ragnarok") The instance config file in / etc / arkmanager / instances / must then of course also be called ragnarok.cfg.

defaultinstance = "***" tells the arkmanager which of the instances it should address if you don't specify one for a command. The instance name corresponds to the name of the configuration file without the .cfg. In your case, arkmanager start would be the same asarkmanager start @ ragnarok