Jump to content

Dedicated server won't start if Steam is NOT running


Recommended Posts

I have a dedicated server. On startup, if Steam is not running, I get this:

[00:00:08]: Reset() returning
[00:00:08]: [Steam] SteamGameServer_Init(12345, 10999, 12346)
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Segmentation fault (core dumped)
 

If Steam is running for the same user account that I'm running the server under, it starts up just fine.

Since when is Steam required to be running to get a dedicated server running? More importantly, how do I start a dedicated server without Steam itself running?

Edit: omg I derped the title. The server won't start if Steam is NOT running

Link to comment
Share on other sites

23 hours ago, KittenCanaveral said:

I have never seen this , my server starts up fine with or without my local client logged in.  I do wonder what might be causing this for you.

Well that makes two of us. It is a clean server install using Steamcmd, with zero customization. I've been running it for over a week now, and it's working just fine. But if steam isn't running, the server segfaults.

[00:00:12]: Telling Client our new session identifier: F7026421DAD74284
[00:00:12]: [Steam] SteamGameServer_Init(8766, 10999, 27016)
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Segmentation fault (core dumped)

If I run Steam:

[00:00:08]: Telling Client our new session identifier: F7026421DAD74284
[00:00:08]: ModIndex: Load sequence finished successfully.    
[00:00:08]: Reset() returning
[00:00:08]: [Steam] SteamGameServer_Init(8766, 10999, 27016)
Setting breakpad minidump AppID = 322330
[00:00:08]: [Steam] SteamGameServer_Init success

You can see it doing some sort of steam api init. The last thing it does before the segfault is check to see if Steam is running. No steam results in a segfault. If Steam is running, it starts fine. And once it is started, I can close Steam, it seems it only checks Steam on server startup, and does not care after that.

Weird. Beyond weird...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...