by the way, any idea why I get these errors in the NRecord.log many times after I shut it down and apply patches? Problems ensue of course if I don't notice and leave it running this way; restarting the service again doesn't help, I have to reboot when it gets like this. I have checked, there is no instance of NextPVR.exe or NRecord.exe showing in the task manager, and the previous instance of NRecord claims to have shut down cleanly prior to installing the patches.
Code:
2011-01-25 18:03:01.624 [ERROR][4] Error listing for recording service interface: System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at System.Net.Sockets.TcpListener.Start(Int32 backlog)
at System.Net.Sockets.TcpListener.Start()
at System.Runtime.Remoting.Channels.ExclusiveTcpListener.Start(Boolean exclusiveAddressUse)
at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.StartListening(Object data)
at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.SetupChannel()
at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor(Int32 port)
at NShared.RecordingService.Startup()
and then a little further down the log:
Code:
2011-01-25 18:03:06.701 [DEBUG][8] Client Listener starting on port 7969
2011-01-25 18:03:06.701 [ERROR][8] Unexpected error in Client Listener: System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at NShared.ClientStreaming.WorkerThread()
here's the shutdown of the running recording service prior to copying in the patches... seems to shutdown clean:
It looks like you've still got something running when you run the patch, or are starting things in the wrong order after installing the patch - should restart the recording service before starting the front end.
sub Wrote:It looks like you've still got something running when you run the patch, or are starting things in the wrong order after installing the patch - should restart the recording service before starting the front end.
I know that's what it looks like, but that's definitely not the case. I exit NextPVR, shutdown the recording service and NTray, and copy in the patched files. After that when I attempt to restart the recording service (using the "Start NPVR Service" icon you provide), that's when the error frequently occurs. Not every time, but often. I've double-checked in the task manager, and nothing NPVR related is running. It's like Windows is still holding the socket open for the prior instance of NRecord, even though NRecord has shut down. That shouldn't happen, but lots of things shouldn't happen that do.
It's no big deal, I just restart the whole system when it happens, but I thought I'd ask since it happened again tonight when I put in the new patch from this thread.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV