ProjectIxian/Ixian-source

Ubuntu18.04 threw an exception when run the IxianDLT node

mazhiyu opened this issue · 3 comments

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'SQLite.SQLiteConnection' threw an exception. ---> System.DllNotFoundException: e_sqlite3
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 :0
at SQLite.SQLiteConnection..cctor () [0x00010] in :0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
at DLT.Meta.Storage.getSQLiteConnection (System.String path, System.Boolean cache) [0x00055] in <0ce733d547844ba7ba153b729cc1281c>:0
at DLT.Meta.Storage.prepareStorage () [0x000b6] in <0ce733d547844ba7ba153b729cc1281c>:0
at DLT.Meta.Node.start (System.Boolean verboseConsoleOutput) [0x0005d] in <0ce733d547844ba7ba153b729cc1281c>:0
at DLTNode.Program.onStart (System.String[] args) [0x001fc] in <0ce733d547844ba7ba153b729cc1281c>:0
at DLTNode.Program.Main (System.String[] args) [0x0003a] in <0ce733d547844ba7ba153b729cc1281c>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'SQLite.SQLiteConnection' threw an exception. ---> System.DllNotFoundException: e_sqlite3
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 :0
at SQLite.SQLiteConnection..cctor () [0x00010] in :0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
at DLT.Meta.Storage.getSQLiteConnection (System.String path, System.Boolean cache) [0x00055] in <0ce733d547844ba7ba153b729cc1281c>:0
at DLT.Meta.Storage.prepareStorage () [0x000b6] in <0ce733d547844ba7ba153b729cc1281c>:0
at DLT.Meta.Node.start (System.Boolean verboseConsoleOutput) [0x0005d] in <0ce733d547844ba7ba153b729cc1281c>:0
at DLTNode.Program.onStart (System.String[] args) [0x001fc] in <0ce733d547844ba7ba153b729cc1281c>:0
at DLTNode.Program.Main (System.String[] args) [0x0003a] in <0ce733d547844ba7ba153b729cc1281c>:0

You have to build Ixian DLT from source on Linux, please follow instructions on https://github.com/ProjectIxian/Ixian-source#linux-1

I build the Ixian DLT using the master-mainnet branch. Ixian DLT node can be ran now, but it stuck here, infinite cycling...

05-05 09:56:28.3810|info|(15): 424965 blocks are missing before node is synchronized...
05-05 09:56:28.4894|info|(15): Sync: Applying block #22/425036.
05-05 09:56:28.5007|info|(15): Waiting for missing transactions for Block #22.
05-05 09:56:28.5007|info|(15): Waiting for missing transactions from block #22...
05-05 09:56:28.6010|info|(15): Sync: Applying block #22/425036.
05-05 09:56:28.6100|info|(15): Waiting for missing transactions for Block #22.
05-05 09:56:28.6100|info|(15): Waiting for missing transactions from block #22...

Hey there mazhiyu,

Contact me in the ixian discord, i will help you!

Greetings x23a1s