Native Linux server (with management scripts)

Wrong thread.
I deserved it.

Please note v.76 (2015-04-04) hook playerConnect $6 is missing client IP.

and

Code:
root:~# 7dtd.sh updateengine --force
Success! App '294420' fully installed.
./steamcmd.sh: line 35: 50227 Segmentation fault      $DEBUGGER "$STEAMEXE" "$@"
Also update the scripts as soon as there is a new release for this dedicated server build.
root:~# 7dtd.sh updateengine
Engine is already at the newest build (local: 578130, remote: 1).
 
I deserved it.
Why you? That wasn't on a quote of any of your posts?! ^^

Please note v.76 (2015-04-04) hook playerConnect $6 is missing client IP.
Could be fixed in the latest mod, but it mostly depends on Steam providing that information quickly enough.

Code:
root:~# 7dtd.sh updateengine --force
Success! App '294420' fully installed.
./steamcmd.sh: line 35: 50227 Segmentation fault      $DEBUGGER "$STEAMEXE" "$@"
Also update the scripts as soon as there is a new release for this dedicated server build.
root:~# 7dtd.sh updateengine
Engine is already at the newest build (local: 578130, remote: 1).
Looks "fine". Ignore any problems from SteamCMD as long as it says "Success!..."

 
Debian 7

Hello, I am expiriencing issues with my machine operating under debian. The server does not launch but it says "Set current directory to /home/steam/7daysded Found path; /home/steam/7daysded/7daysToDie.x86" while it is connecting it says "could not connect to server : could not retrieve comment"

 
Hello, I am expiriencing issues with my machine operating under debian. The server does not launch but it says "Set current directory to /home/steam/7daysded Found path; /home/steam/7daysded/7daysToDie.x86" while it is connecting it says "could not connect to server : could not retrieve comment"

Anyone for help me ? ^^

 
Dear Alloc,

Can you pls modify your script like this:

file:

scripts/usr/local/lib/7dtd/commands/updateengine.sh

Add to lin line 75 the following code:

(before the

Code:
cd $SDTD_BASE/steamcmd
               ./steamcmd.sh +login $STEAM_USER $STEAM_PASS +force_install_dir $SDTD_BASE/engine +app_update 294420 validate +quit
)

Code:
               if [$STEAM_USER = ""]; then
                       echo "Steam User:"
                       read STEAM_USER
               fi

               if [$STEAM_PASS = ""]; then
                       echo "Steam Pass:"
                       read -s STEAM_PASS
               fi
These simple line are checking if the steam user or steam password is empty. if it'S empty it asks the user for the STEAM_USER or STEAM_PASS.

It's better for security reasons. I don't like it to store my credentials in a conf file in plaintext.

Best regards

N8wolf

 
Hello, I am expiriencing issues with my machine operating under debian. The server does not launch but it says "Set current directory to /home/steam/7daysded Found path; /home/steam/7daysded/7daysToDie.x86" while it is connecting it says "could not connect to server : could not retrieve comment"
The console/stdout.log won't show any more than this if it's starting normally. The output_log should contain more info though. https://7dtd.illy.bz/wiki/Logs

Either the server doesn't completely start up or you have at least the ServerPort on TCP blocked.

LP is a core command, it's not added by the mo

Can you pls modify your script like this:...
Good idea. Will have to adapt the bootstrapper too but in the end a few people might like this ;)

 
The console/stdout.log won't show any more than this if it's starting normally. The output_log should contain more info though. https://7dtd.illy.bz/wiki/LogsEither the server doesn't completely start up or you have at least the ServerPort on TCP blocked.

LP is a core command, it's not added by the mo

Good idea. Will have to adapt the bootstrapper too but in the end a few people might like this ;)


My log

Code:
Mono path[0] = '/home/steam/7daysded/7DaysToDie_Data/Managed'
Mono path[1] = '/home/steam/7daysded/7DaysToDie_Data/Mono'
Mono config path = '/home/steam/7daysded/7DaysToDie_Data/Mono/etc'
Forcing GfxDevice: 4
NullGfxDevice:
   Version:  NULL 1.0 [1.0]
   Renderer: Null Device
   Vendor:   Unity Technologies
NullGfxDevice:
   Version:  NULL 1.0 [1.0]
   Renderer: Null Device
   Vendor:   Unity Technologies
Total system RAM: 16384 MiB
Initialize engine version: 5.0.1f1 (5a2e8fe35a68)
AudioManager: Using Unknown: NoSound Driver
Begin MonoManager ReloadAssembly
Platform assembly: /home/steam/7daysded/7DaysToDie_Data/Managed/UnityEngine.dll (this message is harmless)
Loading /home/steam/7daysded/7DaysToDie_Data/Managed/UnityEngine.dll into Unity Child Domain
Platform assembly: /home/steam/7daysded/7DaysToDie_Data/Managed/Assembly-CSharp-firstpass.dll (this message is harmless)
Loading /home/steam/7daysded/7DaysToDie_Data/Managed/Assembly-CSharp-firstpass.dll into Unity Child Domain
Platform assembly: /home/steam/7daysded/7DaysToDie_Data/Managed/Assembly-CSharp.dll (this message is harmless)
Loading /home/steam/7daysded/7DaysToDie_Data/Managed/Assembly-CSharp.dll into Unity Child Domain
Platform assembly: /home/steam/7daysded/7DaysToDie_Data/Managed/Assembly-UnityScript-firstpass.dll (this message is harmless)
Loading /home/steam/7daysded/7DaysToDie_Data/Managed/Assembly-UnityScript-firstpass.dll into Unity Child Domain
Platform assembly: /home/steam/7daysded/7DaysToDie_Data/Managed/Assembly-UnityScript.dll (this message is harmless)
Loading /home/steam/7daysded/7DaysToDie_Data/Managed/Assembly-UnityScript.dll into Unity Child Domain
Platform assembly: /home/steam/7daysded/7DaysToDie_Data/Managed/UnityEngine.UI.dll (this message is harmless)
Loading /home/steam/7daysded/7DaysToDie_Data/Managed/UnityEngine.UI.dll into Unity Child Domain
Platform assembly: /home/steam/7daysded/7DaysToDie_Data/Managed/ICSharpCode.SharpZipLib.dll (this message is harmless)
Loading /home/steam/7daysded/7DaysToDie_Data/Managed/ICSharpCode.SharpZipLib.dll into Unity Child Domain
Platform assembly: /home/steam/7daysded/7DaysToDie_Data/Managed/libnoise.dll (this message is harmless)
Loading /home/steam/7daysded/7DaysToDie_Data/Managed/libnoise.dll into Unity Child Domain
Platform assembly: /home/steam/7daysded/7DaysToDie_Data/Managed/LogLibrary.dll (this message is harmless)
Loading /home/steam/7daysded/7DaysToDie_Data/Managed/LogLibrary.dll into Unity Child Domain
Platform assembly: /home/steam/7daysded/7DaysToDie_Data/Managed/ProfileAttribute.dll (this message is harmless)
Loading /home/steam/7daysded/7DaysToDie_Data/Managed/ProfileAttribute.dll into Unity Child Domain
Platform assembly: /home/steam/7daysded/7DaysToDie_Data/Managed/NSpeex.dll (this message is harmless)
Loading /home/steam/7daysded/7DaysToDie_Data/Managed/NSpeex.dll into Unity Child Domain
Platform assembly: /home/steam/7daysded/7DaysToDie_Data/Managed/EasyAntiCheat.Client.dll (this message is harmless)
Loading /home/steam/7daysded/7DaysToDie_Data/Managed/EasyAntiCheat.Client.dll into Unity Child Domain
Platform assembly: /home/steam/7daysded/7DaysToDie_Data/Managed/EasyAntiCheat.Server.dll (this message is harmless)
Loading /home/steam/7daysded/7DaysToDie_Data/Managed/EasyAntiCheat.Server.dll into Unity Child Domain
Platform assembly: /home/steam/7daysded/7DaysToDie_Data/Managed/LitJson.dll (this message is harmless)
Loading /home/steam/7daysded/7DaysToDie_Data/Managed/LitJson.dll into Unity Child Domain
Platform assembly: /home/steam/7daysded/7DaysToDie_Data/Managed/UMA.dll (this message is harmless)
Loading /home/steam/7daysded/7DaysToDie_Data/Managed/UMA.dll into Unity Child Domain
- Completed reload, in  0.047 seconds
Platform assembly: /home/steam/7daysded/7DaysToDie_Data/Managed/System.Core.dll (this message is harmless)
Platform assembly: /home/steam/7daysded/7DaysToDie_Data/Managed/System.dll (this message is harmless)
Platform assembly: /home/steam/7daysded/7DaysToDie_Data/Managed/System.Xml.dll (this message is harmless)
Platform assembly: /home/steam/7daysded/7DaysToDie_Data/Managed/UnityScript.Lang.dll (this message is harmless)
Platform assembly: /home/steam/7daysded/7DaysToDie_Data/Managed/Boo.Lang.dll (this message is harmless)
Shader 'Legacy Shaders/Reflective/Diffuse': fallback shader 'Legacy Shaders/Reflective/VertexLit' not found
2015-04-11T23:58:07 0.000 INF Awake
Total system RAM: 16384 MiB
2015-04-11T23:58:07 0.052 INF Version: Alpha 11.2 (b3) Compatibility Version: Alpha 11.2, OS: Linux 32 Bit 16384MB RAM
2015-04-11T23:58:07 0.063 INF Last played version: Alpha 11.2
2015-04-11T23:58:07 0.064 INF Local UTC offset: -4 hours
2015-04-11T23:58:07 0.068 INF Command line arguments: ./7DaysToDie.x86 -logfile 7DaysToDie_Data/output_log__2015-04-11__23-58-04.txt
2015-04-11T23:58:07 0.073 INF No server config file loaded ("-configfile=somefile.xml" not given or could not be loaded)
2015-04-11T23:58:07 0.073 INF Dedicated server only build
WARNING: Shader Unsupported: 'Hidden/Dof/DX11Dof' - Setting to default shader.
WARNING: Shader Unsupported: 'Hidden/SSAO' - Setting to default shader.
HDR and MultisampleAntiAliasing (in Forward Rendering Path) is not supported. This camera will render without HDR buffers. Disable Antialiasing in the Quality settings if you want to use HDR.

(Filename:  Line: 2630)

HDR RenderTexture format is not supported on this platform. This camera will render without HDR buffers.

(Filename:  Line: 2632)

HDR and MultisampleAntiAliasing (in Forward Rendering Path) is not supported. This camera will render without HDR buffers. Disable Antialiasing in the Quality settings if you want to use HDR.

(Filename:  Line: 2630)

HDR RenderTexture format is not supported on this platform. This camera will render without HDR buffers.

(Filename:  Line: 2632)

HDR Render Texture not supported, disabling HDR on reflection probe.

(Filename:  Line: 241)

WARNING: Shader Unsupported: 'Suimono/effect_refractDroplets' - Setting to default shader.
WARNING: Shader Unsupported: 'Suimono/effect_refractionViewDepth' - Setting to default shader.
2015-04-11T23:58:11 4.160 INF WorldStaticData.Init() needed 2.601s
Total system RAM: 16384 MiB
2015-04-11T23:58:13 6.067 INF Loading permissions file at '/root/7 Days To Die/Saves/serveradmin.xml'
2015-04-11T23:58:13 6.097 INF Loading permissions file done.
2015-04-11T23:58:13 6.117 INF Awake done
My port : 26900 And my firewall

10 permit 26902 tcp any permit tcp any xxxxxxxxxx/32 eq 26902

11 permit 26901 tcp any permit tcp any xxxxxxxxxx/32 eq 26901

12 permit 26903 tcp any permit tcp any xxxxxxxxxx/32 eq 26903

15 permit 26900 tcp any permit tcp any xxxxxxxxxx/32 eq 26900

 
Last edited by a moderator:
Code:
2015-04-11T23:58:07 0.073 INF No server config file loaded ("-configfile=somefile.xml" not given or could not be loaded)
 
Hello

i need 2 instances (servers) with different Server Settings ( loot, items, biomes.xml)

can every instance have different xml Settingfiles ? ( instancesname/engine/data/config folder )

 
Not with the scripts as they are as you would have to create two completely independent engine folders. But if you modify the start-script to point to an instanced-path for the engine and create those folders manually this should work.

 
Not with the scripts as they are as you would have to create two completely independent engine folders. But if you modify the start-script to point to an instanced-path for the engine and create those folders manually this should work.
Thank you, but it's too difficult for me :hypnotysed:

 
just edit the bootstrap.sh and install ?

installManagementScripts() {

echo -e "Downloading and installing management scripts\n"

wget -nv http://illy.bz/fi/7dtd/management_scripts.tar.gz -O /tmp/management_scripts.tar.gz

tar --touch --no-overwrite-dir -xzf /tmp/management_scripts.tar.gz -C /

chown root.root /etc/7dtd_secondserver.conf

chmod 0600 /etc/7dtd_secondserver.conf

chown sdtd.sdtd /home/sdtd_secondserver -R

chown root.root /etc/init.d/7dtd_secondserver.sh

chown root.root /etc/bash_completion.d/7dtd_secondserver

chown root.root /etc/cron.d/7dtd-backup_secondserver

chown root.root /usr/local/bin/7dtd_secondserver.sh

chown root.root /usr/local/lib/7dtd_secondserver -R

chmod 0755 /etc/init.d/7dtd_secondserver.sh

chmod 0755 /etc/bash_completion.d/7dtd_secondserver

chmod 0755 /etc/cron.d/7dtd-backup_secondserver

chmod 0755 /usr/local/bin/7dtd_secondserver.sh

chmod 0755 /usr/local/lib/7dtd_secondserver -R

 
alloc, can you add some constans in the next patch like instanceconfigfolder = pathtofolder,

or each instances have a independant /configfolder for the *.xml files in the future

 
just edit the bootstrap.sh and install ?...
That alone won't do it, there's a lot more to change. As I said the easier route would be to "just" edit the start-script to look for a different location of the engine and then copy the engine to each of these locations.

alloc, can you add some constans in the next patch like instanceconfigfolder = pathtofolder,or each instances have a independant /configfolder for the *.xml files in the future
Nope, that's quite a bunch of overhead that won't apply to a lot of people. You would basically create multiple copies of the ~2 GiB server files.

(Things like these will probably come when the game has better modding support)

 
Hello all together I hope I'm right here. If not I'm sorry.

I tried to install the server on my Debian VServer once with the bootstrap.sh and once manual and everytime I get a message that the scripts are maybe not working with the build. I continued the installation without further errors but as expected if I tried to start an instance it failed.

Is there somthing not up to date with the files? or is there any logfile that could help me?

Sorry for my english and greetings from germany :)

 
Back
Top