NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 384 385 386 387 388 … 433 Next »
"failed because recording service not running" but records OK?

"failed because recording service not running" but records OK?
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,627
Threads: 767
Joined: Nov 2003
#41
2011-01-26, 01:52 AM
See if this helps.
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#42
2011-01-26, 01:56 AM
damn you're quick... or were you already working on that based on elbryyan's description of the problem?
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
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,627
Threads: 767
Joined: Nov 2003
#43
2011-01-26, 01:58 AM
Yeah, I had made a couple of small changes earlier. I'm not 100% sure it'll fix the problem, but hopefully.
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#44
2011-01-26, 02:01 AM
I'll put the patch on in a few minutes, and I'll see what happens tomorrow.

Thanks sub.
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
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#45
2011-01-26, 02:22 AM
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:
Code:
2011-01-25 18:00:33.158    [DEBUG][4]    OnStop()
2011-01-25 18:00:33.158    [DEBUG][4]    About to stop webserver
2011-01-25 18:00:38.189    [DEBUG][4]    webserver stopped
2011-01-25 18:00:38.189    [DEBUG][4]    About to stop MVP servers
2011-01-25 18:00:38.189    [DEBUG][4]    MVPManager shutdown initiated
2011-01-25 18:00:38.189    [DEBUG][4]    MVPManager shutdown complete
2011-01-25 18:00:38.189    [DEBUG][4]    MVP servers stopped
2011-01-25 18:00:38.189    [DEBUG][4]    About to stop recording service
2011-01-25 18:00:38.189    [INFO][4]    RecordingService.Shutdown()
2011-01-25 18:00:38.408    [INFO][7]    DigitalRecorder.StopAllStreams()
2011-01-25 18:00:38.408    [INFO][7]    DigitalRecorder.StopAllStreams()
2011-01-25 18:00:38.408    [INFO][7]    DigitalRecorder.StopAllStreams()
2011-01-25 18:00:38.408    [INFO][7]    DigitalRecorder.StopAllStreams()
2011-01-25 18:00:38.611    [DEBUG][4]    recording service stopped
2011-01-25 18:00:38.611    [DEBUG][4]    OnStop() complete...
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
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,627
Threads: 767
Joined: Nov 2003
#46
2011-01-26, 02:27 AM
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.
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#47
2011-01-26, 04:32 AM
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
elbryyan
Offline

Senior Member

Posts: 352
Threads: 59
Joined: Mar 2007
#48
2011-01-26, 03:40 PM
sub Wrote:See if this helps.

Thanks Sub, I'll give this a try tonight and I'll check it tommorrow.
[SIZE="1"]
Server
Antec NSK400 case
ASUS M2NPV-VM motherboard
AMD AM2 3800+ X2 processor
256 MB GeForce 8500GT
Pinnecle USB HD Pro Stick
Vbox Cat's eye DTA 150
1 GB pc5200 Ram
500 GB HDD OS/Videos
1000GB HDD Recordings

Client
Asus A7N8X-Deluxe MB
AMD Processor ??
512 MB pc3200 Ram
ATI Radeon 9800 Pro 128MB
[/SIZE]
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#49
2011-01-26, 05:04 PM
so far so good, the offending recordings didn't duplicate.
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
elbryyan
Offline

Senior Member

Posts: 352
Threads: 59
Joined: Mar 2007
#50
2011-01-27, 03:09 PM
the patch also worked on my recording sub, Thanks.
[SIZE="1"]
Server
Antec NSK400 case
ASUS M2NPV-VM motherboard
AMD AM2 3800+ X2 processor
256 MB GeForce 8500GT
Pinnecle USB HD Pro Stick
Vbox Cat's eye DTA 150
1 GB pc5200 Ram
500 GB HDD OS/Videos
1000GB HDD Recordings

Client
Asus A7N8X-Deluxe MB
AMD Processor ??
512 MB pc3200 Ram
ATI Radeon 9800 Pro 128MB
[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (6): « Previous 1 2 3 4 5 6 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Recording movies / TV to XBMC directory stucture spinnaker 10 3,315 2024-06-03, 03:56 AM
Last Post: Rod Hutchinson
  Not recording errors vidwiz 4 851 2024-04-17, 05:39 PM
Last Post: mvallevand
  Add Series/Episode Info to Recording Metadata andrewj 2 937 2023-11-20, 03:42 PM
Last Post: sub
  Failed recordings won't delete Spid4567 3 2,350 2023-07-14, 10:13 PM
Last Post: ZeDoZ
  Recording to a network drive woes. 2leftfeet 12 7,044 2022-04-05, 08:03 PM
Last Post: mvallevand
  device needed for recording David209 2 1,672 2021-04-04, 08:47 AM
Last Post: David209
  PC not going to sleep after recording LeoL 7 3,133 2021-04-01, 07:17 PM
Last Post: Handy.Man
  HDHomerun recording bizzarely not working Jean0987654321 3 1,955 2021-03-27, 03:23 PM
Last Post: Jean0987654321
  Auto Update EPG not running as scheduled? BairStrokes 2 1,657 2021-03-26, 12:02 PM
Last Post: NumberFive
  Wake - Sleep Interaction -> Failed Recordings mikeh49 48 14,060 2021-03-21, 11:21 PM
Last Post: careads

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode