1. Hello, I'm using rust + oxide on Centos 7 x64
    All is installed and server starts with oxide and plugins.
    When I trying add new plugins or reload after 2-3 I get this error:

    User running server may not have the proper permissions or install is missing files
    Error while compiling: compiler v0.0.0.0 was closed unexpectedly

    I thought it was problems with LD_LIBRARY_PATH env variable.
    Normally after running "env" command I see:
    LD_LIBRARY_PATH=/steamcmd/rust:/steamcmd/rust/RustDedicated_Data

    After running
    LD_TRACE_LOADED_OBJECTS=1 /steamcmd/rust/CSharpCompiler.x86_x64
    I saw:
    linux-vdso.so.1 => (0x00007ffc2a78d000)
    libmonoboehm-2.0.so.1 => not found
    libc.so.6 => /lib64/libc.so.6 (0x00007f2383be8000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f2383fb2000)

    I found libmonoboehm-2.0.so.1 file in /steamcmd/rust/RustDedicated_Data/Managed/x64
    Then I've ran command:
    export LD_LIBRARY_PATH=/steamcmd/rust:/steamcmd/rust/RustDedicated_Data:/steamcmd/rust/RustDedicated_Data/Managed/x64

    After that after LD_TRACE command I see:

    linux-vdso.so.1 => (0x00007ffc07b81000)
    libmonoboehm-2.0.so.1 => /steamcmd/rust/RustDedicated_Data/Managed/x64/libmonoboehm-2.0.so.1 (0x00007f3d13746000)
    libc.so.6 => /lib64/libc.so.6 (0x00007f3d1337d000)
    libm.so.6 => /lib64/libm.so.6 (0x00007f3d1307b000)
    librt.so.1 => /lib64/librt.so.1 (0x00007f3d12e73000)
    libdl.so.2 => /lib64/libdl.so.2 (0x00007f3d12c6e000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f3d12a52000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f3d13cda000)

    I've rebooted server, and at the begining all was good, but then again I get same error.
    All files have same user:group like running process, permissions set. Anyone can help?
     
  2. Wulf

    Wulf Community Admin

    You cannot manually run a trace as Oxide sets up paths and such during runtime. The library path is also already set by Oxide. Your issue is not with the paths, it is that something is causing the compiler to close or crash.

    I'm unsure why you'd be having issues with the compiler closing. Does it happen every time you try to reload a plugin after it starts?
     
  3. After server starts, sometimes I can load new plugins 2-3 times, or reload, and then I get this error.

    21:35 [Info] Loading Oxide Core v2.0.3688...
    21:35 [Info] Loading extensions...
    21:36 [Info] Latest compiler MD5: 8ce6d27e7718e3d164766bba8833537a
    21:36 [Info] Local compiler MD5: 8ce6d27e7718e3d164766bba8833537a
    21:36 [Info] Loaded extension CSharp v2.0.3688 by Oxide and Contributors
    21:36 [Info] Loaded extension MySql v2.0.3688 by Oxide and Contributors
    21:36 [Info] Loaded extension Rust v2.0.3688 by Oxide and Contributors
    21:36 [Info] Loaded extension SQLite v2.0.3688 by Oxide and Contributors
    21:36 [Info] Loaded extension Unity v2.0.3688 by Oxide and Contributors
    21:36 [Info] Using Covalence provider for game 'Rust'
    21:36 [Info] Loading plugins...
    21:36 [Info] Loaded plugin Rust v2.0.3688 by Oxide and Contributors
    21:36 [Info] Loaded plugin Unity v2.0.3688 by Oxide and Contributors
    21:36 [Info] CraftingController, DeathNotes, GatherManager, Kits, NTeleportation, QuickSmelt, RemoveAAA, StackSizeController and Vanish were compiled successfully in 2180ms
    21:36 [Info] Loaded plugin Crafting Controller v2.4.7 by Mughisi
    21:36 [Info] Loaded plugin Death Notes v5.2.17 by LaserHydra
    21:36 [Info] Loaded plugin Gathering Manager v2.2.6 by Mughisi
    21:36 [Info] Loaded plugin Kits v3.2.9 by Reneb
    21:36 [Info] Loaded plugin NTeleportation v1.0.22 by Nogrod
    21:36 [Info] Loaded plugin QuickSmelt v3.0.3 by Wulf/Fujikura
    21:36 [Info] Loaded plugin RemoveAAA v0.4.6 by Tuntenfisch
    21:36 [Info] Loaded plugin Stack Size Controller v1.9.9 by Canopy Sheep
    21:36 [Info] Loaded plugin Vanish v0.4.1 by Wulf/lukespragg
    21:36 [Info] [RemoveAAA] Loading configuration file!
    22:31 [Info] [Death Notes] A Bear followed Zombie until it finally caught him.
    22:37 [Info] [Death Notes] A Bear followed Zombie until it finally caught him.
    22:45 [Warning] User running server may not have the proper permissions or install is missing files
    22:45 [Warning] Running dependency trace for CSharpCompiler.x86_x64
    22:45 [Error] Error while compiling: compiler v0.0.0.0 was closed unexpectedly
    22:46 [Info] [Death Notes] demon19 killed a Chicken with a Stone Hatchet from 0.68m.
    22:53 [Warning] User running server may not have the proper permissions or install is missing files
    22:53 [Error] Error while compiling: compiler v0.0.0.0 was closed unexpectedly
    23:00 [Info] [Death Notes] demon19 killed a Boar with a Hunting Bow from 14.83m.
    23:04 [Info] [Death Notes] demon19 killed a Boar with a Hunting Bow from 41.16m.
    23:07 [Warning] User running server may not have the proper permissions or install is missing files
    23:07 [Error] Error while compiling: compiler v0.0.0.0 was closed unexpectedly
     
    Last edited by a moderator: Nov 1, 2017
  4. @Greizd 2 That error is generally caused by an outdated plugin but I am seeing some invalid file permission errors as well. Check file ownership on plugins and ensure they're owned by the right user group otherwise oxide cannot load them.
     
  5. -rw-r--r-- 1 root root 23314 Oct 30 22:29 CraftingController.cs
    -rw-r--r-- 1 root root 62257 Oct 30 22:27 DeathNotes.cs
    -rw-r--r-- 1 root root 28145 Oct 31 09:50 GatherManager.cs
    -rw-r--r-- 1 root root 70497 Nov 1 21:28 Kits.cs
    -rw-r--r-- 1 root root 136042 Oct 31 09:16 NTeleportation.cs
    -rwxrwxr-x 1 root root 16127 Oct 31 09:15 QuickSmelt.cs
    -rw-r--r-- 1 root root 27301 Nov 1 14:09 RemoveAAA.cs
    -rw-r--r-- 1 root root 13289 Oct 30 22:29 StackSizeController.cs
    -rw-r--r-- 1 root root 16259 Oct 30 22:23 Vanish.cs


    [root@vps1052083 plugins]# ps aux | grep Rust
    root 9627 30.4 34.2 3539536 1798268 pts/1 Ssl+ Nov01 45:03 ./RustDedicated -batchmode -nographics [...]
     
  6. @Greizd Please tell me you're not running Rust as root?
     
  7. Also tried with other user, same problem.
     
  8. @Greizd Does this error only occur when you reload a plugin? Also, I recommend installing and running root under another user other than root as it's a HUGE security risk.
     
  9. I just set user:group for another user, started server with this user, and after server start all is good like always. Then I reloaded some plugins. I've deleted plugin - Kits, and now when I'm trying to load it:

    (00:15:17) | User running server may not have the proper permissions or install is missing files
    (00:15:17) | Error while compiling: compiler v0.0.0.0 was closed unexpectedly

    P.S. reloading other plugins working for now, but don't know how long.


    -rw-r--r-- 1 rust rust 23314 Oct 30 22:29 CraftingController.cs
    -rw-r--r-- 1 rust rust 62257 Oct 30 22:27 DeathNotes.cs
    -rw-r--r-- 1 rust rust 28145 Oct 31 09:50 GatherManager.cs
    -rw-rw-r-- 1 rust rust 70497 Nov 1 21:28 Kits.cs
    -rw-r--r-- 1 rust rust 136042 Oct 31 09:16 NTeleportation.cs
    -rwxrwxr-x 1 rust rust 16127 Oct 31 09:15 QuickSmelt.cs
    -rw-r--r-- 1 rust rust 27301 Nov 1 14:09 RemoveAAA.cs
    -rw-r--r-- 1 rust rust 13289 Oct 30 22:29 StackSizeController.cs
    -rw-r--r-- 1 rust rust 16259 Oct 30 22:23 Vanish.cs

    [rust@vps1052083 plugins]$ ps aux | grep Rust
    rust 13785 25.2 32.8 3399324 1724768 pts/1 Ssl+ 00:08 1:50 ./RustDedicated -batchmode -nographics [...]
     
  10. @Greizd The compiler didn't disconnect, just run the oxide.load all command a few times until it loads them successfully.

    PS: Make sure all of your plugins are up to date.
     
  11. I've tried, about 10 times, still can't load new plugins. Plugins were downloaded today. Some plugins are working/reloading. But can't load new.
     
  12. @Greizd Hmm, odd. What plugins don't load on startup? Run oxide.load <plugin> until you find the faulty plugin.
     
  13. Just reinstalled whole server and now seems it's working.
     
  14. Ooops! Error come back!
    I've installed apache/mariadb/composer and php 7.1 from custom repo, maybe something this can cause problem?

    After server restart all new plugins is loaded, but I can't reload plugins
     

    Attached Files:

    Last edited by a moderator: Nov 2, 2017
  15. Wulf

    Wulf Community Admin

    No errors or issues in the logs there.
     
  16. Yeah, that's the problem, server starting with all plugins, but when I try reload or add new I get this error:
    User running server may not have the proper permissions or install is missing files
    Error while compiling: compiler v0.0.0.0 was closed unexpectedly


    Reinstalled OS to Debian 8 x64, will try now.
     
  17. I'm having the same problem, any plugin I want to give reload happens the error of the following image.
     

    Attached Files:

  18. Still can't find solution. After clean reinstall on other OS I still have same problem.
     
  19. Have you found the solution? Because I'm having the same problem. Some reloads, others not
     
  20. Nope, for now I just restart server when it happens. After that plugins loading, reloading for some time...