Cardinal Review

Steam API failed to initialise

critical steam source unity unreal

In the console

SteamAPI_Init() failed
Failed to init SteamAPI
Unable to load Steamclient
steamclient.so: cannot open shared object file

The game server could not load Steam's client library, so it cannot register with Steam or authenticate players. The steamclient.so file is missing or in the wrong place, or 32/64-bit libraries do not match.

How to fix it

  1. Reinstall or validate the server through the egg (SteamCMD 'validate') so the Steam libraries are copied again.
  2. Make sure .steam/sdk64/steamclient.so (64-bit) or .steam/sdk32/steamclient.so (32-bit) exists; many eggs copy it there on install.
  3. Use the Docker image the egg recommends for this game; it includes the 32-bit libraries Steam needs.

Game Server Login Token problem

error steam source

In the console

Invalid … Game Server Login Token
Game Server Login Token … invalid
No account token specified

Steam needs a valid Game Server Login Token (GSLT) for this game to list the server publicly. The token is missing, mistyped, expired, or was banned.

How to fix it

  1. Create or check the token at https://steamcommunity.com/dev/managegameservers using the correct App ID for the game (for CS2 it is 730).
  2. Paste it into the token/GSLT startup variable (it is passed as +sv_setsteamaccount).
  3. One token per server: a token used by two servers at once gets one of them kicked.

Could not connect to Steam

warning steam source

In the console

Could not establish connection to Steam servers
Connection to Steam servers lost
No Steam connection

The server lost or could not open its connection to Steam. Players may not be able to join or see it in the browser until it reconnects. Short outages on Steam's side are common (Tuesday maintenance).

How to fix it

  1. Wait a few minutes; the server normally reconnects on its own.
  2. If it never connects, check the node's outbound network and DNS (see any DNS findings).
  3. Check the GSLT if the game requires one.

Game server needs an update

warning steam source

In the console

Your server is out of date
MasterRequestRestart
Your server is out of date. Please update and restart

Steam released a game update. Players on the new version cannot join until the server is updated.

How to fix it

  1. Restart the server: most Steam eggs run SteamCMD with auto-update on start.
  2. If the egg does not auto-update, enable its auto-update variable or run a reinstall (back up configs first).

Source engine fatal error: message

critical source

In the console

Host_Error: message
Engine Error: message

The Source engine hit an unrecoverable error and stopped or changed map. The message names the cause (a broken map, a missing model or sound, too many entities, an addon bug).

How to fix it

  1. Read the message: it usually names the file or limit involved.
  2. If it mentions a map or model, re-download that content or remove the addon that provides it.
  3. Update Metamod/SourceMod and plugins after game updates.

Map not found: map

critical source

In the console

Map_IsValid: No map named 'map'
Couldn't find map…map
map load failed: map not found

The start map in the startup command or config does not exist on the server.

How to fix it

  1. Check the map name startup variable for typos (names are case-sensitive on Linux).
  2. If it is a workshop or custom map, make sure it was downloaded into the maps folder.

Lua error in an addon

error gmod source

In the console

[ERROR] file:line: message
Couldn't include file 'file'

An addon or gamemode script failed at line line: see the console. Repeated Lua errors cost performance and can break gameplay.

How to fix it

  1. The file path shows which addon is at fault (addons/<name>/...).
  2. Update that addon, or remove it to confirm.
  3. Check that all addons the gamemode depends on are installed and up to date.

SourceMod plugin error

error source sourcemod

In the console

[SM] Unable to load plugin plugin
[SM] Plugin plugin failed to load
[META] Failed to load plugin

A SourceMod or Metamod plugin failed to load or threw an exception. After game updates, gamedata often breaks until the plugin or SourceMod is updated.

How to fix it

  1. Update Metamod:Source and SourceMod to the latest builds for the game.
  2. Update the plugin named in the error, including its gamedata files.
  3. Remove the plugin temporarily if the server will not start.

Oxide/Carbon plugin failed to compile: plugin

error rust oxide

In the console

Error while compiling plugin
plugin was compiled successfully … but failed
Failed to compile plugin

A plugin's C# code does not compile against the current game and Oxide/Carbon version, usually right after a Rust update.

How to fix it

  1. Update Oxide/Carbon to the latest version for the current Rust build.
  2. Download the newest version of the plugin from uMod or Codefling.
  3. Remove the plugin until an update is available.

Plugin plugin failed in hook hook

error rust oxide

In the console

Failed to call hook 'hook' on plugin 'plugin'

A plugin threw an exception while handling a game event. The rest of the server keeps running, but that plugin's feature does not work.

How to fix it

  1. Update the plugin.
  2. Check its config and data files for invalid values.
  3. If it is spamming the console every tick, unload it with oxide.unload <name>.

Null reference in mod or plugin code

warning rust unity

In the console

NullReferenceException

Code tried to use an object that does not exist. In modded Unity games (Rust, Valheim, 7 Days to Die) this is nearly always a plugin or mod bug.

How to fix it

  1. Look at the stack trace for the plugin or mod name.
  2. Update it, or remove it if the errors repeat.

Unity could not load library library

error unity

In the console

DllNotFoundException: library
Fallback handler could not load library library

A native library the game or a mod needs is missing or built for another platform. Some 'could not load library' lines at startup are harmless (graphics libraries on a headless server).

How to fix it

  1. If the game still starts and works, ignore warnings about graphics or audio libraries.
  2. Otherwise reinstall/validate the server, and make sure mods are the Linux builds.

BepInEx mod error

error unity valheim bepinex

In the console

[Error : BepInEx]
Could not load [plugin] because it has missing dependencies
[Fatal : BepInEx]

The BepInEx mod loader reported an error: a mod is missing a dependency (plugin), is built for another game version, or failed to start.

How to fix it

  1. Install the dependencies listed for the mod (for Valheim usually Jotunn or BepInExPack).
  2. Update mods after game updates; many break with each patch.
  3. Check BepInEx/LogOutput.log for the full error.

tModLoader mod failed to load

error terraria

In the console

An error occurred while loading mod
Missing mod: mod

A Terraria mod could not load. It needs another mod, is built for another tModLoader version, or is disabled.

How to fix it

  1. Enable or install the missing mod in enabled.json / the Mods folder.
  2. Update the mod and tModLoader to matching versions.

Unreal Engine fatal error

critical unreal ark palworld satisfactory

In the console

LowLevelFatalError
Fatal error: [File:
Unhandled Exception: SIGSEGV

An Unreal Engine game server (ARK, Palworld, Satisfactory...) crashed. The lines around it name the module that failed.

How to fix it

  1. Validate/reinstall the server files through the egg.
  2. Remove recently added mods.
  3. Check the Performance tab: these servers often crash when memory hits the limit.

Factorio mods failed to load

error factorio

In the console

Error ModManager.cpp
Failed to load mods:
Error Util.cpp:…: Failed to load mod

A mod is incompatible with this Factorio version or with another mod.

How to fix it

  1. Update the mods (matching the server's Factorio version) or disable the one named in the error in mod-list.json.

Save is from a newer Factorio version

critical factorio

In the console

Map version map cannot be loaded because it is higher than the game version

The save was made with a newer Factorio than the server runs.

How to fix it

  1. Update the server's Factorio version (version startup variable, then reinstall), or load an older save.

FiveM/RedM license key problem

critical fivem redm

In the console

sv_licenseKey … invalid
license key invalid
Failed to verify server license
No license key was specified

The Cfx.re license key is missing, invalid, or tied to another IP. Without it the server will not start.

How to fix it

  1. Create or check a key at https://portal.cfx.re (Server Registration Keys).
  2. Put it in the license key startup variable (or sv_licenseKey in server.cfg) without quotes or spaces.

Resource resource failed to start

error fivem redm

In the console

Couldn't start resource resource
Failed to start resource resource
Could not find resource resource

A resource listed in server.cfg could not start: it is missing from the resources folder, its fxmanifest.lua is broken, or a dependency is not started first.

How to fix it

  1. Check the resource folder name matches the 'ensure' line in server.cfg.
  2. Make sure its dependencies are ensured above it in server.cfg.
  3. Validate fxmanifest.lua (or __resource.lua) syntax.

Script error in a resource

error fivem redm

In the console

SCRIPT ERROR: @resource/file:line

A Lua or JS script in the resource threw an error at file:line.

How to fix it

  1. Open the file and line in the resource and check the error message.
  2. Common causes: a missing export from another resource, an outdated framework (ESX/QBCore) version, or a SQL table that does not exist.

server.cfg could not be loaded

critical fivem redm

In the console

server.cfg … not found
Could not open configuration file

The server could not read its configuration file, so it has no resources, ports or license configured.

How to fix it

  1. Make sure server.cfg exists in the folder the startup command points to (+exec server.cfg).
  2. Check the file name and capitalisation.

Not sure which one you have?

Paste your log into the live demo, or install Cardinal Review Lite and it will point at the line for you. Lite is free.