Steam telepítése
belépés
|
nyelv
简体中文 (egyszerűsített kínai)
繁體中文 (hagyományos kínai)
日本語 (japán)
한국어 (koreai)
ไทย (thai)
Български (bolgár)
Čeština (cseh)
Dansk (dán)
Deutsch (német)
English (angol)
Español - España (spanyolországi spanyol)
Español - Latinoamérica (latin-amerikai spanyol)
Ελληνικά (görög)
Français (francia)
Italiano (olasz)
Bahasa Indonesia (indonéz)
Nederlands (holland)
Norsk (norvég)
Polski (lengyel)
Português (portugáliai portugál)
Português - Brasil (brazíliai portugál)
Română (román)
Русский (orosz)
Suomi (finn)
Svenska (svéd)
Türkçe (török)
Tiếng Việt (vietnámi)
Українська (ukrán)
Fordítási probléma jelentése
Ty for all, now I have other problem.
Good, when ark gets an update my servers are updated alone and they are turned on again, the problem is that for some time, some of my servers do not start again (sometimes it happens to Ragnarok and other times to others), they can spend hours and do not start.
When I do an arkmanager status, it says:
Server running: Yes
Server listening: No
And by manually stopping and restarting, the same thing happens again. To fix it I have to use a backup much later than when the server did not restart.
An example:
https://gyazo.com/60f18dacb14178500175d4536e4a5340
the server stopped working at 10 am
And the backup that works is at 8 a.m.
There are 2 hours in which the server has worked but the progress has not been saved.
Thanks for trying to help me :)
https://www.cyberciti.biz/faq/linux-show-what-cron-jobs-are-setup/
For running multiple servers on the same machine, have two separate .service files and try adding the following to the ExecStart line of each:
Port=<#>?QueryPort=<#>?
for both of your servers. Port and QueryPort cannot be the same as each other and they have to be different for both servers (don't forget to open/forward all necessary additional ports). For example:
/etc/systemd/system/ark-server-island.service
ExecStart=<...>/ShooterGameServer TheIsland?listen?Port=<7777>?QueryPort=27015?
/etc/systemd/system/ark-server-center.service
ExecStart=<...>/ShooterGameServer TheCenter?listen?Port=<7779>?QueryPort=27025?
I've never run more than one server simultaneously before, so I'm just guessing. The above might not work, but it's the first thing that I would try.
If you want to use cron independently of the tools (i.e., directly at the OS level), then the following is a good explanation of how to do so:
http://www.unixgeeks.org/security/newbie/unix/cron-1.html
If you want to use the tools instead, then it's via the command "install-cronjob" (there's a section on how to use this in the tools readme).
If you use the "update" command with the tools, it will shut down the server for you before updating. Passing the "--backup" argument will only cause it to save a backup before the update, but the server has to shut down. The "--warn" argument simply alerts people in-game that the server is going down.
Just keep in mind that if you are going to use cron, then to make sure your distro has a cron utility installed (e.g., cronie, fcron, dcron, anacron, etc.) as you might not have one installed by default.
Thanks for your time :)
My guide is on Debian, CentOS, and Arch and I state in the main description: "The method can be extended pretty much in-tact to other Linux distributions that use systemd provided that the necessary libraries in Step 2 are installed accordingly."
If people do not understand how to apply this guide to other distros, then they shouldn't be using Linux. The important point is not "distro Y is a derivative of distro X therefore everything is automatically applicable". Derivatives are not necessarily compatible in all respects with the parent distro, and I don't keep up with the inner workings of distros I don't use and can't verify the steps in this guide. That's why I emphasize familiarity with systemd and the necessary libraries.
Most Linux geeks know what this means, and anyone else can ask a Linux Geek.
Mentioning other distros then opens up the flood gates of others wanting their favourite distros mentioned etc. I picked 3 very common distros that are frequently used for things server-related and also happen to be distros that I personally use.