Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
As for running the server itself: You can take alot of hassle of installing, running and updating the server if you look for already well thought out helpers.
I ran a server with my own scripts, I ran servers with ark-server-tools ( https://github.com/FezVrasta/ark-server-tools ) and currently I'm running two clusters of servers using LGSM https://gameservermanagers.com/lgsm/arkserver/
Especially the latter is really easy and straightforward to setup and run, you can always add your own maintenance scripts to it (got one for backups, one for checking the currently population on the servers, etc.).
And yes Harl is totally right never ever run stuff on root if its not necessary
I also didn't see anything in the tutorial about running it from another user, so maybe they should add that into the tutorial.
I'd prefer not to install extra software just to run a server for me, though. I'd really just like to know what exactly is wrong with my command line that's causing this error. From the tutorials I read, it SHOULD be correct. I just wish the error was more verbose and gave me some indication of what's wrong.
Segmentation faultsts.....11%
Additionally you surely read the install page about SteamCMD, which also clearly states:
Since Ark doesn't need any "special" access, it really runs quite smoothly as a service with only an unprivileged user.
As for your screenshot error: I think it results in the mixed access rights. You want to run "ShooterGame", but it needs a working SteamCMD environment, which you installed most likely as the user "steam" (as per the tutorial). But user "root" doesn't have the environment set up, so ShooterGame looks for info, looks for info, looks for ino, shrugs its shoulders and gives up.
As for the LGSM stuff: It's just a bunch of (shell) script files which help to install and run the servers (mostly) hassle-free.
The Segfault error is strange, but I'd do the following (if you're not logged in as root, add "sudo" in front of the commands):
a) Update the information from the repositories: apt-get update
b) Clean up the cache: apt-get autoclean
c) Update your system to the latest patches: apt-get upgrade
d) You can break down the commands from LGSM for the Ubuntu prerequisites at the semicolons. So this one long line is in truth 3 commands just mixed up in one line. Break them down into their components and run them (if you are root already, you don't need the sudo). So you can see at which part an error (if it's not cleaned up a-c already) occurs.
If it occurs, a complete error message would be appreciated (if you want, add me on steam and I can help you directly without posting everything on the forums).
Server has 32GB RAM.
The command line in the screen is the exact command line (with passwords blanked out). What am I missing for the cluster config? Yes, I'm trying to start a cluster. Once I get this first server working I'll add the others.
Harl, thanks for the info, I'll let you know how that goes, going to be messing with it again now.
I actually never saw the install page for SteamCMD because I was only following the ARK Dedicated server setup tutorial, which provided the command and process for installing it (which apparently wasn't correct). I'm pretty sure I never set up another account for steam and installed it under root. I'll probably just wipe the entire system again to get it clean since I have nothing installed on the server atm, and try again.
Will give your suggestions a try, thanks
https://i.imgur.com/czEgvEN.jpg
I have tried:
1. ...to install steamcmd as a non-root user, which caused even worse segmentation faults when I tried to run steamcmd (it wouldn't even let me get to the steam command line).
2. ...to install steamcmd as a root user, then switched to non-root and ran it, seems to work ok this way until I try to run the server, then I get segmentation faults and it fails to start.
3. I've used ulimit to increase open files to 2048 as suggested in the steamcmd wiki
No matter what I do, I can't get the server to start.
Here is my file structure:
/home/steam/arkserver/ShooterGame/Binaries/Linux/ShooterGameServer
Here is my shell script to launch it.
#! /bin/bash
./arkserver/ShooterGame/Binaries/Linux/ShooterGameServer "TheCenter?listen?SessionName=Verdis Center?ServerPassword=stuff?ServerAdminPassword=morestuff?QueryPort=27015?Port=7777" -server -log -NoTransferFromFiltering -clusterid=verdis_cluster -ClusterDirOverride=/home/steam/verdis_cluster
What am I doing wrong? I've looked at practically every tutorial on the net and done extensive google searches about ark installation segmentation faults and come up with nothing...
The only thing that comes to mind is that it requires a certain 32-bit library to function properly on a 64-bit system. I am not 100% certain which one it was again, I will check in my documentation what I needed to do to fix that issue.
Another side note, ARK opens up so many files that you need to increase the open file handles per process on Linux otherwise the kernel will kill it.
The only difference so far is, I do not run it as root, but as an unprivileged user. And I start it using systemd.
Do you have any server specs for me?
- Total RAM? (use the command: free -m)
- Free disk space? (use the command: df -h)
Just to rule out some other issues.