New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RocksDB Error on Raspberry PI / Stretch #417

Closed
jongio opened this Issue Nov 16, 2017 · 3 comments

Comments

Projects
None yet
3 participants
@jongio
Contributor

jongio commented Nov 16, 2017

Getting the following output from docker logs edgeAgent -f

2017-11-16 19:03:53 [ERR] - Error creating RocksDB store. Falling back to in-memory store.
System.TypeInitializationException: The type initializer for 'Microsoft.Azure.Devices.Edge.Storage.RocksDb.ColumnFamilyStorageRocksDbWrapper' threw an exception. ---> System.TypeInitializationException: The type initializer for 'RocksDbSharp.Native' threw an exception. ---> NativeImport.NativeLoadException: Unable to locate rocksdb native library, either install it, or use RocksDbNative nuget package
Searched:
/app/native/arm/librocksdb-5.4.6.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
/app/native/arm/librocksdb-5.4.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
/app/native/arm/librocksdb-5.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
/app/native/arm/librocksdb.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
/app/native/librocksdb-5.4.6.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
/app/native/librocksdb-5.4.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
/app/native/librocksdb-5.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
/app/native/librocksdb.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
/app/arm/librocksdb-5.4.6.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
/app/arm/librocksdb-5.4.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
/app/arm/librocksdb-5.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
/app/arm/librocksdb.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
/app/librocksdb-5.4.6.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
/app/librocksdb-5.4.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
/app/librocksdb-5.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
/app/librocksdb.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
librocksdb-5.4.6.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
librocksdb-5.4.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
librocksdb-5.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
librocksdb.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
/app/native/arm/librocksdb-5.4.6.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
/app/native/arm/librocksdb-5.4.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
/app/native/arm/librocksdb-5.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
/app/native/arm/librocksdb.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
/app/native/librocksdb-5.4.6.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
/app/native/librocksdb-5.4.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
/app/native/librocksdb-5.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
/app/native/librocksdb.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
/app/arm/librocksdb-5.4.6.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
/app/arm/librocksdb-5.4.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
/app/arm/librocksdb-5.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
/app/arm/librocksdb.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
/app/librocksdb-5.4.6.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
/app/librocksdb-5.4.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
/app/librocksdb-5.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
/app/librocksdb.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
librocksdb-5.4.6.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
librocksdb-5.4.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
librocksdb-5.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
librocksdb.so: (DllNotFoundException) Unable to load DLL 'libdl': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
   at NativeImport.Importers.Import[T](INativeLibImporter importer, String libName, String version, Boolean suppressUnload)
   at NativeImport.Auto.Import[T](String name, String version, Boolean suppressUnload)
   at RocksDbSharp.Native..cctor()
   --- End of inner exception stack trace ---
   at RocksDbSharp.OptionsHandle..ctor()
   at RocksDbSharp.DbOptions..ctor()
   at Microsoft.Azure.Devices.Edge.Storage.RocksDb.ColumnFamilyStorageRocksDbWrapper..cctor() in /opt/vsts/work/1/s/edge-util/src/Microsoft.Azure.Devices.Edge.Storage.RocksDb/ColumnFamilyStorageRocksDbWrapper.cs:line 24
   --- End of inner exception stack trace ---
   at Microsoft.Azure.Devices.Edge.Storage.RocksDb.ColumnFamilyStorageRocksDbWrapper.Create(String path, IEnumerable`1 partitionsList) in /opt/vsts/work/1/s/edge-util/src/Microsoft.Azure.Devices.Edge.Storage.RocksDb/ColumnFamilyStorageRocksDbWrapper.cs:line 48
   at Microsoft.Azure.Devices.Edge.Storage.RocksDb.DbStoreProvider.Create(String path, IEnumerable`1 partitionsList) in /opt/vsts/work/1/s/edge-util/src/Microsoft.Azure.Devices.Edge.Storage.RocksDb/DbStoreProvider.cs:line 44
   at Microsoft.Azure.Devices.Edge.Hub.Service.Modules.RoutingModule.<Load>b__11_18(IComponentContext c) in /opt/vsts/work/1/s/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.Service/modules/RoutingModule.cs:line 231
@darobs

This comment has been minimized.

Show comment
Hide comment
@darobs

darobs Nov 16, 2017

Contributor
Contributor

darobs commented Nov 16, 2017

@avranju

This comment has been minimized.

Show comment
Hide comment
@avranju

avranju Nov 16, 2017

Member

In other words you can ignore the error for now. While the edge hub will work on ARM devices you won't have persistence for store/forward of messages when offline since it falls back to an in-memory store. So if the edge hub module is restarted you will lose the messages that were sent while offline.

Member

avranju commented Nov 16, 2017

In other words you can ignore the error for now. While the edge hub will work on ARM devices you won't have persistence for store/forward of messages when offline since it falls back to an in-memory store. So if the edge hub module is restarted you will lose the messages that were sent while offline.

@darobs

This comment has been minimized.

Show comment
Hide comment
@darobs

darobs Feb 5, 2018

Contributor

RocksDB for ARM has been built into the Edge Release, you should not see these warnings.

Contributor

darobs commented Feb 5, 2018

RocksDB for ARM has been built into the Edge Release, you should not see these warnings.

@darobs darobs closed this Feb 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment