Jump to content

Server Not Starting???


thefirstofthe300
Go to solution Solved by thefirstofthe300,

Recommended Posts

thefirstofthe300

I have a problem that just creeped up on me out of nowhere.

 

Server is Arch Linux with the latest everything running my AUR package.

 

The server won't start and instead throws this error into my systemd log:

 

One or more errors occured
System.AggregateException
  at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) [0x00000] in <filename unknown>:0 
  at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks) [0x00000] in <filename unknown>:0 
  at MediaBrowser.Server.Mono.MainClass.RunApplication (MediaBrowser.Server.Implementations.ServerApplicationPaths appPaths, ILogManager logManager) [0x00000] in <filename unknown>:0 
  at MediaBrowser.Server.Mono.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0 
InnerException: System.Net.Sockets.SocketException
Address already in use
  at System.Net.Sockets.Socket.Bind (System.Net.EndPoint local_end) [0x00000] in <filename unknown>:0 
  at WebSocketSharp.Net.EndPointListener..ctor (System.Net.IPAddress addr, Int32 port, Boolean secure) [0x00000] in <filename unknown>:0 
  at WebSocketSharp.Net.EndPointManager.GetEPListener (System.String host, Int32 port, WebSocketSharp.Net.HttpListener listener, Boolean secure) [0x00000] in <filename unknown>:0 
  at WebSocketSharp.Net.EndPointManager.AddPrefixInternal (System.String p, WebSocketSharp.Net.HttpListener listener) [0x00000] in <filename unknown>:0 
  at WebSocketSharp.Net.EndPointManager.AddListener (WebSocketSharp.Net.HttpListener listener) [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
  at MediaBrowser.ServerApplication.ApplicationHost+<Init>c__async1.MoveNext () [0x00000] in <filename unknown>:0 

The especially weird part is that the problem did not exist until I just restarted the server.  I had the server updated and everything was working just fine.  I have reinstalled the server to attempt to fix it: no dice.

 

Any ideas?

 
Link to comment
Share on other sites

Beardyname

I wonder if that is the same thing we saw a while back with the address trying to restart to soon to it shutting down so it got denied by itself :P

 

have you tried to see if anything is binding to the *:8096 port ? or looked if there is an crashed mb3 process in the background?

Link to comment
Share on other sites

thefirstofthe300

OK.  My output from the ss command shows that something is listening on port 8096.  Also, I have a mono process running in the background but no MB process that I can see.

Link to comment
Share on other sites

thefirstofthe300

Also not sure if this has anything to do with the server going down but I had just decided that I would like to store all of the metadata in the folders with the videos and had made that switch.  It was very soon after that that I restarted the server.

Link to comment
Share on other sites

  • Solution
thefirstofthe300

Hmm.  I guess something else in my server must have crashed.  I did a reboot and all of my problems disappeared.   :)

 

Funny though.  I rebooted in the middle of all of this too and it didn't help.   :huh:

Link to comment
Share on other sites

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