Native Linux server (with management scripts)

Regarding the second part: Were you trying to run the "rendermap" command at that time?

@first one: Might just as well be related to the max open files too. Looks like the engine is often keeping a lot of files opened and AFAIK net sockets are counted in too...

Can't say for sure though. You might try increasing the files limit as shown by qriff here.

 
Ok thanks I'll try it as soon as I'm back, hope it will work.

I'm not on a wrong version though right? Cause I couldn't find the release notes for v52 yet :D

No I wasn't trying to run the command I just noticed the server wasn't running right so I checked the logs and found the exception.

 
Last edited by a moderator:
Well, I hope this isn't a major problem for now ... but I'll probably have to further improve the rendering stuff so there are less file accesses.

v52 probably was a bump to the server mod. I should really get that done differently, it's kinda annoying how it works right now ;)

 
As described in that post I edited the file and added the entries:

sdtd hard nofile 16384sdtd soft nofile 8192
I even rebooted after that but no luck im afraid :(

2014.09.04 17:44:36: Exception: ServicesGameServer.Initialize failed: SteamInitializeFailed

2014.09.04 17:44:36: at ManagedSteam.ServicesGameServer.Startup (UInt32 ip, UInt16 steamPort, UInt16 gamePort, UInt16 queryPort, ServerMode serverMode, System.String versionString) [0x00000] in <filename unknown>:0

2014.09.04 17:44:36: at ManagedSteam.ServicesGameServer.Initialize (System.Globalization.CultureInfo activeCulture, UInt32 ip, UInt16 steamPort, UInt16 gamePort, UInt16 queryPort, ServerMode serverMode, System.String versionString) [0x00000] in <filename unknown>:0

2014.09.04 17:44:36: at ManagedSteam.ServicesGameServer.Initialize (UInt32 ip, UInt16 steamPort, UInt16 gamePort, UInt16 queryPort, ServerMode serverMode, System.String versionString) [0x00000] in <filename unknown>:0

2014.09.04 17:44:36: at SteamMasterServer.Connect (UnityEngine.MonoBehaviour _mono) [0x00000] in <filename unknown>:0

2014.09.04 17:44:36: at GameManager.md0011 () [0x00000] in <filename unknown>:0

2014.09.04 17:44:36: at GameManager.Awake () [0x00000] in <filename unknown>:0

2014.09.04 17:44:36: Unloading 5 Unused Serialized files (Serialized files now loaded: 1 / Dirty serialized files: 0)

2014.09.04 17:44:36: Unloading 153 unused Assets to reduce memory usage. Loaded Objects now: 94076.

2014.09.04 17:44:36: Total: 116.552002 ms (FindLiveObjects: 5.977000 ms CreateObjectMapping: 0.578000 ms MarkObjects: 109.618004 ms DeleteObjects: 0.298000 ms)

Then a player tried to join which failed => 2014.09.04 17:45:04: ServicesGameServer not initialzed!

I found a few more things, though some of them were occuring before that error:

2014.09.04 17:43:51: The file '/home/sdtd/engine/7DaysToDie_Data/mainData' is corrupted! Remove it and launch unity again!

2014.09.04 17:43:51: [Position out of bounds! 931644 > 931640]

2014.09.04 17:43:51: The class named 'Localization' is abstract. The script class can't be abstract!

2014.09.04 17:43:56: The file '/home/sdtd/engine/7DaysToDie_Data/level0' is corrupted! Remove it and launch unity again!

2014.09.04 17:43:56: [Position out of bounds! 162972 > 162968]

2014.09.04 17:43:56: The file '/home/sdtd/engine/7DaysToDie_Data/level0' is corrupted! Remove it and launch unity again!

2014.09.04 17:43:56: [Position out of bounds! 163560 > 163556]

I dont think the last messages are interesting though. Weirdly enough my other Instance which is Navezgane based with close to 0 players is still running and can be restarted..

Any more ideas :/ ?

 
Ok so, this deserves a seperate post :D . I finally got it working again!

It would seem as though the Region folder had too many files in it...

I deleted all the regions outside of those that players had keystoned and then the server just started up again...

So it would seem that once the region folder gets too large the server will just crash? Anyone else experience something like this? FYI my region folder was about 6.7GB.

 
Ah, good to know this was causing problems. I have heard of larger region folders (12 GiB) but they were running the Windows build ;)

The other "errors" are ok.

Alpha 9.2

Currently I'm missing the new engine files but that will most likely be fixed during the evening (CEST). So like in 4hrs probably.

 
Ok, version 53 seems to be ok.

DO NOT FORGET TO READ THE RELEASE NOTES OF THE SCRIPTS!

 
Hello friend, updated the game and the script(v53), but now when I type "sudo 7dtd.sh start MyInstances" I get the following error message: Failed!

 
Just quoting myself this time:

DO NOT FORGET TO READ THE RELEASE NOTES OF THE SCRIPTS!
If it hadn't been just one post above yours it would be different ... but I'm not writing all this stuff for fun :(

 
Any news yet for Dedicated server on Windows ? Kinda sad....
o.O

What's that got to do with Linux? Also, what news would you expect? Dedi on Windows has been officially there since 7.8 (iirc) ...

 
"DO NOT FORGET TO READ THE RELEASE NOTES OF THE SCRIPTS!"

you mean this....

Note: This updated only script files. If the global config file

/etc/7dtd.conf contains changes for the newer version or there

were new files added to the user folder /home/sdtd those changes

have not been applied!
Or something else.. either way its not very clear what users should be paying attention too exactly or where these notes can be found.

 
Nope, I was talking about this part which points you to the release notes:

Code:
Please check the release notes before continuing:
 https://7dtd.illy.bz/wiki/Release%20Notes
;)

(And I think it's actually really clearly said there what and where ;) Not reading command output doesn't mean there is none or that it wouldn't contain anything useful)

Also release notes for a software product can be found on the product's website most of the time so that would be a good place to start.

Not meant to be harsh or anything but I just don't like documenting all that stuff and trying to get the commands to point you at what to do for people not even reading it. That's just making me having to repeat instructions over and over again and you (as in "the user") having to wait for my response on questions. That's kinda frustrating :(

 
Last edited by a moderator:
Any news yet for Dedicated server on Windows ? Kinda sad....
Linux support is already an after thought for the funpimps, don't be distracting our Alloc with this windows support nonsense :p

 
7dtd.sh start da♥♥♥♥

Failed!

logs says...

Mono path[0] = '/home/sdtd/engine/7DaysToDie_Data/Managed'Mono path[1] = '/home/sdtd/engine/7DaysToDie_Data/Mono'

Mono config path = '/home/sdtd/engine/7DaysToDie_Data/Mono/etc'

Invalid serialized file version. File: "/home/sdtd/engine/7DaysToDie_Data/mainData". Expected version: 4.5.0f6. Actual version: 4.5.3f3.

(Filename: Line: 736)

Failed to read file '/home/sdtd/engine/7DaysToDie_Data/mainData' because it is corrupted.

(Filename: Line: 442)

PlayerInitEngineNoGraphics settings: Could..... not preload global game manager #0 i=0

Failed to initialize player
updated scripts .. and did the "You have to download the linux_files-archive again!. After that please run 7dtd.sh updateengine --force. "

 
Back
Top