Unable to run RavenDb Server on Ubuntu 16.04

0

I am attempting to get RavenDb running on a Ubuntu 16.04 AWS VM. I have attempted to follow the steps in the documentation and have installed RavenDB. Initially when I attempted to run the server I got the following:

root@ip-172-31-1-43:/home/ubuntu/RavenDB/Server# ./Raven.Server Failed to load x1�, error: libunwind.so.8: cannot open shared object file: No such file or directory Failed to bind to CoreCLR at '/home/ubuntu/RavenDB/Server/libcoreclr.so'

I did some googling and found a discussion here advising to sudo apt-get install libunwind8 which I did and seemed to get past the initial problem.

Then when I ran the server I got the following:

Build 40045, Version 4.0, SemVer 4.0.5, Commit 49f124a PID 2714, 64 bits, 2 Cores, Phys Mem 7.508 GBytes, Arch: X64 Source Code (git repo): https://github.com/ravendb/ravendb Built with love by Hibernating Rhinos and awesome contributors! +---------------------------------------------------------------+ System.TypeInitializationException: The type initializer for 'Raven.Server.ServerWide.BackgroundTasks.LatestVersionCheck' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Net.Http.CurlHandler' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Http' threw an exception. ---> System.TypeInitializationException: The type initializer for 'HttpInitializer' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'System.Net.Http.Native': The specified module or one of its dependencies could not be found. (Exception from HRESULT: 0x8007007E) at Interop.Http.GetSslVersionDescription() at Interop.HttpInitializer..cctor() --- End of inner exception stack trace --- at Interop.Http..cctor() --- End of inner exception stack trace --- at Interop.Http.GetSupportedFeatures() at System.Net.Http.CurlHandler..cctor() --- End of inner exception stack trace --- at System.Net.Http.CurlHandler..ctor() at System.Net.Http.HttpClientHandler..ctor() at System.Net.Http.HttpClient..ctor() at Raven.Server.ServerWide.BackgroundTasks.LatestVersionCheck..cctor() in C:\Builds\RavenDB-Stable-4.0\src\Raven.Server\ServerWide\BackgroundTasks\LatestVersionCheck.cs:line 28 --- End of inner exception stack trace --- at Raven.Server.ServerWide.BackgroundTasks.LatestVersionCheck.Check(ServerStore serverStore) in C:\Builds\RavenDB-Stable-4.0\src\Raven.Server\ServerWide\BackgroundTasks\LatestVersionCheck.cs:line 40 at Raven.Server.ServerWide.ServerStore.Initialize() in C:\Builds\RavenDB-Stable-4.0\src\Raven.Server\ServerWide\ServerStore.cs:line 529 at Raven.Server.RavenServer.Initialize() in C:\Builds\RavenDB-Stable-4.0\src\Raven.Server\RavenServer.cs:line 132 at Raven.Server.Program.Main(String[] args) in C:\Builds\RavenDB-Stable-4.0\src\Raven.Server\Program.cs:line 141

I did some more searching and found this thread which discusses the same problem. In his case he had forgotten to install the .Net Core Runtime. However, I have previously installed the .Net Core Runtime as shown here:

root@ip-172-31-1-43:/home/ubuntu/RavenDB# dotnet --list-runtimes
Microsoft.AspNetCore.All 2.1.1 [/usr/share/dotnet/shared/Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.1 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.1    [/usr/share/dotnet/shared/Microsoft.NETCore.App]

I am not sure where to go from here. Any suggestions would be appreciated.

ravendb4
asked on Stack Overflow Jul 10, 2018 by Mike Moore • edited Jul 10, 2018 by Mike Moore

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0