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 … 305 306 307 308 309 … 433 Next »
Recording Service Crashes and Won't Restart

Recording Service Crashes and Won't Restart
mikeh49
Offline

Posting Freak

Posts: 1,129
Threads: 81
Joined: Apr 2005
#1
2012-05-08, 11:35 PM
Need some help on this.

From the beginning: wireless router damaged in lightning storm leaving only one port working. No internet for HTPC. Installed spare Westell router and HTPC with original static ip address (on the correct subnet) would not connect. Changed to dynamic address and still would not connect. Futzed around with a TCP/IP stack "repair" using netsh winsock reset and netsh int ip reset. Finally got it to work by manually specifying the gateway address. NPVR was OK during this time. New Linksys router arrived and after installing, the HTPC would again not connect. Went through some more dynamic vs static address switching, and it finally connected. Has been OK since. There were other problems with the firewire devices disappearing, but some repairs and fiddling have them back, and they seem to be stable. Now, NPVR is sick.

The recording service dies when the machine wakes for a recording, and then cannot be restarted (the service, the computer seems to be fine). From the Services applet, a start request gives an Error 1067 Process terminated unexpectedly. From the NPVR start the service command, it gets a timeout message eventually. The event viewer reports the service stopped. There is some xml info I can provide if needed.

After a period (hours, at least) the service can be restarted, watch live TV etc. Then, when the HTPC sleeps and subsequently wakes to record, the service dies. Others have reported that a corrupt config.xml caused the 1067 error, so I deleted it to start over, but no help. This started with version 2.3.6, so I upgraded to 2.4.3 with the same results. Leads me to believe the problem is Windows rather than NPVR.

So, logs attached with what looks like an internal network problem. Windows firewall is off and there are no other firewalls. Hope somebody can point me in the right direction. (I probably should have reinstalled Win7, it would have taken less time than I have spent so far.)
HTPC: Optiplex 7010, HDHR Prime/Avermedia Duet A188, NPVR 4.2.5, Win10 Pro
Test:
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#2
2012-05-09, 01:19 AM
When it's in this state, if you run "nrecord.exe RUN" from the command line, does it show any error message?
mikeh49
Offline

Posting Freak

Posts: 1,129
Threads: 81
Joined: Apr 2005
#3
2012-05-09, 02:15 AM
Here's what I get in a pop-up window titled Windows Service Start Failure:


[INDENT]Windows Service Start Failure
---------------------------
Cannot start service from the command line or a debugger. A Windows Service must first be installed (using installutil.exe) and then started with the ServerExplorer, Windows Services Administrative tool or the NET START command.[/INDENT]


This is from an administrator command prompt with the service stopped, command was nrecord.exe run in the program files/npvr directory.

FWIW, here's what's in Event Viewer for this start attempt:


[INDENT]- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="NPVR Recording Service" />
<EventID Qualifiers="0">0</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2012-05-09T01:58:22.000000000Z" />
<EventRecordID>8810</EventRecordID>
<Channel>Application</Channel>
<Computer>htpc</Computer>
<Security />
</System>
- <EventData>
<Data>Service cannot be started. The service process could not connect to the service controller</Data>
</EventData>
</Event>[/INDENT]

HTH
HTPC: Optiplex 7010, HDHR Prime/Avermedia Duet A188, NPVR 4.2.5, Win10 Pro
Test:
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#4
2012-05-09, 02:30 AM
"RUN" needs to uppercase.
mikeh49
Offline

Posting Freak

Posts: 1,129
Threads: 81
Joined: Apr 2005
#5
2012-05-09, 03:01 AM
Argh! Stand by.
HTPC: Optiplex 7010, HDHR Prime/Avermedia Duet A188, NPVR 4.2.5, Win10 Pro
Test:
mikeh49
Offline

Posting Freak

Posts: 1,129
Threads: 81
Joined: Apr 2005
#6
2012-05-09, 03:15 AM
Here are two screen prints of the command window. It looks like it stalled, as it never came back to the command prompt, and Services show it as not running.
HTPC: Optiplex 7010, HDHR Prime/Avermedia Duet A188, NPVR 4.2.5, Win10 Pro
Test:
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#7
2012-05-09, 04:46 AM
That looks like it's started fine there. Running it this way runs it as a normal process rather than a service. I was just hoping to see an error message, but there is none.

If you try to use the recording service when it's running this way, does it work? ie, from either live tv or recording. It might be later that you're experiencing the problem.
mikeh49
Offline

Posting Freak

Posts: 1,129
Threads: 81
Joined: Apr 2005
#8
2012-05-09, 04:55 AM
I get a Cannot communicate with the recording service popup when trying live TV when running in this mode. There is no Nrecord process in task manager.
HTPC: Optiplex 7010, HDHR Prime/Avermedia Duet A188, NPVR 4.2.5, Win10 Pro
Test:
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#9
2012-05-09, 05:40 AM
mikeh49 Wrote:I get a Cannot communicate with the recording service popup when trying live TV when running in this mode.
If it hasn't exited back to the command prompt then it's still running, making me think it's firewall related.

Quote:There is no Nrecord process in task manager.
If it hasn't exited back to the command prompt , then I'm sure it's still running, and should be there in the task list.
mikeh49
Offline

Posting Freak

Posts: 1,129
Threads: 81
Joined: Apr 2005
#10
2012-05-10, 04:14 PM
Here's a quick status update:

Once I started Nrecord RUN correctly, it seemed to run properly. You have to leave the command window open as the logging information appears there. Closing the command window appears to stop Nrecord. Also, as noted in another thread, you have to select "Show processes from all users" in Task Manager to see if Nrecord is running.

Windows firewall: was off and had been throughout the whole experience. But, to be sure, I turned it on, and then selected the "Set recommended settings" button, then turned it off again.

After this, I was able to watch live TV and properly recorded two scheduled programs with waking from sleep.

Today, I stopped Nrecord and started the recording service using NPVR's start command. It started OK, and I watched live TV and schedule two programs to record. I'll report back later.
HTPC: Optiplex 7010, HDHR Prime/Avermedia Duet A188, NPVR 4.2.5, Win10 Pro
Test:
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Recording movies / TV to XBMC directory stucture spinnaker 10 3,779 2024-06-03, 03:56 AM
Last Post: Rod Hutchinson
  Not recording errors vidwiz 4 1,129 2024-04-17, 05:39 PM
Last Post: mvallevand
  Add Series/Episode Info to Recording Metadata andrewj 2 1,181 2023-11-20, 03:42 PM
Last Post: sub
  Recording to a network drive woes. 2leftfeet 12 7,516 2022-04-05, 08:03 PM
Last Post: mvallevand
  device needed for recording David209 2 1,814 2021-04-04, 08:47 AM
Last Post: David209
  PC not going to sleep after recording LeoL 7 3,498 2021-04-01, 07:17 PM
Last Post: Handy.Man
  HDHomerun recording bizzarely not working Jean0987654321 3 2,155 2021-03-27, 03:23 PM
Last Post: Jean0987654321
Video Restrict Recording Space foucomm 1 1,394 2021-01-30, 09:25 PM
Last Post: mvallevand
  Directory dropdown on the recording edit dialog MicahMakenzie 1 1,572 2021-01-11, 04:37 PM
Last Post: Graham
  Recording service stopped or not running at scheduled time MattInetroit 3 1,981 2021-01-08, 12:03 AM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode