NP-Hardass 0 Posted June 1, 2015 Share Posted June 1, 2015 Gentoo using pkg from megacoffee overlay. Please let me know what other info I can provide, if necessary. Guts from log: CreateProcess: error creating process handle CreateProcess: error creating process handle CreateProcess: error creating process handle CreateProcess: error creating process handle CreateProcess: error creating process handle Shutting down finalizer thread timed out. Info, Main, Emby Command line: /opt/emby-server/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe Operating system: Unix 3.18.7.0 Processor count: 1 64-Bit OS: True 64-Bit Process: True Program data path: /var/lib/emby-server Mono: 3.2.8 ((no/b1e8599 Thu Apr 16 01:00:14 EDT 2015) Application Path: /opt/emby-server/MediaBrowser.Server.Mono.exe appHost.Init Info, App, Application version: 3.0.5621.4 Info, App, Application configuration: {"EnableUPnP":true,"PublicPort":8096,"PublicHttpsPort":8920,"HttpServerPortNumber":8096,"HttpsPortNumber":8920,"EnableHttps":false,"EnableUserSpecificUserViews":true,"EnableInternetProviders":true,"IsPortAuthorized":true,"SeasonZeroDisplayName":"Specials","SaveLocalMeta":true,"EnableLocalizedGuids":true,"EnableLibraryMetadataSubFolder":true,"PreferredMetadataLanguage":"en","MetadataCountryCode":"US","SortReplaceCharacters":[".","+","%"],"SortRemoveCharacters":[",","&","-","{","}","'"],"SortRemoveWords":["the","a","an"],"MinResumePct":5,"MaxResumePct":90,"MinResumeDurationSeconds":300,"RealtimeLibraryMonitorDelay":40,"EnableDashboardResponseCaching":true,"EnableDashboardResourceMinification":true,"MergeMetadataAndImagesByName":true,"EnableStandaloneMetadata":true,"ImageSavingConvention":"Compatible","MetadataOptions":[{"ItemType":"Book","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Movie","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280},{"Type":"Art","Limit":0,"MinWidth":0},{"Type":"Disc","Limit":0,"MinWidth":0},{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Banner","Limit":1,"MinWidth":0},{"Type":"Thumb","Limit":1,"MinWidth":0},{"Type":"Logo","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Series","ImageOptions":[{"Type":"Backdrop","Limit":2,"MinWidth":1280},{"Type":"Art","Limit":0,"MinWidth":0},{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Banner","Limit":1,"MinWidth":0},{"Type":"Thumb","Limit":1,"MinWidth":0},{"Type":"Logo","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicAlbum","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Disc","Limit":0,"MinWidth":0}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicArtist","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Banner","Limit":0,"MinWidth":0},{"Type":"Art","Limit":0,"MinWidth":0}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Season","ImageOptions":[{"Type":"Backdrop","Limit":0,"MinWidth":1280}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Episode","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicVideo","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Video","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]}],"EnableAutomaticRestart":true,"EnableRealtimeMonitor":true,"PathSubstitutions":[],"UICulture":"en-us","PeopleMetadataOptions":{"DownloadActorMetadata":true,"DownloadDirectorMetadata":true,"DownloadProducerMetadata":false,"DownloadWriterMetadata":false,"DownloadComposerMetadata":false,"DownloadOtherPeopleMetadata":false,"DownloadGuestStarMetadata":false},"FindInternetTrailers":true,"InsecureApps9":["Chromecast","iOS","Unknown app","MediaPortal","Media Portal","iPad","iPhone","Windows Phone"],"SaveMetadataHidden":false,"ContentTypes":[],"EnableAudioArchiveFiles":false,"EnableVideoArchiveFiles":false,"RemoteClientBitrateLimit":0,"EnableDebugLevelLogging":false,"EnableAutoUpdate":true,"SystemUpdateLevel":"Release","LogFileRetentionDays":3,"RunAtStartup":false,"IsStartupWizardCompleted":true,"EnableCustomPathSubFolders":false} Info, App, Loading MediaBrowser.Api, Version=3.0.5621.4, Culture=neutral, PublicKeyToken=null Info, App, Loading MediaBrowser.WebDashboard, Version=3.0.5621.4, Culture=neutral, PublicKeyToken=null Info, App, Loading MediaBrowser.Model, Version=3.0.5621.4, Culture=neutral, PublicKeyToken=null Info, App, Loading MediaBrowser.Common, Version=3.0.5621.4, Culture=neutral, PublicKeyToken=null Info, App, Loading MediaBrowser.Controller, Version=3.0.5621.4, Culture=neutral, PublicKeyToken=null Info, App, Loading MediaBrowser.Providers, Version=3.0.5621.4, Culture=neutral, PublicKeyToken=null Info, App, Loading MediaBrowser.Common.Implementations, Version=3.0.5621.4, Culture=neutral, PublicKeyToken=null Info, App, Loading MediaBrowser.Server.Implementations, Version=3.0.5621.4, Culture=neutral, PublicKeyToken=null Info, App, Loading MediaBrowser.MediaEncoding, Version=3.0.5621.4, Culture=neutral, PublicKeyToken=null Info, App, Loading MediaBrowser.Dlna, Version=3.0.5621.4, Culture=neutral, PublicKeyToken=null Info, App, Loading MediaBrowser.LocalMetadata, Version=3.0.5621.4, Culture=neutral, PublicKeyToken=null Info, App, Loading MediaBrowser.XbmcMetadata, Version=3.0.5621.4, Culture=neutral, PublicKeyToken=null Info, App, Loading MediaBrowser.IsoMounting.Linux, Version=1.0.5131.24779, Culture=neutral, PublicKeyToken=null Info, App, Loading MediaBrowser.Server.Mono, Version=3.0.5621.4, Culture=neutral, PublicKeyToken=null Info, App, Loading MediaBrowser.Server.Startup.Common, Version=3.0.5621.4, Culture=neutral, PublicKeyToken=null Info, SqliteUserRepository, Sqlite 3.8.7.4 opening /var/lib/emby-server/data/users.db Info, SqliteItemRepository, Sqlite 3.8.7.4 opening /var/lib/emby-server/data/chapters.db Info, SqliteItemRepository, Sqlite 3.8.7.4 opening /var/lib/emby-server/data/mediainfo.db Info, SqliteFileOrganizationRepository, Sqlite 3.8.7.4 opening /var/lib/emby-server/data/fileorganization.db Info, AuthenticationRepository, Sqlite 3.8.7.4 opening /var/lib/emby-server/data/authentication.db Info, SyncRepository, Sqlite 3.8.7.4 opening /var/lib/emby-server/data/sync14.db Info, ImageMagick, ImageMagick version: ImageMagick 6.9.0-3 Q16 x86_64 2015-04-16 http://www.imagemagick.org Info, ImageProcessor, ImageProcessor started with 4 max concurrent image processes Info, App, FFMpeg: /usr/bin/ffmpeg Info, App, FFProbe: /usr/bin/ffprobe Error, App, ffmpeg is missing encoder libx265 Info, ActivityRepository, Sqlite 3.8.7.4 opening /var/lib/emby-server/data/activitylog.db Info, SqliteDisplayPreferencesRepository, Sqlite 3.8.7.4 opening /var/lib/emby-server/data/displaypreferences.db Info, SqliteItemRepository, Sqlite 3.8.7.4 opening /var/lib/emby-server/data/library.db Info, SqliteProviderInfoRepository, Sqlite 3.8.7.4 opening /var/lib/emby-server/data/refreshinfo.db Info, SqliteUserDataRepository, Sqlite 3.8.7.4 opening /var/lib/emby-server/data/userdata_v2.db Info, SqliteNotificationsRepository, Sqlite 3.8.7.4 opening /var/lib/emby-server/data/notifications.db Info, HttpServer, Calling ServiceStack AppHost.Init Info, ServiceStackHost, Initializing Application took 10482.111ms Info, ServerManager, Loading Http Server Info, HttpServer, Adding HttpListener prefix http://+:8096/ Info, HttpServer, Adding HttpListener prefix https://+:8920/ Info, HttpServer, attempting to load pfx: /var/lib/emby-server/ssl/cert_9c31b7884ea5475c8687970fc5996297.pfx Error, HttpServer, Exception loading certificate: /var/lib/emby-server/ssl/cert_9c31b7884ea5475c8687970fc5996297.pfx *** Error Report *** Version: 3.0.5621.4 Command line: /opt/emby-server/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe Operating system: Unix 3.18.7.0 Processor count: 1 64-Bit OS: True 64-Bit Process: True Program data path: /var/lib/emby-server Mono: 3.2.8 ((no/b1e8599 Thu Apr 16 01:00:14 EDT 2015) Application Path: /opt/emby-server/MediaBrowser.Server.Mono.exe Input data cannot be coded as a valid certificate. System.Security.Cryptography.CryptographicException at Mono.Security.X509.X509Certificate.Parse (System.Byte[] data) [0x00000] in <filename unknown>:0 at Mono.Security.X509.X509Certificate..ctor (System.Byte[] data) [0x00000] in <filename unknown>:0 at System.Security.Cryptography.X509Certificates.X509Certificate2.Import (System.Byte[] rawData, System.String password, X509KeyStorageFlags keyStorageFlags) [0x00000] in <filename unknown>:0 at System.Security.Cryptography.X509Certificates.X509Certificate2.Import (System.String fileName, System.String password, X509KeyStorageFlags keyStorageFlags) [0x00000] in <filename unknown>:0 at System.Security.Cryptography.X509Certificates.X509Certificate2..ctor (System.String fileName) [0x00000] in <filename unknown>:0 at SocketHttpListener.Net.EndPointListener.LoadCertificateAndKey (System.Net.IPAddress addr, Int32 port, System.String certificateLocation) [0x00000] in <filename unknown>:0 InnerException: System.Security.Cryptography.CryptographicException Input data cannot be coded as a valid certificate. at Mono.Security.X509.X509Certificate.Parse (System.Byte[] data) [0x00000] in <filename unknown>:0 Running startup tasks Info, App, Core startup complete Info, SsdpHandler, MultiCast socket created Info, App, HttpClientManager GET: http://www.mb3admin.com/admin/service/MB3ServerNotifications.json UnhandledException The underlying Task is already in one of the three final states: RanToCompletion, Faulted, or Canceled. System.InvalidOperationException at System.Threading.Tasks.TaskCompletionSource`1[system.Int32].SetException (IEnumerable`1 exceptions) [0x00000] in <filename unknown>:0 at System.Threading.Tasks.TaskCompletionSource`1[system.Int32].SetException (System.Exception exception) [0x00000] in <filename unknown>:0 at System.Threading.Tasks.TaskFactory`1[system.Int32].InnerInvoke (System.Threading.Tasks.TaskCompletionSource`1 tcs, System.Func`2 endMethod, IAsyncResult l) [0x00000] in <filename unknown>:0 at System.Threading.Tasks.TaskFactory`1+<FromAsyncBeginEnd>c__AnonStorey5`3[system.Int32,System.Byte[],System.Int32,System.Int32].<>m__0 (IAsyncResult l) [0x00000] in <filename unknown>:0 at System.Net.WebAsyncResult.CB (System.Object unused) [0x00000] in <filename unknown>:0 Stacktrace: Native stacktrace: mono() [0x4b6d48] mono() [0x50f593] mono() [0x4248b2] /lib64/libpthread.so.0(+0x10300) [0x7ff107a0b300] mono() [0x5b0313] mono() [0x5b0408] mono() [0x5b066c] mono() [0x592610] mono() [0x62c00d] mono() [0x63c655] /lib64/libpthread.so.0(+0x8233) [0x7ff107a03233] /lib64/libc.so.6(clone+0x6d) [0x7ff10773e6fd] Debug info from gdb: ================================================================= Got a SIGSEGV while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. ================================================================= Shutting down finalizer thread timed out. emby-log.txt Link to comment Share on other sites More sharing options...
hurricanehrndz 149 Posted June 1, 2015 Share Posted June 1, 2015 Lots of info on this through the forum. PS you should be using mono 4. The one from the ppa. Link to comment Share on other sites More sharing options...
NP-Hardass 0 Posted June 3, 2015 Author Share Posted June 3, 2015 Lots of info on this through the forum. PS you should be using mono 4. The one from the ppa. Searching for "CreateProcess" yields 0 results. Actually giving answers, or at minimum, linking to a related thread is much appreciated over a generic "Go look for an answer" According to http://emby.media/downloads/linux-server/, only mono 3.4 or higher is necessary. If mono 4 is in fact the requisite version, the page should be updated. I was running 3.2, so I gave 4 a whirl. mono 4 has resulted in a slew of exceptions being thrown, so not sure the best course of action for that, but that is a separate issue. I'm also, as mentioned, using Gentoo, so I don't use ppa's, but regardless, the linux instructions make no mention of a ppa, so, not sure what you are referring to there. Link to comment Share on other sites More sharing options...
Solution hurricanehrndz 149 Posted June 3, 2015 Solution Share Posted June 3, 2015 (edited) My apologies.You are completely correct on many levels. Anyhow, this seems to boil down to an error in the kernel introduce in some version but addressed in version 4.04: https://forums.sonarr.tv/t/native-mono-crashes/4985 http://emby.media/community/index.php?/topic/19955-emby-crashing-ubuntu-server/ Edited June 3, 2015 by hurricanehernandez 1 Link to comment Share on other sites More sharing options...
NP-Hardass 0 Posted June 3, 2015 Author Share Posted June 3, 2015 My apologies.You are completely correct on many levels. Anyhow, this seems to boil down to an error in the kernel introduce in some version but addressed in version 4.04: https://forums.sonarr.tv/t/native-mono-crashes/4985 http://emby.media/community/index.php?/topic/19955-emby-crashing-ubuntu-server/ Thank you very much for the quick and thorough update. I'll have to do some poking around to see if I can find out what the patch to fix it is and/or try out linux kernel 4.04. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now