Jump to content

Emby server is not starting anymore


Recommended Posts

Posted

Hi,

Today my Emby server is not starting anymore. Two days ago it was still working fine and I didn't start it yesterday...

2020-12-27 21:20:36.406 Error Main: Error in appHost.Init
	*** Error Report ***
	Version: 4.5.4.0
	Command line: C:\Users\sas\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows 10.0.19042
	Framework: .NET Core 3.1.9
	OS/Process: x64/x64
	Runtime: C:/Users/sas/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 8
	Data path: C:\Users\sas\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\sas\AppData\Roaming\Emby-Server\system
	System.Net.Sockets.SocketException: System.Net.Sockets.SocketException (10013): An attempt was made to access a socket in a way forbidden by its access permissions.
	   at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, String callerName)
	   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
	   at System.Net.Sockets.Socket.Bind(EndPoint localEP)
	   at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
	   at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken)
	   at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer.<>c__DisplayClass21_0`1.<<StartAsync>g__OnBind|0>d.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context)
	   at Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions.BindAsync(AddressBindContext context)
	   at Microsoft.AspNetCore.Server.Kestrel.Core.AnyIPListenOptions.BindAsync(AddressBindContext context)
	   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.EndpointsStrategy.BindAsync(AddressBindContext context)
	   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(IServerAddressesFeature addresses, KestrelServerOptions serverOptions, ILogger logger, Func`2 createBinding)
	   at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
	   at Microsoft.AspNetCore.Hosting.WebHost.StartAsync(CancellationToken cancellationToken)
	   at Microsoft.AspNetCore.Hosting.WebHost.Start()
	   at Emby.Server.Implementations.HttpServer.KestrelHost.KestrelListener.OnAddPrefixesComplete()
	   at Emby.Server.Implementations.ApplicationHost.StartServer()
	   at Emby.Server.Implementations.ApplicationHost.Init()
	   at EmbyServer.HostedService.StartAsync(CancellationToken cancellationToken)
	Source: System.Net.Sockets
	TargetSite: Void UpdateStatusAfterSocketErrorAndThrowException(System.Net.Sockets.SocketError, System.String)

 

The error seems to suggest some socket access error but I haven't made any changes to my system in between and there has been no Windows update installed either.

I have tried restarting my system a couple of times and also reinstalled Emby, but still no luck...

Any idea what else to check?

Thanks!

 

Posted

Hi, as a test, can you try running emby server as administrator?

Posted

I have just tried, but the problem persists. My user is an administrator, but I have also used the "run as administrator" option explicitly...

I have also tried clearing the programdata folder to start with a fresh configuration, in case I screwed up something in the settings... however this is a very early initialization problem, a new programdata folder gets created but the server still shuts down:

 

2020-12-28 01:58:33.911 Error Main: Error in appHost.Init
	*** Error Report ***
	Version: 4.5.4.0
	Command line: C:\Users\sas\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows 10.0.19042
	Framework: .NET Core 3.1.9
	OS/Process: x64/x64
	Runtime: C:/Users/sas/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 8
	Data path: C:\Users\sas\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\sas\AppData\Roaming\Emby-Server\system
	System.Net.Sockets.SocketException: System.Net.Sockets.SocketException (10013): An attempt was made to access a socket in a way forbidden by its access permissions.
	   at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, String callerName)
	   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
	   at System.Net.Sockets.Socket.Bind(EndPoint localEP)
	   at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
	   at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken)
	   at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer.<>c__DisplayClass21_0`1.<<StartAsync>g__OnBind|0>d.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context)
	   at Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions.BindAsync(AddressBindContext context)
	   at Microsoft.AspNetCore.Server.Kestrel.Core.AnyIPListenOptions.BindAsync(AddressBindContext context)
	   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.EndpointsStrategy.BindAsync(AddressBindContext context)
	   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(IServerAddressesFeature addresses, KestrelServerOptions serverOptions, ILogger logger, Func`2 createBinding)
	   at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
	   at Microsoft.AspNetCore.Hosting.WebHost.StartAsync(CancellationToken cancellationToken)
	   at Microsoft.AspNetCore.Hosting.WebHost.Start()
	   at Emby.Server.Implementations.HttpServer.KestrelHost.KestrelListener.OnAddPrefixesComplete()
	   at Emby.Server.Implementations.ApplicationHost.StartServer()
	   at Emby.Server.Implementations.ApplicationHost.Init()
	   at EmbyServer.HostedService.StartAsync(CancellationToken cancellationToken)
	Source: System.Net.Sockets
	TargetSite: Void UpdateStatusAfterSocketErrorAndThrowException(System.Net.Sockets.SocketError, System.String)
	
2020-12-28 01:58:33.912 Info Main: Shutdown complete
2020-12-28 01:58:33.912 Info Main: Shutdown complete

 

This is very strange indeed as I can't think of anything that could have caused this...

Posted (edited)

Hi,

This morning it started normally, with old config and library in place... once again no change on my computer since yesterday, and I already tried rebooting then with no luck...

So this looks like a random problem, but it would be interesting to know what is triggering it as it may come back again...

 

2020-12-28 08:59:22.725 Info App: Loading AudioDb, Version=1.0.11.0, Culture=neutral, PublicKeyToken=null from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\AudioDb.dll
2020-12-28 08:59:22.725 Info App: Loading BlurayMounter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\BlurayMounter.dll
2020-12-28 08:59:22.725 Info App: Loading DvdMounter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\DvdMounter.dll
2020-12-28 08:59:22.725 Info App: Loading Emby.Dlna, Version=1.0.39.0, Culture=neutral, PublicKeyToken=null from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\Emby.Dlna.dll
2020-12-28 08:59:22.725 Info App: Loading Emby.PortMapper, Version=1.0.4.0, Culture=neutral, PublicKeyToken=null from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\Emby.PortMapper.dll
2020-12-28 08:59:22.725 Info App: Loading Emby.Server.CinemaMode, Version=1.0.35.0, Culture=neutral, PublicKeyToken=null from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\Emby.Server.CinemaMode.dll
2020-12-28 08:59:22.725 Info App: Loading Emby.Webhooks, Version=1.0.13.0, Culture=neutral, PublicKeyToken=null from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\Emby.Webhooks.dll
2020-12-28 08:59:22.725 Info App: Loading Fanart, Version=1.0.10.0, Culture=neutral, PublicKeyToken=null from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\Fanart.dll
2020-12-28 08:59:22.725 Info App: Loading Lastfm, Version=1.0.24.0, Culture=neutral, PublicKeyToken=null from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\Lastfm.dll
2020-12-28 08:59:22.725 Info App: Loading MovieDb, Version=1.3.8.0, Culture=neutral, PublicKeyToken=null from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\MovieDb.dll
2020-12-28 08:59:22.725 Info App: Loading MusicBrainz, Version=1.0.13.0, Culture=neutral, PublicKeyToken=null from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\MusicBrainz.dll
2020-12-28 08:59:22.725 Info App: Loading NfoMetadata, Version=1.0.34.0, Culture=neutral, PublicKeyToken=null from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\NfoMetadata.dll
2020-12-28 08:59:22.726 Info App: Loading OMDb, Version=1.0.11.0, Culture=neutral, PublicKeyToken=null from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\OMDb.dll
2020-12-28 08:59:22.726 Info App: Loading OpenSubtitles, Version=1.0.27.0, Culture=neutral, PublicKeyToken=null from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\OpenSubtitles.dll
2020-12-28 08:59:22.726 Info App: Loading StudioImages, Version=1.0.3.0, Culture=neutral, PublicKeyToken=null from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\StudioImages.dll
2020-12-28 08:59:22.726 Info App: Loading Tvdb, Version=1.0.35.0, Culture=neutral, PublicKeyToken=null from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\Tvdb.dll
2020-12-28 08:59:22.726 Info App: Loading Emby.Api, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 08:59:22.726 Info App: Loading Emby.Web, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 08:59:22.726 Info App: Loading MediaBrowser.Model, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 08:59:22.726 Info App: Loading MediaBrowser.Common, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 08:59:22.726 Info App: Loading MediaBrowser.Controller, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 08:59:22.726 Info App: Loading Emby.Providers, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 08:59:22.726 Info App: Loading Emby.Photos, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 08:59:22.726 Info App: Loading Emby.Server.Implementations, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 08:59:22.726 Info App: Loading Emby.LiveTV, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 08:59:22.726 Info App: Loading Emby.ActivityLog, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 08:59:22.726 Info App: Loading Emby.Server.MediaEncoding, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 08:59:22.726 Info App: Loading Emby.LocalMetadata, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 08:59:22.726 Info App: Loading Emby.Notifications, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 08:59:22.726 Info App: Loading Emby.Codecs.Dxva, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 08:59:22.726 Info App: Loading Emby.Codecs, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 08:59:22.726 Info App: Loading Emby.Server.Connect, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 08:59:22.726 Info App: Loading Emby.Server.Sync, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 08:59:22.726 Info App: Loading EmbyServer, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 08:59:22.853 Info SqliteUserRepository: Sqlite version: 3.33.0
2020-12-28 08:59:22.853 Info SqliteUserRepository: Sqlite compiler options: COMPILER=msvc-1500,ENABLE_BYTECODE_VTAB,ENABLE_COLUMN_METADATA,ENABLE_DBSTAT_VTAB,ENABLE_FTS3,ENABLE_FTS4,ENABLE_FTS5,ENABLE_GEOPOLY,ENABLE_JSON1,ENABLE_RTREE,ENABLE_STMTVTAB,MAX_TRIGGER_DEPTH=100,TEMP_STORE=1,THREADSAFE=1
2020-12-28 08:59:22.877 Info SqliteUserRepository: Default journal_mode for C:\Users\sas\AppData\Roaming\Emby-Server\programdata\data\users.db is wal
2020-12-28 08:59:22.898 Info AuthenticationRepository: Default journal_mode for C:\Users\sas\AppData\Roaming\Emby-Server\programdata\data\authentication.db is wal
2020-12-28 08:59:22.934 Info ActivityRepository: Default journal_mode for C:\Users\sas\AppData\Roaming\Emby-Server\programdata\data\activitylog.db is wal
2020-12-28 08:59:22.937 Info SqliteDisplayPreferencesRepository: Default journal_mode for C:\Users\sas\AppData\Roaming\Emby-Server\programdata\data\displaypreferences.db is wal
2020-12-28 08:59:22.942 Info App: Adding HttpListener prefix http://+:8096/
2020-12-28 08:59:23.080 Info SqliteItemRepository: Default journal_mode for C:\Users\sas\AppData\Roaming\Emby-Server\programdata\data\library.db is wal
2020-12-28 08:59:34.161 Info Skia: SkiaSharp version: 2.80.0.0
2020-12-28 08:59:34.185 Info TaskManager: Daily trigger for Thumbnail image extraction set to fire at 12/29/2020 02:00:00, which is 1020.4302425816667 minutes from now.
2020-12-28 08:59:34.190 Info TaskManager: Daily trigger for Rotate log file set to fire at 12/29/2020 00:00:00, which is 900.430158885 minutes from now.
2020-12-28 08:59:34.195 Info App: ServerId: d73c1eafcc8f469d9bd94ef2efe1745c
2020-12-28 08:59:34.224 Info App: Starting entry point Emby.Dlna.Main.DlnaEntryPoint
2020-12-28 08:59:34.301 Info Dlna: Registering publisher for urn:schemas-upnp-org:device:MediaServer:1
2020-12-28 08:59:34.505 Info App: Entry point completed: Emby.Dlna.Main.DlnaEntryPoint. Duration: 0.2812693 seconds
2020-12-28 08:59:34.505 Info App: Starting entry point Emby.Server.Connect.ConnectEntryPoint
2020-12-28 08:59:34.506 Info App: Loading data from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\data\connect.txt
2020-12-28 08:59:34.506 Info App: Loading data from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\data\wan.dat
2020-12-28 08:59:34.508 Info App: Entry point completed: Emby.Server.Connect.ConnectEntryPoint. Duration: 0.0023897 seconds
2020-12-28 08:59:34.508 Info App: Core startup complete
2020-12-28 08:59:34.508 Info App: Post-init migrations complete
2020-12-28 08:59:34.508 Info App: Starting entry point Emby.PortMapper.ExternalPortForwarding
2020-12-28 08:59:34.509 Info App: Entry point completed: Emby.PortMapper.ExternalPortForwarding. Duration: 0.0010668 seconds
2020-12-28 08:59:34.509 Info App: Starting entry point Emby.Security.PluginSecurityManager
2020-12-28 08:59:34.509 Info App: Entry point completed: Emby.Security.PluginSecurityManager. Duration: 3.42E-05 seconds
2020-12-28 08:59:34.509 Info App: Starting entry point Emby.Server.CinemaMode.IntrosEntryPoint
2020-12-28 08:59:34.509 Info App: Entry point completed: Emby.Server.CinemaMode.IntrosEntryPoint. Duration: 6.91E-05 seconds
2020-12-28 08:59:34.509 Info App: Starting entry point Emby.Webhooks.WebhooksEntryPoint
2020-12-28 08:59:34.510 Info App: Entry point completed: Emby.Webhooks.WebhooksEntryPoint. Duration: 0.0005045 seconds
2020-12-28 08:59:34.510 Info App: Starting entry point Lastfm.ServerEntryPoint
2020-12-28 08:59:34.510 Info App: Entry point completed: Lastfm.ServerEntryPoint. Duration: 8.39E-05 seconds
2020-12-28 08:59:34.510 Info App: Starting entry point NfoMetadata.EntryPoint
2020-12-28 08:59:34.510 Info App: Entry point completed: NfoMetadata.EntryPoint. Duration: 4.58E-05 seconds
2020-12-28 08:59:34.510 Info App: Starting entry point MediaBrowser.Api.ApiEntryPoint
2020-12-28 08:59:34.510 Info App: Entry point completed: MediaBrowser.Api.ApiEntryPoint. Duration: 2.67E-05 seconds
2020-12-28 08:59:34.510 Info App: Starting entry point Emby.Server.Implementations.Udp.UdpServerEntryPoint
2020-12-28 08:59:34.510 Info App: Entry point completed: Emby.Server.Implementations.Udp.UdpServerEntryPoint. Duration: 0.0002977 seconds
2020-12-28 08:59:34.510 Info App: Starting entry point Emby.Server.Implementations.Playlists.PlaylistsEntryPoint
2020-12-28 08:59:34.510 Info App: Entry point completed: Emby.Server.Implementations.Playlists.PlaylistsEntryPoint. Duration: 0.0002261 seconds
2020-12-28 08:59:34.510 Info App: Starting entry point Emby.Server.Implementations.News.NewsEntryPoint
2020-12-28 08:59:34.510 Info App: Entry point completed: Emby.Server.Implementations.News.NewsEntryPoint. Duration: 1.08E-05 seconds
2020-12-28 08:59:34.510 Info App: Starting entry point Emby.Server.Implementations.Library.DeviceAccessEntryPoint
2020-12-28 08:59:34.510 Info App: Entry point completed: Emby.Server.Implementations.Library.DeviceAccessEntryPoint. Duration: 3.96E-05 seconds
2020-12-28 08:59:34.510 Info App: Starting entry point Emby.Server.Implementations.IO.LibraryMonitorStartup
2020-12-28 08:59:34.567 Info App: Init BeginReceive on 0.0.0.0

2020-12-28 08:59:34.614 Info LibraryMonitor: Watching directory \\musixerver\1m\@!Hi-Res Stereo
2020-12-28 08:59:34.614 Info LibraryMonitor: Watching directory \\musixerver\1m\@#
2020-12-28 08:59:34.616 Info LibraryMonitor: Watching directory \\musixerver\1m\@A
2020-12-28 08:59:34.618 Info LibraryMonitor: Watching directory \\musixerver\1m\@B
2020-12-28 08:59:34.620 Info LibraryMonitor: Watching directory \\musixerver\1m\@C
2020-12-28 08:59:34.622 Info LibraryMonitor: Watching directory \\musixerver\1m\@D
2020-12-28 08:59:34.624 Info LibraryMonitor: Watching directory \\musixerver\1m\@E
2020-12-28 08:59:34.626 Info LibraryMonitor: Watching directory \\musixerver\1m\@F
2020-12-28 08:59:34.629 Info LibraryMonitor: Watching directory \\musixerver\1m\@G
2020-12-28 08:59:34.635 Info LibraryMonitor: Watching directory \\musixerver\1m\@H
2020-12-28 08:59:34.637 Info LibraryMonitor: Watching directory \\musixerver\1m\@I
2020-12-28 08:59:34.640 Info LibraryMonitor: Watching directory \\musixerver\1m\@J
2020-12-28 08:59:34.642 Info LibraryMonitor: Watching directory \\musixerver\1m\@K
2020-12-28 08:59:34.644 Info LibraryMonitor: Watching directory \\musixerver\1m\@L
2020-12-28 08:59:34.647 Info LibraryMonitor: Watching directory \\musixerver\1m\@M
2020-12-28 08:59:34.649 Info LibraryMonitor: Watching directory \\musixerver\1m\@N
2020-12-28 08:59:34.651 Info LibraryMonitor: Watching directory \\musixerver\1m\@O
2020-12-28 08:59:34.653 Info LibraryMonitor: Watching directory \\musixerver\1m\@P
2020-12-28 08:59:34.655 Info LibraryMonitor: Watching directory \\musixerver\1m\@Q
2020-12-28 08:59:34.656 Info LibraryMonitor: Watching directory \\musixerver\1m\@R
2020-12-28 08:59:34.658 Info LibraryMonitor: Watching directory \\musixerver\1m\@S
2020-12-28 08:59:34.660 Info LibraryMonitor: Watching directory \\musixerver\1m\@T
2020-12-28 08:59:34.662 Info LibraryMonitor: Watching directory \\musixerver\1m\@U
2020-12-28 08:59:34.664 Info LibraryMonitor: Watching directory \\musixerver\1m\@V
2020-12-28 08:59:34.666 Info LibraryMonitor: Watching directory \\musixerver\1m\@W
2020-12-28 08:59:34.667 Info LibraryMonitor: Watching directory \\musixerver\1m\@X
2020-12-28 08:59:34.668 Info App: Entry point completed: Emby.Server.Implementations.IO.LibraryMonitorStartup. Duration: 0.1575525 seconds
2020-12-28 08:59:34.668 Info App: Starting entry point Emby.Server.Implementations.EntryPoints.AutomaticRestartEntryPoint
2020-12-28 08:59:34.668 Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.AutomaticRestartEntryPoint. Duration: 7.44E-05 seconds
2020-12-28 08:59:34.668 Info App: Starting entry point Emby.Server.Implementations.EntryPoints.KeepServerAwake
2020-12-28 08:59:34.668 Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.KeepServerAwake. Duration: 2.77E-05 seconds
2020-12-28 08:59:34.668 Info App: Starting entry point Emby.Server.Implementations.EntryPoints.LibraryChangedNotifier
2020-12-28 08:59:34.668 Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.LibraryChangedNotifier. Duration: 0.0001734 seconds
2020-12-28 08:59:34.668 Info App: Starting entry point Emby.Server.Implementations.EntryPoints.ServerEventNotifier
2020-12-28 08:59:34.669 Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.ServerEventNotifier. Duration: 9.44E-05 seconds
2020-12-28 08:59:34.669 Info App: Starting entry point Emby.Server.Implementations.EntryPoints.StartupWizard
2020-12-28 08:59:34.669 Info LibraryMonitor: Watching directory \\musixerver\1m\@Y
2020-12-28 08:59:34.671 Info LibraryMonitor: Watching directory \\musixerver\1m\@Z
2020-12-28 08:59:34.876 Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.StartupWizard. Duration: 0.2073148 seconds
2020-12-28 08:59:34.876 Info App: Starting entry point Emby.Server.Implementations.EntryPoints.SystemEvents
2020-12-28 08:59:34.877 Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.SystemEvents. Duration: 7.19E-05 seconds
2020-12-28 08:59:34.877 Info App: Starting entry point Emby.Server.Implementations.EntryPoints.UserDataChangeNotifier
2020-12-28 08:59:34.877 Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.UserDataChangeNotifier. Duration: 3.86E-05 seconds
2020-12-28 08:59:34.877 Info App: Starting entry point Emby.Server.Implementations.Channels.ChannelsEntryPoint
2020-12-28 08:59:34.878 Info App: Entry point completed: Emby.Server.Implementations.Channels.ChannelsEntryPoint. Duration: 0.0011147 seconds
2020-12-28 08:59:34.878 Info App: Starting entry point Emby.LiveTV.EntryPoint
2020-12-28 08:59:34.878 Info LiveTV: Loading live tv data from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\data\livetv\timers
2020-12-28 08:59:34.882 Info App: Entry point completed: Emby.LiveTV.EntryPoint. Duration: 0.0043893 seconds
2020-12-28 08:59:34.882 Info App: Starting entry point Emby.LiveTV.LiveTVEntryPoint
2020-12-28 08:59:34.882 Info App: Entry point completed: Emby.LiveTV.LiveTVEntryPoint. Duration: 2.11E-05 seconds
2020-12-28 08:59:34.882 Info App: Starting entry point Emby.LiveTV.RecordingNotifier
2020-12-28 08:59:34.882 Info App: Entry point completed: Emby.LiveTV.RecordingNotifier. Duration: 0.0001113 seconds
2020-12-28 08:59:34.882 Info App: Starting entry point Emby.ActivityLog.ActivityLogEntryPoint
2020-12-28 08:59:34.883 Info App: Entry point completed: Emby.ActivityLog.ActivityLogEntryPoint. Duration: 0.0002355 seconds
2020-12-28 08:59:34.883 Info App: Starting entry point Emby.Server.MediaEncoding.Api.EncodingManagerEntryPoint
2020-12-28 08:59:34.884 Info App: Entry point completed: Emby.Server.MediaEncoding.Api.EncodingManagerEntryPoint. Duration: 0.0009629 seconds
2020-12-28 08:59:34.884 Info App: Starting entry point Emby.Notifications.Notifications
2020-12-28 08:59:34.884 Info App: Entry point completed: Emby.Notifications.Notifications. Duration: 7.17E-05 seconds
2020-12-28 08:59:34.884 Info App: Starting entry point Emby.Server.Sync.SyncManagerEntryPoint
2020-12-28 08:59:34.887 Info App: SyncRepository Initialize taking write lock
2020-12-28 08:59:34.887 Info App: SyncRepository Initialize write lock taken
2020-12-28 08:59:34.887 Info App: Entry point completed: Emby.Server.Sync.SyncManagerEntryPoint. Duration: 0.0034546 seconds
2020-12-28 08:59:34.887 Info App: Starting entry point Emby.Server.Sync.SyncNotificationEntryPoint
2020-12-28 08:59:34.887 Info App: Entry point completed: Emby.Server.Sync.SyncNotificationEntryPoint. Duration: 0.0001965 seconds
2020-12-28 08:59:34.887 Info App: Starting entry point EmbyServer.Windows.LoopUtilEntryPoint
2020-12-28 08:59:34.930 Info App: Entry point completed: EmbyServer.Windows.LoopUtilEntryPoint. Duration: 0.0424094 seconds
2020-12-28 08:59:34.930 Info App: All entry points have started

 

Image1.png

Edited by amatala
Posted

Are you sure you were using the correct user?

C:/Users/sas/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll

That would indicate you installed Emby using the user "sas" and this is the user that needs to run Emby.

If you tried running it with a different username it won't work.

 

Posted

I always run Emby with the same user, I don't connect to my PC with any other user. For now it's still working fine.

  • Like 1
Posted

Good to know.  Thanks for the feedback on your progress.

Posted

Here is the full log from the time Emby did not start, just in case... As you can see, the user was the same at that time too. I'll let you know if the problem pops up again. Thanks ;)

 

2020-12-28 01:54:44.469 Info Main: Application path: C:\Users\sas\AppData\Roaming\Emby-Server\system\EmbyServer.dll
2020-12-28 01:54:44.724 Info Main: Emby
	Command line: C:\Users\sas\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows 10.0.19042
	Framework: .NET Core 3.1.9
	OS/Process: x64/x64
	Runtime: C:/Users/sas/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 8
	Data path: C:\Users\sas\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\sas\AppData\Roaming\Emby-Server\system
2020-12-28 01:54:44.725 Info Main: Tray icon path: C:\Users\sas\AppData\Roaming\Emby-Server\system\embytray
2020-12-28 01:54:44.751 Info App: Application version: 4.5.4.0
2020-12-28 01:54:44.751 Info App: Loading assemblies
2020-12-28 01:54:44.762 Info App: File C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\AudioDb.dll has version 1.0.11.0
2020-12-28 01:54:44.763 Info App: File C:\Users\sas\AppData\Roaming\Emby-Server\system\plugins\AudioDb.dll has version 1.0.11.0
2020-12-28 01:54:44.763 Info App: File C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\BlurayMounter.dll has version 1.0.0.0
2020-12-28 01:54:44.764 Info App: File C:\Users\sas\AppData\Roaming\Emby-Server\system\plugins\BlurayMounter.dll has version 1.0.0.0
2020-12-28 01:54:44.764 Info App: File C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\DvdMounter.dll has version 1.0.0.0
2020-12-28 01:54:44.764 Info App: File C:\Users\sas\AppData\Roaming\Emby-Server\system\plugins\DvdMounter.dll has version 1.0.0.0
2020-12-28 01:54:44.765 Info App: File C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\Emby.Dlna.dll has version 1.0.39.0
2020-12-28 01:54:44.766 Info App: File C:\Users\sas\AppData\Roaming\Emby-Server\system\plugins\Emby.Dlna.dll has version 1.0.39.0
2020-12-28 01:54:44.766 Info App: File C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\Emby.PortMapper.dll has version 1.0.4.0
2020-12-28 01:54:44.766 Info App: File C:\Users\sas\AppData\Roaming\Emby-Server\system\plugins\Emby.PortMapper.dll has version 1.0.4.0
2020-12-28 01:54:44.766 Info App: Copying plugin from C:\Users\sas\AppData\Roaming\Emby-Server\system\plugins\Emby.Server.CinemaMode.dll to C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\Emby.Server.CinemaMode.dll
2020-12-28 01:54:44.773 Info App: Copying plugin from C:\Users\sas\AppData\Roaming\Emby-Server\system\plugins\Emby.Webhooks.dll to C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\Emby.Webhooks.dll
2020-12-28 01:54:44.774 Info App: File C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\Fanart.dll has version 1.0.10.0
2020-12-28 01:54:44.775 Info App: File C:\Users\sas\AppData\Roaming\Emby-Server\system\plugins\Fanart.dll has version 1.0.10.0
2020-12-28 01:54:44.775 Info App: File C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\MovieDb.dll has version 1.3.8.0
2020-12-28 01:54:44.776 Info App: File C:\Users\sas\AppData\Roaming\Emby-Server\system\plugins\MovieDb.dll has version 1.3.8.0
2020-12-28 01:54:44.776 Info App: File C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\MusicBrainz.dll has version 1.0.13.0
2020-12-28 01:54:44.776 Info App: File C:\Users\sas\AppData\Roaming\Emby-Server\system\plugins\MusicBrainz.dll has version 1.0.13.0
2020-12-28 01:54:44.776 Info App: Copying plugin from C:\Users\sas\AppData\Roaming\Emby-Server\system\plugins\NfoMetadata.dll to C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\NfoMetadata.dll
2020-12-28 01:54:44.778 Info App: File C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\OMDb.dll has version 1.0.11.0
2020-12-28 01:54:44.778 Info App: File C:\Users\sas\AppData\Roaming\Emby-Server\system\plugins\OMDb.dll has version 1.0.11.0
2020-12-28 01:54:44.779 Info App: File C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\OpenSubtitles.dll has version 1.0.27.0
2020-12-28 01:54:44.779 Info App: File C:\Users\sas\AppData\Roaming\Emby-Server\system\plugins\OpenSubtitles.dll has version 1.0.27.0
2020-12-28 01:54:44.779 Info App: File C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\StudioImages.dll has version 1.0.3.0
2020-12-28 01:54:44.780 Info App: File C:\Users\sas\AppData\Roaming\Emby-Server\system\plugins\StudioImages.dll has version 1.0.3.0
2020-12-28 01:54:44.780 Info App: File C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\Tvdb.dll has version 1.0.35.0
2020-12-28 01:54:44.781 Info App: File C:\Users\sas\AppData\Roaming\Emby-Server\system\plugins\Tvdb.dll has version 1.0.35.0
2020-12-28 01:54:44.864 Info App: Loading AudioDb, Version=1.0.11.0, Culture=neutral, PublicKeyToken=null from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\AudioDb.dll
2020-12-28 01:54:44.864 Info App: Loading BlurayMounter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\BlurayMounter.dll
2020-12-28 01:54:44.864 Info App: Loading DvdMounter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\DvdMounter.dll
2020-12-28 01:54:44.864 Info App: Loading Emby.Dlna, Version=1.0.39.0, Culture=neutral, PublicKeyToken=null from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\Emby.Dlna.dll
2020-12-28 01:54:44.864 Info App: Loading Emby.PortMapper, Version=1.0.4.0, Culture=neutral, PublicKeyToken=null from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\Emby.PortMapper.dll
2020-12-28 01:54:44.864 Info App: Loading Emby.Server.CinemaMode, Version=1.0.35.0, Culture=neutral, PublicKeyToken=null from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\Emby.Server.CinemaMode.dll
2020-12-28 01:54:44.864 Info App: Loading Emby.Webhooks, Version=1.0.13.0, Culture=neutral, PublicKeyToken=null from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\Emby.Webhooks.dll
2020-12-28 01:54:44.864 Info App: Loading Fanart, Version=1.0.10.0, Culture=neutral, PublicKeyToken=null from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\Fanart.dll
2020-12-28 01:54:44.864 Info App: Loading Lastfm, Version=1.0.24.0, Culture=neutral, PublicKeyToken=null from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\Lastfm.dll
2020-12-28 01:54:44.864 Info App: Loading MovieDb, Version=1.3.8.0, Culture=neutral, PublicKeyToken=null from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\MovieDb.dll
2020-12-28 01:54:44.864 Info App: Loading MusicBrainz, Version=1.0.13.0, Culture=neutral, PublicKeyToken=null from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\MusicBrainz.dll
2020-12-28 01:54:44.864 Info App: Loading NfoMetadata, Version=1.0.34.0, Culture=neutral, PublicKeyToken=null from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\NfoMetadata.dll
2020-12-28 01:54:44.864 Info App: Loading OMDb, Version=1.0.11.0, Culture=neutral, PublicKeyToken=null from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\OMDb.dll
2020-12-28 01:54:44.864 Info App: Loading OpenSubtitles, Version=1.0.27.0, Culture=neutral, PublicKeyToken=null from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\OpenSubtitles.dll
2020-12-28 01:54:44.864 Info App: Loading StudioImages, Version=1.0.3.0, Culture=neutral, PublicKeyToken=null from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\StudioImages.dll
2020-12-28 01:54:44.864 Info App: Loading Tvdb, Version=1.0.35.0, Culture=neutral, PublicKeyToken=null from C:\Users\sas\AppData\Roaming\Emby-Server\programdata\plugins\Tvdb.dll
2020-12-28 01:54:44.864 Info App: Loading Emby.Api, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 01:54:44.864 Info App: Loading Emby.Web, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 01:54:44.864 Info App: Loading MediaBrowser.Model, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 01:54:44.864 Info App: Loading MediaBrowser.Common, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 01:54:44.864 Info App: Loading MediaBrowser.Controller, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 01:54:44.864 Info App: Loading Emby.Providers, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 01:54:44.864 Info App: Loading Emby.Photos, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 01:54:44.864 Info App: Loading Emby.Server.Implementations, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 01:54:44.864 Info App: Loading Emby.LiveTV, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 01:54:44.864 Info App: Loading Emby.ActivityLog, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 01:54:44.864 Info App: Loading Emby.Server.MediaEncoding, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 01:54:44.864 Info App: Loading Emby.LocalMetadata, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 01:54:44.864 Info App: Loading Emby.Notifications, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 01:54:44.864 Info App: Loading Emby.Codecs.Dxva, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 01:54:44.864 Info App: Loading Emby.Codecs, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 01:54:44.864 Info App: Loading Emby.Server.Connect, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 01:54:44.864 Info App: Loading Emby.Server.Sync, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 01:54:44.864 Info App: Loading EmbyServer, Version=4.5.4.0, Culture=neutral, PublicKeyToken=null
2020-12-28 01:54:44.940 Info SqliteUserRepository: Sqlite version: 3.33.0
2020-12-28 01:54:44.940 Info SqliteUserRepository: Sqlite compiler options: COMPILER=msvc-1500,ENABLE_BYTECODE_VTAB,ENABLE_COLUMN_METADATA,ENABLE_DBSTAT_VTAB,ENABLE_FTS3,ENABLE_FTS4,ENABLE_FTS5,ENABLE_GEOPOLY,ENABLE_JSON1,ENABLE_RTREE,ENABLE_STMTVTAB,MAX_TRIGGER_DEPTH=100,TEMP_STORE=1,THREADSAFE=1
2020-12-28 01:54:44.948 Info SqliteUserRepository: Default journal_mode for C:\Users\sas\AppData\Roaming\Emby-Server\programdata\data\users.db is wal
2020-12-28 01:54:44.965 Info AuthenticationRepository: Default journal_mode for C:\Users\sas\AppData\Roaming\Emby-Server\programdata\data\authentication.db is wal
2020-12-28 01:54:44.979 Info ActivityRepository: Default journal_mode for C:\Users\sas\AppData\Roaming\Emby-Server\programdata\data\activitylog.db is wal
2020-12-28 01:54:44.981 Info SqliteDisplayPreferencesRepository: Default journal_mode for C:\Users\sas\AppData\Roaming\Emby-Server\programdata\data\displaypreferences.db is wal
2020-12-28 01:54:44.983 Info App: Requesting administrative access to authorize http server
2020-12-28 01:54:44.984 Info App: Running server authorization script
2020-12-28 01:54:44.984 Info App: ServerAuthorization
2020-12-28 01:54:45.821 Info ServerConfigurationManager: Saving system configuration
2020-12-28 01:54:45.823 Info App: Adding HttpListener prefix http://+:8096/
2020-12-28 01:54:45.872 Error Main: Error in appHost.Init
	*** Error Report ***
	Version: 4.5.4.0
	Command line: C:\Users\sas\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows 10.0.19042
	Framework: .NET Core 3.1.9
	OS/Process: x64/x64
	Runtime: C:/Users/sas/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 8
	Data path: C:\Users\sas\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\sas\AppData\Roaming\Emby-Server\system
	System.Net.Sockets.SocketException: System.Net.Sockets.SocketException (10013): An attempt was made to access a socket in a way forbidden by its access permissions.
	   at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, String callerName)
	   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
	   at System.Net.Sockets.Socket.Bind(EndPoint localEP)
	   at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
	   at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken)
	   at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer.<>c__DisplayClass21_0`1.<<StartAsync>g__OnBind|0>d.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context)
	   at Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions.BindAsync(AddressBindContext context)
	   at Microsoft.AspNetCore.Server.Kestrel.Core.AnyIPListenOptions.BindAsync(AddressBindContext context)
	   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.EndpointsStrategy.BindAsync(AddressBindContext context)
	   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(IServerAddressesFeature addresses, KestrelServerOptions serverOptions, ILogger logger, Func`2 createBinding)
	   at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
	   at Microsoft.AspNetCore.Hosting.WebHost.StartAsync(CancellationToken cancellationToken)
	   at Microsoft.AspNetCore.Hosting.WebHost.Start()
	   at Emby.Server.Implementations.HttpServer.KestrelHost.KestrelListener.OnAddPrefixesComplete()
	   at Emby.Server.Implementations.ApplicationHost.StartServer()
	   at Emby.Server.Implementations.ApplicationHost.Init()
	   at EmbyServer.HostedService.StartAsync(CancellationToken cancellationToken)
	Source: System.Net.Sockets
	TargetSite: Void UpdateStatusAfterSocketErrorAndThrowException(System.Net.Sockets.SocketError, System.String)
	
2020-12-28 01:54:45.873 Info Main: Shutdown complete
2020-12-28 01:54:45.873 Info Main: Shutdown complete

 

Posted

What security software do you have on the machine? Something appears to be blocking the server from starting up.

Posted
Just now, Luke said:

What security software do you have on the machine? Something appears to be blocking the server from starting up.

I am using Symantec Endpoint Protection and I have thought about that... stopping SEP didn't solve the problem at the time... and now SEP is up and running and Emby is running just fine today...

Image1.png

Posted

That's interesting. Thanks for the feedback.

  • 2 years later...
Posted (edited)

Hi I Restarted my Computer and Went to Start up my server and i get this

Screenshot (4).png

Edited by MarkE2794
Posted
18 minutes ago, MarkE2794 said:

@MarkE2794It looks like you went back and forth between beta and stable? That's not supported. I would suggest going back to the beta and then reporting whatever issue you had with it in the testing area of the community. To go back to 4.7 you'll need to do a fresh install.

Posted

i reverted back to beta and it fixed it

Posted
14 hours ago, MarkE2794 said:

i reverted back to beta and it fixed it

Why did you try to go back and forth in the first place?

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...