need help with dedicated server

Emmanuel wiese shared this bug 14 months ago
Won't Fix

Server was stopped.System.IO.IOException: The process cannot access the file 'C:\Users\emmanuel\AppData\Roaming\SpaceEngineersDedicated\SpaceEngineersDSGUI_20231028_143646128.log' because it is being used by another process.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)

at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)

at Sandbox.MyErrorReporter.TrySendReport(String logName, String gameId, String email, String feedback, CrashInfo info, String reportType, IEnumerable`1 files)

i tried a lot of different things did not work

Replies (10)

photo
0

Hello!

Thank you for contacting us. Since this is a bug report, I'm moving your ticket to our support page, where our QA team will take care of you.

Kind Regards

Keen Software House

photo
1

Hello, Emmanuel!

Thank you for writing to us, and we sincerely apologize for the issue you have been experiencing.

Could you please provide more details regarding this issue? For example, does the issue occur when stopping the server from DSGUI or when a player exits or leaves the server? Are there any MODs active on this server? If so, does the issue still occur when there are no MODs on the server? Does this issue cause the server to crash completely when it occurs?

Please try verifying Space Engineers Dedicated Server's tools files on Steam, as this might resolve the issue:

  • Right-click on Space Engineers Dedicated Server in Steam Library → Properties → Installed Files → Verify integrity of tool files

Once all files have been successfully verified, relaunch the server and check if the issue persists.

If the issue still occurs, please send us the complete log files (both of the server and the player) when the issue occurs, the server save file where this issue occurred, and also repro steps (if there are any).

  • You can access your server save files by typing %appdata% into your Windows search bar and you will be redirected to the hidden Roaming folder. After that just follow: \Roaming\SpaceEngineersDedicated\Saves.
  • Please zip the file and attach it here. If you are having difficulty attaching files you can optionally use Google Drive. When sharing a Google Drive link please make sure it is set to be downloadable by anyone with the link.

Kind Regards,

Keen Software House: QA Department

photo
1

it does that when im trying to start the server but it doesn't then it goes into a loop of restarting

photo
1

Hello, Emmanuel!

Dedicated Server could get stuck in loops of restarting because it may have failed to load any broken/obsolete MOD(s). To be ensure about this, it is recommended to kindly remove all MODs from the affected DS and check if the issue persists. If it does, as requested in our previous response, please send us server save and log files.

Kind Regards,

Keen Software House: QA Department

photo
1

something like this


2023-11-15 05:13:41.975: App Version: 01_203_505

2023-11-15 05:13:42.037: Is official: True [NO][IS][NAMP]

2023-11-15 05:13:42.038: Client Build Number: 1

2023-11-15 05:13:42.038: Server Build Number: 1

2023-11-15 05:13:42.038: Environment.ProcessorCount: 6

2023-11-15 05:13:42.061: Environment.OSVersion: Microsoft Windows 11 Enterprise (Microsoft Windows NT 6.2.9200.0)

2023-11-15 05:13:42.061: Environment.CommandLine: "C:\Users\emmanuel\Downloads\steamcmd\steamapps\common\SpaceEngineersDedicatedServer\DedicatedServer64\SpaceEngineersDedicated.exe" -noconsole -checkAlive -ignorelastsession

2023-11-15 05:13:42.061: Environment.Is64BitProcess: True

2023-11-15 05:13:42.061: Environment.Is64BitOperatingSystem: True

2023-11-15 05:13:42.076: Environment.Version: .NET Framework 4.8.9181.0

2023-11-15 05:13:42.076: Environment.CurrentDirectory: C:\Users\emmanuel\Downloads\steamcmd\steamapps\common\SpaceEngineersDedicatedServer\DedicatedServer64

2023-11-15 05:13:42.076: CPU Info: Intel(R) Core(TM) i5-9400 CPU @ 2.90GHz

Computer does not meet minimum requirements, forcing Experimental mode

2023-11-15 05:13:44.550: Bind IP : 0.0.0.0:27016

2023-11-15 05:13:47.314: Server connected to EOS

2023-11-15 05:13:47.328: Networking service: EOS

2023-11-15 05:13:47.328: Server successfully started

2023-11-15 05:13:47.328: Product name: Space Engineers

2023-11-15 05:13:47.328: Desc: Space Engineers

2023-11-15 05:13:47.328: Public IP: Undisclosed

2023-11-15 05:13:47.328: User ID: [000...288]

2023-11-15 05:13:47.609: Server Name: test

2023-11-15 05:13:47.609: World Name: Earth Planet

2023-11-15 05:13:47.832: Remote API unable to start. Run dedicated server in administrator mode or use AllowRemoteHttp.bat file. Also check nothing else is running on port 8080.

Server was stopped.System.IO.IOException: The process cannot access the file 'C:\Users\emmanuel\AppData\Roaming\SpaceEngineersDedicated\SpaceEngineersDSGUI_20231115_051203474.log' because it is being used by another process.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)

at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)

at Sandbox.MyErrorReporter.TrySendReport(String logName, String gameId, String email, String feedback, CrashInfo info, String reportType, IEnumerable`1 files)

photo
1

Hello Emmanuel,


You are not launching the Dedicated server as admin, please do so. Also another process is currently working with the log file in C:\Users\emmanuel\AppData\Roaming\SpaceEngineersDedicated, please deactivate this program. You also have to open port 8080 for the dedicated server to work properly.


After these steps restart your computer and try to launch server again. If you are still unable to, please share your entire log file with me.


Thank you in advance.


Kind Regards,

Keen Software House: QA Department

photo
1

Hello Engineer,

as there has been no reply to this thread in some time, we will close it. If you're experiencing this issue, please create a new thread.

Kind regards,

Keen Software House: QA Department

photo
1

how do i deactivate the log file in C:\Users\emmanuel\AppData\Roaming\SpaceEngineersDedicated, and sorry for the long wait i was moving at the time still moving boxes but i got the pc

photo
1

Hello Emmanuel,


You will not need to deactivate the log file in C:\Users\emmanuel\AppData\Roaming\SpaceEngineersDedicated. It means that another program is using it. Without examining your computer I cannot tell which programs you are using on your PC and you need to investigate it yourself, then deactivate the process.


Thank you for understanding.


Kind Regards,

Keen Software House: QA Department

photo
1

Hello Engineer,

as there has been no reply to this thread in some time, we will close it. If you're experiencing this issue, please create a new thread.

Kind regards,

Keen Software House: QA Department

Leave a Comment
 
Attach a file