Having trouble setting up a server on LinuxSolved
Hi.

I didn't know where else to post. The other alternative was the steam forums.
I own a linux server that i rent from France, it has Ubuntu 18.04 installed with the all the latest updates.

I've installed SteamCMD, and installed Hurtworld from there. Used the correct appid and everything.
I changed the servername in the host.sh (its the same as host.bat). Left everything else default.

Have also tried reinstalling SteamCMD just to make sure i didnt mess anything up. Tried with both the repo and the manual method.

When i open the host.sh file, it waits for a few seconds and does nothing. I'll leave the output.txt in here.
I've been trying to get this up and running for about 6 hours now. I would greatly appreciate it if anyone could help us out.

Output.txt
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.
eac_server.so [x86] :: OnLoad()
eac_server.so [x86] :: OnUnload()
o preload the following plugins:
	libCSteamworks.so
	libeac_server.so
	libeasyanticheat.so
	libsteam_api.so
	steamclient.so
Player data archive not found at `/home/steam/hurtworld/Hurtworld_Data/data.unity3d`, using local filesystemInitialize engine version: 5.6.6f2 (6bac21139588)
Forcing GfxDevice: Null
NullGfxDevice:
    Version:  NULL 1.0 [1.0]
    Renderer: Null Device
    Vendor:   Unity Technologies
AudioManager: Using Unknown: NoSound Driver
Begin MonoManager ReloadAssembly
Platform assembly: /home/steam/hurtworld/Hurtworld_Data/Managed/UnityEngine.dll (this message is harmless)
Loading /home/steam/hurtworld/Hurtworld_Data/Managed/UnityEngine.dll into Unity Child Domain
Platform assembly: /home/steam/hurtworld/Hurtworld_Data/Managed/Assembly-CSharp-firstpass.dll (this message is harmless)
Loading /home/steam/hurtworld/Hurtworld_Data/Managed/Assembly-CSharp-firstpass.dll into Unity Child Domain
Platform assembly: /home/steam/hurtworld/Hurtworld_Data/Managed/Assembly-CSharp.dll (this message is harmless)
Loading /home/steam/hurtworld/Hurtworld_Data/Managed/Assembly-CSharp.dll into Unity Child Domain
Platform assembly: /home/steam/hurtworld/Hurtworld_Data/Managed/Assembly-UnityScript-firstpass.dll (this message is harmless)
Loading /home/steam/hurtworld/Hurtworld_Data/Managed/Assembly-UnityScript-firstpass.dll into Unity Child Domain
Platform assembly: /home/steam/hurtworld/Hurtworld_Data/Managed/UnityEngine.UI.dll (this message is harmless)
Loading /home/steam/hurtworld/Hurtworld_Data/Managed/UnityEngine.UI.dll into Unity Child Domain
Platform assembly: /home/steam/hurtworld/Hurtworld_Data/Managed/UnityEngine.Networking.dll (this message is harmless)
Loading /home/steam/hurtworld/Hurtworld_Data/Managed/UnityEngine.Networking.dll into Unity Child Domain
Platform assembly: /home/steam/hurtworld/Hurtworld_Data/Managed/AmplifyOcclusion.dll (this message is harmless)
Loading /home/steam/hurtworld/Hurtworld_Data/Managed/AmplifyOcclusion.dll into Unity Child Domain
Platform assembly: /home/steam/hurtworld/Hurtworld_Data/Managed/NSpeex.dll (this message is harmless)
Loading /home/steam/hurtworld/Hurtworld_Data/Managed/NSpeex.dll into Unity Child Domain
Platform assembly: /home/steam/hurtworld/Hurtworld_Data/Managed/uLink.dll (this message is harmless)
Loading /home/steam/hurtworld/Hurtworld_Data/Managed/uLink.dll into Unity Child Domain
Platform assembly: /home/steam/hurtworld/Hurtworld_Data/Managed/Ionic.ZLib.dll (this message is harmless)
Loading /home/steam/hurtworld/Hurtworld_Data/Managed/Ionic.ZLib.dll into Unity Child Domain
Platform assembly: /home/steam/hurtworld/Hurtworld_Data/Managed/DOTween.dll (this message is harmless)
Loading /home/steam/hurtworld/Hurtworld_Data/Managed/DOTween.dll into Unity Child Domain
Platform assembly: /home/steam/hurtworld/Hurtworld_Data/Managed/EasyAntiCheat.Client.dll (this message is harmless)
Loading /home/steam/hurtworld/Hurtworld_Data/Managed/EasyAntiCheat.Client.dll into Unity Child Domain
Platform assembly: /home/steam/hurtworld/Hurtworld_Data/Managed/EasyAntiCheat.Server.dll (this message is harmless)
Loading /home/steam/hurtworld/Hurtworld_Data/Managed/EasyAntiCheat.Server.dll into Unity Child Domain
Platform assembly: /home/steam/hurtworld/Hurtworld_Data/Managed/I18N.dll (this message is harmless)
Loading /home/steam/hurtworld/Hurtworld_Data/Managed/I18N.dll into Unity Child Domain
Platform assembly: /home/steam/hurtworld/Hurtworld_Data/Managed/I18N.West.dll (this message is harmless)
Loading /home/steam/hurtworld/Hurtworld_Data/Managed/I18N.West.dll into Unity Child Domain
Platform assembly: /home/steam/hurtworld/Hurtworld_Data/Managed/UnityEngine.CrashLog.dll (this message is harmless)
Loading /home/steam/hurtworld/Hurtworld_Data/Managed/UnityEngine.CrashLog.dll into Unity Child Domain
Platform assembly: /home/steam/hurtworld/Hurtworld_Data/Managed/MonitorComponents.dll (this message is harmless)
Loading /home/steam/hurtworld/Hurtworld_Data/Managed/MonitorComponents.dll into Unity Child Domain
Platform assembly: /home/steam/hurtworld/Hurtworld_Data/Managed/Rewired_Core.dll (this message is harmless)
Loading /home/steam/hurtworld/Hurtworld_Data/Managed/Rewired_Core.dll into Unity Child Domain
Platform assembly: /home/steam/hurtworld/Hurtworld_Data/Managed/Rewired_Linux_Lib.dll (this message is harmless)
Loading /home/steam/hurtworld/Hurtworld_Data/Managed/Rewired_Linux_Lib.dll into Unity Child Domain
- Completed reload, in  0.562 seconds
Platform assembly: /home/steam/hurtworld/Hurtworld_Data/Managed/System.Core.dll (this message is harmless)
Platform assembly: /home/steam/hurtworld/Hurtworld_Data/Managed/System.dll (this message is harmless)
UnloadTime: 3.874000 ms
Starting Game. Save Version: 1.0.0.0	Protocol Version: 187	Send Buffer Size: 30000
Platform assembly: /home/steam/hurtworld/Hurtworld_Data/Managed/Mono.Security.dll (this message is harmless)
Platform assembly: /home/steam/hurtworld/Hurtworld_Data/Managed/System.Configuration.dll (this message is harmless)
Platform assembly: /home/steam/hurtworld/Hurtworld_Data/Managed/System.Xml.dll (this message is harmless)
> host 12871

> queryport 13871

> maxplayers 60

> servername Unconfigureasdasdasdasd

SteamAPI_GameServer.Init() failed.
 
(Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

Closing network connections...
Abort running Threads: 1
Setting up 1 worker threads for Enlighten.
  Thread -> id: e560cb40 -> priority: 1 
Unloaded all mods
​

Hey @kriss0706,

I would recommend you try this.

https://linuxgsm.com/lgsm/hwserver/

Start by installing the dependecies

sudo dpkg --add-architecture i386; sudo apt update; sudo apt install mailutils postfix curl wget file tar bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux lib32gcc1 libstdc++6 libstdc++6:i386 lib32z1

Then create your user for your server

sudo adduser hwserver

You can change the name of  hwserver to whatever you like

Then generate a super hard password for the user

The press enter for all of these unless you want to specify some details for that user 

Full Name []:
Room Number []:
Work Phone []:
Home Phone []:
Other []:

Then it should ask you to confirm press Y

After that you need to switch to that user with this command

su - hwserver

Once you switched user it should be like thins in console

hwserver@host-name-of-your-server:~$

You will need to enter a Steam username and password to download the dedicated server.

It is recommended that you create a new Steam username just for the server.

Once you did this 

Edit the file in the folder 

/home/(yourchosenusername)/lgsm/config-lgsm/hwserver/common.cfg

and add the details of your new Steam Username for the server

steamuser="username"
steampass='password'

Save that file then run this command

./hwserver install

Follow directions 

If you need any help let me know

Hey.

Right after i posted this, i tried LGSM and it worked like a charm! Thanks though!
No problem man !
Locked automatically