CSharpCompilerSolved

Sorry, but I do not know English well, so I use google translator.
I am installing rust server on debian11 following this article https://www.rustafied.com/how-to-host-a-rust-server-in-linux.

At the installation stage, in the Oxide block, you need to give the rights “CSharpCompiler”, but based on the current version of Oxide (build for Linux) on the Umod website after unpacking with the replacement of all files and starting the server, such a CSharpCompiler file does not exist, but instead there is Compiler. x86_x64 after starting the server with Oxidemode. I understand this is a new file instead of the old one or not?

If this is a new file of a new compiler at the moment then help solve the problem.

(02:54:24) | ExType: TypeInitializationException (02:54:24) | Exception while starting compiler version : (Exception: Magic number is wrong: 542) at System.TermInfoReader.ReadHeader (System.Byte[] buffer, System.Int32& position) [0x00028] in <fb001e01371b4adca20013e0ac763896>:0 at System.TermInfoReader..ctor (System.String term, System.String filename) [0x0005f] in <fb001e01371b4adca20013e0ac763896>:0 at System.TermInfoDriver..ctor (System.String term) [0x00055] in <fb001e01371b4adca20013e0ac763896>:0 at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <fb001e01371b4adca20013e0ac763896>:0 at System.ConsoleDriver..cctor () [0x0004d] in <fb001e01371b4adca20013e0ac763896>:0 (02:54:24) | Compiler may not be set as executable; chmod +x or 0744/0755 required (02:54:24) | BaseException: (Exception: Magic number is wrong: 542) at System.TermInfoReader.ReadHeader (System.Byte[] buffer, System.Int32& position) [0x00028] in <fb001e01371b4adca20013e0ac763896>:0 at System.TermInfoReader..ctor (System.String term, System.String filename) [0x0005f] in <fb001e01371b4adca20013e0ac763896>:0 at System.TermInfoDriver..ctor (System.String term) [0x00055] in <fb001e01371b4adca20013e0ac763896>:0 at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <fb001e01371b4adca20013e0ac763896>:0 at System.ConsoleDriver..cctor () [0x0004d] in <fb001e01371b4adca20013e0ac763896>:0 (02:54:24) | Error while compiling: compiler version couldn't be started

The rights to run the compiler file Compiler.x86_x64 for the user from which the server is started - issued

Try starting your server like this:

export 'TERM=xterm' && ./startrust.sh

Thanks, that was not the problem, but your suggestion helped get to the problem

It will help people in future if you post the solution here

Locked automatically