Server will Plugins nicht laden

A new update is now available, introducing a lot of new content!
Latest hotfix: 0.7.5.2 (2024-09-10)
  • Hallo ich versuche das plugin Portals bei mein Server zum laufen zu bekommen leider will es bei mir nicht.

    der Server will gar kein Plugin laden.

    Kann da wer mir helfen ??


    Log Error Meldung :


    [Java] ADD PLUGIN: Portals 1

    [Java] -- PORTALS PLUGIN ENABLED --

    [Java] SQLite: /home/s1422862/risingworld_beta/Plugins/Portals/Paradise/database.db

    [ERROR] [15:00:21] [Java] Failed to load native library:sqlite-3.41.2.1-e74b0405-d23c-414c-8188-e55664c7e27d-libsqlitejdbc.so. osinfo: Linux/x86_64

    [ERROR] [15:00:21] [Java] java.lang.UnsatisfiedLinkError: /tmp/sqlite-3.41.2.1-e74b0405-d23c-414c-8188-e55664c7e27d-libsqlitejdbc.so: /tmp/sqlite-3.41.2.1-e74b0405-d23c-414c-8188-e55664c7e27d-libsqlitejdbc.so: failed to map segment from shared object

    [ERROR] [15:00:21] [Java] at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)

    [ERROR] [15:00:21] [Java] at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:331)

    [ERROR] [15:00:21] [Java] at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:197)

    [ERROR] [15:00:21] [Java] at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:139)

    [ERROR] [15:00:21] [Java] at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2404)

    [ERROR] [15:00:21] [Java] at java.base/java.lang.Runtime.load0(Runtime.java:817)

    [ERROR] [15:00:21] [Java] at java.base/java.lang.System.load(System.java:2015)

    [ERROR] [15:00:21] [Java] at org.sqlite.SQLiteJDBCLoader.loadNativeLibrary(SQLiteJDBCLoader.java:280)

    [ERROR] [15:00:21] [Java] at org.sqlite.SQLiteJDBCLoader.extractAndLoadLibraryFile(SQLiteJDBCLoader.java:237)

    [ERROR] [15:00:21] [Java] at org.sqlite.SQLiteJDBCLoader.loadSQLiteNativeLibrary(SQLiteJDBCLoader.java:350)

    [ERROR] [15:00:21] [Java] at org.sqlite.SQLiteJDBCLoader.initialize(SQLiteJDBCLoader.java:68)

    [ERROR] [15:00:21] [Java] at org.sqlite.core.NativeDB.load(NativeDB.java:67)

    [ERROR] [15:00:21] [Java] at org.sqlite.SQLiteConnection.open(SQLiteConnection.java:279)

    [ERROR] [15:00:21] [Java] at org.sqlite.SQLiteConnection.<init>(SQLiteConnection.java:66)

    [ERROR] [15:00:21] [Java] at org.sqlite.jdbc3.JDBC3Connection.<init>(JDBC3Connection.java:28)

    [ERROR] [15:00:21] [Java] at org.sqlite.jdbc4.JDBC4Connection.<init>(JDBC4Connection.java:19)

    [ERROR] [15:00:21] [Java] at org.sqlite.JDBC.createConnection(JDBC.java:104)

    [ERROR] [15:00:21] [Java] at org.sqlite.JDBC.connect(JDBC.java:77)

    [ERROR] [15:00:21] [Java] at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:683)

    [ERROR] [15:00:21] [Java] at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:191)

    [ERROR] [15:00:21] [Java] at net.jiw.unity.runtime.database.SQLiteDatabase.<init>(SQLiteDatabase.java:22)

    [ERROR] [15:00:21] [Java] at net.jiw.unity.runtime.PluginManager.getSQLiteConnection(PluginManager.java:131)

    [ERROR] [15:00:21] [Java] at net.risingworld.api.Plugin.getSQLiteConnection(Plugin.java:214)

    [ERROR] [15:00:21] [Java] at PLUGIN_CLASS_LOADER//portals.Portals.onEnable(Portals.java:50)

    [ERROR] [15:00:21] [Java] at net.jiw.unity.runtime.PluginLoader.loadPlugins(PluginLoader.java:74)

    [ERROR] [15:00:21] [Java] java.sql.SQLException: Error opening connection

    [ERROR] [15:00:21] [Java] at org.sqlite.SQLiteConnection.open(SQLiteConnection.java:282)

    [ERROR] [15:00:21] [Java] at org.sqlite.SQLiteConnection.<init>(SQLiteConnection.java:66)

    [ERROR] [15:00:21] [Java] at org.sqlite.jdbc3.JDBC3Connection.<init>(JDBC3Connection.java:28)

    [ERROR] [15:00:21] [Java] at org.sqlite.jdbc4.JDBC4Connection.<init>(JDBC4Connection.java:19)

    [ERROR] [15:00:21] [Java] at org.sqlite.JDBC.createConnection(JDBC.java:104)

    [ERROR] [15:00:21] [Java] at org.sqlite.JDBC.connect(JDBC.java:77)

    [ERROR] [15:00:21] [Java] at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:683)

    [ERROR] [15:00:21] [Java] at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:191)

    [ERROR] [15:00:21] [Java] at net.jiw.unity.runtime.database.SQLiteDatabase.<init>(SQLiteDatabase.java:22)

    [ERROR] [15:00:21] [Java] at net.jiw.unity.runtime.PluginManager.getSQLiteConnection(PluginManager.java:131)

    [ERROR] [15:00:21] [Java] at net.risingworld.api.Plugin.getSQLiteConnection(Plugin.java:214)

    [ERROR] [15:00:21] [Java] at PLUGIN_CLASS_LOADER//portals.Portals.onEnable(Portals.java:50)

    [ERROR] [15:00:21] [Java] at net.jiw.unity.runtime.PluginLoader.loadPlugins(PluginLoader.java:74)

    [ERROR] [15:00:21] [Java] Caused by: java.lang.Exception: No native library found for os.name=Linux, os.arch=x86_64, paths=[/org/sqlite/native/Linux/x86_64:/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib]

    [ERROR] [15:00:21] [Java] at org.sqlite.SQLiteJDBCLoader.loadSQLiteNativeLibrary(SQLiteJDBCLoader.java:375)

    [ERROR] [15:00:21] [Java] at org.sqlite.SQLiteJDBCLoader.initialize(SQLiteJDBCLoader.java:68)

    [ERROR] [15:00:21] [Java] at org.sqlite.core.NativeDB.load(NativeDB.java:67)

    [ERROR] [15:00:21] [Java] at org.sqlite.SQLiteConnection.open(SQLiteConnection.java:279)

    [ERROR] [15:00:21] [Java] ... 12 more

    [Java] API: REGISTER LISTENER class portals.Portals

    [Java] -> Event: net.risingworld.api.events.player.PlayerConnectEvent

    [Java] -> Event: net.risingworld.api.events.player.PlayerCommandEvent

    [Java] -> Event: net.risingworld.api.events.player.PlayerKeyEvent

    [Java] -> Event: net.risingworld.api.events.player.PlayerChangeBlockPositionEvent

    [Java] -> Event: net.risingworld.api.events.player.ui.PlayerUIElementClickEvent

    [ERROR] [15:00:21] [JNI exception] java.lang.NullPointerException: Cannot invoke "net.risingworld.api.database.Database.execute(String)" because "this.database" is null

    JIW.JNI.Wrapper.Env.JNIEnv:CheckException()

    JIW.JNI.Wrapper.Env.JNIEnv:CallStaticIntMethod(JClass, JMethodID, JValue*)

    RisingWorld.PluginAPI.PluginLoader:LoadPlugins(Boolean)

    RisingWorld.Server.GameServer:InitPluginAPI()

    RisingWorld.Server.GameServer:LoadWorld(String)

    RisingWorld.Server.Main:InitServerWorld()

    RisingWorld.Server.Main:InitServerContext()

    RisingWorld.Server.Main:OnPostInitialize()

    RisingWorld.Common.JIWApplication:Update()

  • Es sieht so aus, als wenn der Server keinen Zugriff auf den Temp bzw. tmp Ordner hat :thinking: Der JDBC SQLite Treiber entpackt seine benötigten Libs standardmäßig in diesen Ordner (das war auch in der Java Version so), und wenn der Zugriff verwehrt wird (durch fehlende Berechtigungen etc), kann SQLite leider nicht von der API verwendet werden (das Portals Plugin benötigt aber SQLite).


    Wenn du bei einem Hoster bist, dann kannst du das selber leider nicht ändern, sondern lediglich der Hoster könnte das anpassen :/ Ggf. kann der Support des Hosters dir da aber weiterhelfen.


    Wir können das ansonsten auch mit dem nächsten Update anpassen, sodass in dem Fall ein anderer Ordner verwendet wird... leider wird es wohl noch ein paar Wochen dauern, bis das nächste Update verfügbar sein wird :silenced:

Participate now!

Don’t have an account yet? Create a new account now and be part of our community!