Jump to content
  • 0

[ Distrib ] Trying launch Mono IServer with a VPS(VM) and getting SQLitePCL error at launching.


AriusII

Question

Hello, I'm here asking for some help.

I'm using a VM with my Rooter/InternetBox, boot under  Ubuntu 20.04 Focal ( I tryed with Ubuntu 19.10 Eloan 20.04 & Debian 10 Buster ), I have make full Update after a fresh clean OS installation, installing mono-completed
> 

 

And have put again, searching for new Updates ( always no one founds )

I launch " sudo mono IServer.exe "

The windows appear and i'm getting error.

Like this (video ): 
 

Spoiler



Error : 
mono-sgen-2020_04_30-17_56_16_492.log

Spoiler

2020-04-30 17:56:17.394 [Debug] Loaded new formula from BaseExp * Power(Gain, Level).

--------------------------------------------------------------------------------
2020-04-30 17:56:17.403 [Debug] Loaded new formula from BaseExp * Power(Gain, Level).

--------------------------------------------------------------------------------
2020-04-30 17:56:20.361 [Error] Received unhandled exception from .

--------------------------------------------------------------------------------
2020-04-30 17:56:20.364 [Error] 
  Message: The type initializer for 'Microsoft.Data.Sqlite.SqliteConnection' threw an exception.
    Stack:   at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
  at Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal.SqliteRelationalConnection.CreateDbConnection () [0x00006] in <6fac96ba37a44740bc51ba823588ec81>:0 
  at Microsoft.EntityFrameworkCore.Internal.LazyRef`1[T].get_Value () [0x00008] in <905e41ddd9a149f0936da7d5ab99e38e>:0 
  at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.get_DbConnection () [0x00000] in <1b06b8e99d984506b89b3e4ae11831eb>:0 
  at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open (System.Boolean errorsExpected) [0x00000] in <1b06b8e99d984506b89b3e4ae11831eb>:0 
  at Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal.SqliteRelationalConnection.Open (System.Boolean errorsExpected) [0x00000] in <6fac96ba37a44740bc51ba823588ec81>:0 
  at Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal.SqliteDatabaseCreator.Exists () [0x0000c] in <6fac96ba37a44740bc51ba823588ec81>:0 
  at Microsoft.EntityFrameworkCore.Migrations.HistoryRepository.Exists () [0x0000b] in <1b06b8e99d984506b89b3e4ae11831eb>:0 
  at Microsoft.EntityFrameworkCore.Migrations.HistoryRepository.GetAppliedMigrations () [0x00006] in <1b06b8e99d984506b89b3e4ae11831eb>:0 
  at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.GetAppliedMigrations (Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade databaseFacade) [0x00010] in <1b06b8e99d984506b89b3e4ae11831eb>:0 
  at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.GetPendingMigrations (Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade databaseFacade) [0x00006] in <1b06b8e99d984506b89b3e4ae11831eb>:0 
  at Intersect.Server.Database.IntersectDbContext`1[T].get_PendingMigrations () [0x0000a] in <80635eedf0db40a1a589caf211d2db85>:0 
  at Intersect.Server.Database.DbInterface.InitDatabase (Intersect.Server.Core.ServerContext serverContext) [0x000ec] in <80635eedf0db40a1a589caf211d2db85>:0 
  at Intersect.Server.Core.Bootstrapper.PostContextSetup () [0x0001e] in <80635eedf0db40a1a589caf211d2db85>:0 
  at Intersect.Server.Core.Bootstrapper.Start (System.String[] args) [0x0003e] in <80635eedf0db40a1a589caf211d2db85>:0 
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0007c] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 

Caused By
  Message: Exception has been thrown by the target of an invocation.
    Stack:   at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0009a] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at Microsoft.Data.Sqlite.Utilities.BundleInitializer.Initialize () [0x0002f] in <56cfa09aae23467e945f1a64a1f893bb>:0 
  at Microsoft.Data.Sqlite.SqliteConnection..cctor () [0x00000] in <56cfa09aae23467e945f1a64a1f893bb>:0 

Caused By
  Message: e_sqlite3 assembly:<unknown assembly> type:<unknown type> member:(null)
    Stack:   at (wrapper managed-to-native) SQLitePCL.SQLite3Provider_e_sqlite3+NativeMethods.sqlite3_libversion_number()
  at SQLitePCL.SQLite3Provider_e_sqlite3.SQLitePCL.ISQLite3Provider.sqlite3_libversion_number () [0x00000] in <94e90f2e2a1e4f8983b76383f64574ce>:0 
  at SQLitePCL.raw.SetProvider (SQLitePCL.ISQLite3Provider imp) [0x00008] in <724f9a22df504a05b4645fb690570b7a>:0 
  at SQLitePCL.Batteries_V2.Init () [0x00005] in <a13ad878b60c48a5be8c61d809c413bc>:0 
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0007c] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 


--------------------------------------------------------------------------------
2020-04-30 17:56:20.372 [Error] Inner Exception?

--------------------------------------------------------------------------------
2020-04-30 17:56:20.372 [Error] 
  Message: Exception has been thrown by the target of an invocation.
    Stack:   at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0009a] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at Microsoft.Data.Sqlite.Utilities.BundleInitializer.Initialize () [0x0002f] in <56cfa09aae23467e945f1a64a1f893bb>:0 
  at Microsoft.Data.Sqlite.SqliteConnection..cctor () [0x00000] in <56cfa09aae23467e945f1a64a1f893bb>:0 

Caused By
  Message: e_sqlite3 assembly:<unknown assembly> type:<unknown type> member:(null)
    Stack:   at (wrapper managed-to-native) SQLitePCL.SQLite3Provider_e_sqlite3+NativeMethods.sqlite3_libversion_number()
  at SQLitePCL.SQLite3Provider_e_sqlite3.SQLitePCL.ISQLite3Provider.sqlite3_libversion_number () [0x00000] in <94e90f2e2a1e4f8983b76383f64574ce>:0 
  at SQLitePCL.raw.SetProvider (SQLitePCL.ISQLite3Provider imp) [0x00008] in <724f9a22df504a05b4645fb690570b7a>:0 
  at SQLitePCL.Batteries_V2.Init () [0x00005] in <a13ad878b60c48a5be8c61d809c413bc>:0 
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0007c] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 


--------------------------------------------------------------------------------
2020-04-30 17:56:20.374 [Error] Inner Exception? Inner Exception?

--------------------------------------------------------------------------------
2020-04-30 17:56:20.375 [Error] 
  Message: e_sqlite3 assembly:<unknown assembly> type:<unknown type> member:(null)
    Stack:   at (wrapper managed-to-native) SQLitePCL.SQLite3Provider_e_sqlite3+NativeMethods.sqlite3_libversion_number()
  at SQLitePCL.SQLite3Provider_e_sqlite3.SQLitePCL.ISQLite3Provider.sqlite3_libversion_number () [0x00000] in <94e90f2e2a1e4f8983b76383f64574ce>:0 
  at SQLitePCL.raw.SetProvider (SQLitePCL.ISQLite3Provider imp) [0x00008] in <724f9a22df504a05b4645fb690570b7a>:0 
  at SQLitePCL.Batteries_V2.Init () [0x00005] in <a13ad878b60c48a5be8c61d809c413bc>:0 
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0007c] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 


--------------------------------------------------------------------------------
2020-04-30 17:56:20.381 [Info] Acquiring context lock... (0ms)

--------------------------------------------------------------------------------
2020-04-30 17:56:20.382 [Info] Acquired. (1ms)

--------------------------------------------------------------------------------
2020-04-30 17:56:20.382 [Info] Beginning context dispose. (0ms)

--------------------------------------------------------------------------------
2020-04-30 17:56:20.385 [Info] Disposing network... (0ms)

--------------------------------------------------------------------------------
2020-04-30 17:56:20.391 [Info] Saving player database... (5ms)

--------------------------------------------------------------------------------
2020-04-30 17:56:20.811 [Info] Saving game database... (426ms)

--------------------------------------------------------------------------------
2020-04-30 17:56:20.815 [Info] Shutting down the API... (430ms)

--------------------------------------------------------------------------------
2020-04-30 17:56:20.816 [Info] Base dispose. (431ms)

--------------------------------------------------------------------------------
2020-04-30 17:56:20.816 [Info] Finished disposing server context. (431ms)

--------------------------------------------------------------------------------
2020-04-30 17:56:20.816 [Info] GC.SuppressFinalize (433ms)

--------------------------------------------------------------------------------
2020-04-30 17:56:20.816 [Info] InternalDispose() completed. (434ms)

--------------------------------------------------------------------------------
2020-04-30 17:56:20.817 [Info] Clearing instance... (436ms)

--------------------------------------------------------------------------------
2020-04-30 17:56:20.817 [Info] Releasing context lock... (436ms)

--------------------------------------------------------------------------------
2020-04-30 17:56:20.817 [Info] Released. (436ms)

--------------------------------------------------------------------------------
 



Error-mono-sgen.log
 

Spoiler

2020-04-30 17:56:20.361 [Error] Received unhandled exception from .

--------------------------------------------------------------------------------
2020-04-30 17:56:20.368 [Error] 
  Message: The type initializer for 'Microsoft.Data.Sqlite.SqliteConnection' threw an exception.
    Stack:   at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
  at Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal.SqliteRelationalConnection.CreateDbConnection () [0x00006] in <6fac96ba37a44740bc51ba823588ec81>:0 
  at Microsoft.EntityFrameworkCore.Internal.LazyRef`1[T].get_Value () [0x00008] in <905e41ddd9a149f0936da7d5ab99e38e>:0 
  at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.get_DbConnection () [0x00000] in <1b06b8e99d984506b89b3e4ae11831eb>:0 
  at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open (System.Boolean errorsExpected) [0x00000] in <1b06b8e99d984506b89b3e4ae11831eb>:0 
  at Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal.SqliteRelationalConnection.Open (System.Boolean errorsExpected) [0x00000] in <6fac96ba37a44740bc51ba823588ec81>:0 
  at Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal.SqliteDatabaseCreator.Exists () [0x0000c] in <6fac96ba37a44740bc51ba823588ec81>:0 
  at Microsoft.EntityFrameworkCore.Migrations.HistoryRepository.Exists () [0x0000b] in <1b06b8e99d984506b89b3e4ae11831eb>:0 
  at Microsoft.EntityFrameworkCore.Migrations.HistoryRepository.GetAppliedMigrations () [0x00006] in <1b06b8e99d984506b89b3e4ae11831eb>:0 
  at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.GetAppliedMigrations (Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade databaseFacade) [0x00010] in <1b06b8e99d984506b89b3e4ae11831eb>:0 
  at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.GetPendingMigrations (Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade databaseFacade) [0x00006] in <1b06b8e99d984506b89b3e4ae11831eb>:0 
  at Intersect.Server.Database.IntersectDbContext`1[T].get_PendingMigrations () [0x0000a] in <80635eedf0db40a1a589caf211d2db85>:0 
  at Intersect.Server.Database.DbInterface.InitDatabase (Intersect.Server.Core.ServerContext serverContext) [0x000ec] in <80635eedf0db40a1a589caf211d2db85>:0 
  at Intersect.Server.Core.Bootstrapper.PostContextSetup () [0x0001e] in <80635eedf0db40a1a589caf211d2db85>:0 
  at Intersect.Server.Core.Bootstrapper.Start (System.String[] args) [0x0003e] in <80635eedf0db40a1a589caf211d2db85>:0 
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0007c] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 

Caused By
  Message: Exception has been thrown by the target of an invocation.
    Stack:   at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0009a] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at Microsoft.Data.Sqlite.Utilities.BundleInitializer.Initialize () [0x0002f] in <56cfa09aae23467e945f1a64a1f893bb>:0 
  at Microsoft.Data.Sqlite.SqliteConnection..cctor () [0x00000] in <56cfa09aae23467e945f1a64a1f893bb>:0 

Caused By
  Message: e_sqlite3 assembly:<unknown assembly> type:<unknown type> member:(null)
    Stack:   at (wrapper managed-to-native) SQLitePCL.SQLite3Provider_e_sqlite3+NativeMethods.sqlite3_libversion_number()
  at SQLitePCL.SQLite3Provider_e_sqlite3.SQLitePCL.ISQLite3Provider.sqlite3_libversion_number () [0x00000] in <94e90f2e2a1e4f8983b76383f64574ce>:0 
  at SQLitePCL.raw.SetProvider (SQLitePCL.ISQLite3Provider imp) [0x00008] in <724f9a22df504a05b4645fb690570b7a>:0 
  at SQLitePCL.Batteries_V2.Init () [0x00005] in <a13ad878b60c48a5be8c61d809c413bc>:0 
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0007c] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 


--------------------------------------------------------------------------------
2020-04-30 17:56:20.372 [Error] Inner Exception?

--------------------------------------------------------------------------------
2020-04-30 17:56:20.373 [Error] 
  Message: Exception has been thrown by the target of an invocation.
    Stack:   at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0009a] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at Microsoft.Data.Sqlite.Utilities.BundleInitializer.Initialize () [0x0002f] in <56cfa09aae23467e945f1a64a1f893bb>:0 
  at Microsoft.Data.Sqlite.SqliteConnection..cctor () [0x00000] in <56cfa09aae23467e945f1a64a1f893bb>:0 

Caused By
  Message: e_sqlite3 assembly:<unknown assembly> type:<unknown type> member:(null)
    Stack:   at (wrapper managed-to-native) SQLitePCL.SQLite3Provider_e_sqlite3+NativeMethods.sqlite3_libversion_number()
  at SQLitePCL.SQLite3Provider_e_sqlite3.SQLitePCL.ISQLite3Provider.sqlite3_libversion_number () [0x00000] in <94e90f2e2a1e4f8983b76383f64574ce>:0 
  at SQLitePCL.raw.SetProvider (SQLitePCL.ISQLite3Provider imp) [0x00008] in <724f9a22df504a05b4645fb690570b7a>:0 
  at SQLitePCL.Batteries_V2.Init () [0x00005] in <a13ad878b60c48a5be8c61d809c413bc>:0 
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0007c] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 


--------------------------------------------------------------------------------
2020-04-30 17:56:20.375 [Error] Inner Exception? Inner Exception?

--------------------------------------------------------------------------------
2020-04-30 17:56:20.375 [Error] 
  Message: e_sqlite3 assembly:<unknown assembly> type:<unknown type> member:(null)
    Stack:   at (wrapper managed-to-native) SQLitePCL.SQLite3Provider_e_sqlite3+NativeMethods.sqlite3_libversion_number()
  at SQLitePCL.SQLite3Provider_e_sqlite3.SQLitePCL.ISQLite3Provider.sqlite3_libversion_number () [0x00000] in <94e90f2e2a1e4f8983b76383f64574ce>:0 
  at SQLitePCL.raw.SetProvider (SQLitePCL.ISQLite3Provider imp) [0x00008] in <724f9a22df504a05b4645fb690570b7a>:0 
  at SQLitePCL.Batteries_V2.Init () [0x00005] in <a13ad878b60c48a5be8c61d809c413bc>:0 
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0007c] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 


--------------------------------------------------------------------------------
 


It replace the " e_sqlite3.dll " by a " libe_sqlite3.so "

How to fix it ?

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0
3 minutes ago, jcsnider said:

Unfortunately that's the only idea I have right now. The most recent builds are working fine on my Linux machines.


I have try to 
--- install : sqlite, lite2 & 3
Download https://www.sqlite.org/download.html ( Precompiled Binaries for Linux ) and put them on usr/lib
+ SQLBroswer 
+ Manager Server ( cause some topic talked about < same error > but nothing really similar for fix it ).
 

 

4 minutes ago, Joyce said:

Stupid question maybe, but are the permissions set up right for the user and the executable? 

 

Is there a reason you're running sudo mono rather than just mono? 


They are no stupid questions.

My vm's a Qcow2 ( Ready to run ) image, so root is already permanent and have more permissions them my user for install ect... so i use sudo for all if not i'm blocked,
I tryed ' mono server.exe ' but not working too 

Link to comment
Share on other sites

  • 0
2 minutes ago, Joyce said:

Uploading items through ftp can mask the permissions though. Should really double check all your file permissions. 

I have checked all my CHMOD, and same

 

 

13 minutes ago, jcsnider said:

You don't want to update the sqlite dlls but rather the sqlite linux packages from your repo..

 

On centos it is

 

yum install libsqlite3

yum install libsqlite3-devel

 

Generally that's all I have to do I think.


I have already done it :/ and not working

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...