Jump to content

[Solved] error starting steam-based networking on server


Runningman

Recommended Posts

I recently installed the "manger" script from http://www.avorion.net/forum/index.php/topic,642.0.html on my linux dedicated server.

Now I have issues with steam networking on server startup:

 

Wed Feb  1 15:31:19 2017| Enabled Traces:
Wed Feb  1 15:31:19 2017| Avorion server Beta 0.10.2 r7392 running on Ubuntu 16.04.1 LTS starting up in "/home/steam/.avorion/galaxies/avorion_galaxy"
Wed Feb  1 15:31:19 2017| CPU: Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz 4 Cores
Wed Feb  1 15:31:19 2017| name: Zeus
Wed Feb  1 15:31:19 2017| seed: H5ZifblM9d
Wed Feb  1 15:31:19 2017| port: 27000
Wed Feb  1 15:31:19 2017| max online players: 10
Wed Feb  1 15:31:19 2017| save interval: 600
Wed Feb  1 15:31:19 2017| broadcast interval: 5
Wed Feb  1 15:31:19 2017| max loaded sector time: 300
Wed Feb  1 15:31:19 2017| weak update: yes
Wed Feb  1 15:31:19 2017| worker threads: 4
Wed Feb  1 15:31:19 2017| difficulty: Beginner
Wed Feb  1 15:31:19 2017| infiniteResources: no
Wed Feb  1 15:31:19 2017| collision: 1
Wed Feb  1 15:31:19 2017| access list: Blacklist
Wed Feb  1 15:31:19 2017| public: yes
Wed Feb  1 15:31:19 2017| authentication: yes
Wed Feb  1 15:31:19 2017| listed: no
Wed Feb  1 15:31:19 2017| steam networking & authentication: yes
Wed Feb  1 15:31:19 2017| administrators: 'admin'
Wed Feb  1 15:31:19 2017| Warning: Command status has not been assigned to a user group.
Wed Feb  1 15:31:19 2017| Starting up 4 worker threads.
Wed Feb  1 15:31:19 2017| SteamGameServer_Init call failed
Wed Feb  1 15:31:19 2017| Error starting steam-based networking. Defaulting to standard TCP/UDP protocols.
Wed Feb  1 15:31:19 2017| Further steam-related error messages can be safely ignored.

 

When doing an update with the "manager update" command, I saw that it downloaded a small portion of a patch.

Login on the server is possible, but is taking more time to connect now.

 

Before using the script and starting the game manually with "screen ./server.sh" I did not have such an issue.

Any tips or advice ?

Link to comment
Share on other sites

  • Boxelware Team

Can you run it from the command line does it work there?

If yes, then it's a problem with loaded libraries, you'll have to make sure the game finds the steamclient.so file.

If not, please post the output from the command line, steam prints these errors to the command line, not the logs.

Link to comment
Share on other sites

  • 1 month later...

Hi Koonschi,

 

I have a similar problem. I copied the steamclient.so into the bin directory and where the server is started (where the server.sh is, currently manual in a screen session).

 

 

Listed server version: 0.11.0.7783

[s_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.

FillInMachineIDInfo took a total of 3 milliseconds

SteamGameServer_Init call failed

Error starting steam-based networking. Falling back to standard TCP/UDP protocols.

The server will not be authenticated via Steam and won't show up in public server lists.

WARNING: The fallback TCP/UDP protocols are deprecated and potentially UNSAFE!

        If you're running a dedicated server, this is HIGHLY discouraged!

        Use steam networking instead; Enable with --use-steam-networking 1

Server startup complete.

/stop

Server is shutting down.

Saving settings...

Saving script values...

Saving factions...

Saving sectors...

Saving jumping ships...

Saving groups...

Saving settings...

waiting for unfinished sector generation jobs...

waiting for unfinished sector save jobs...

shutting down networking...

cleaning up communicators...

waiting for unfinished sector generation jobs...

waiting for unfinished sector save jobs...

shutting down galaxy...

shutting down faction database...

shutting down sector database...

cleaning up timers...

Server shutdown successful.

 

gameserver@host1:~/Steam/SteamApps/common/Avorion$ ls

Documentation  GLEW_License.txt  bin  client.sh  data  license.txt  runServer.sh  server.sh  steamclient.so  trace.log

 

gameserver@host1:~/Steam/SteamApps/common/Avorion$ ls bin

Avorion  AvorionServer  libsteam_api.so  steam_appid.txt  steamclient.so

 

gameserver@host1:~/Steam/SteamApps/common/Avorion$ file bin/steamclient.so

bin/steamclient.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=21038ccd9304e7e000595a04d1c83a287d784067, not stripped

 

gameserver@host1:~/Steam/SteamApps/common/Avorion$ file bin/AvorionServer

bin/AvorionServer: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=348be70482fd133e568247244d2344a469da041f, not stripped

 

 

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...