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 … 307 308 309 310 311 … 433 Next »
NPVR Recording Service - Unable to start service...

NPVR Recording Service - Unable to start service...
BTJustice
Offline

Senior Member

Posts: 381
Threads: 61
Joined: Mar 2008
#1
2012-04-30, 09:39 PM
I am not sure what is going on, but NPVR never starts on boot so when I run START NPVR SERVICE, I get this message...

Code:
Unable to start service: System.ServiceProcess.TimeoutException: Time out has
expired and the operation has not been completed.
at
System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus
desiredStatus, TimeSpan timeout)
at NCtrl.Program.Main(String[] args)

Also, npvr.db3 cannot be opened with Notepad.

Is my database messed up? How do I repair it? I want to avoid losing recordings and data via reinstall.

Logs attached.

P.S. - The forum time is 12+ minutes too fast.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#2
2012-04-30, 09:55 PM
If you try running "nrecord.exe RUN" from the command line, what is the output?

Quote:Also, npvr.db3 cannot be opened with Notepad.
Thats normal. It's not a text file.
BTJustice
Offline

Senior Member

Posts: 381
Threads: 61
Joined: Mar 2008
#3
2012-04-30, 10:06 PM
Initiating the command in Command Prompt displays a pop up called Windows Service Start Failure...

Code:
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 Administration tool or the NET START
command.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#4
2012-04-30, 10:08 PM
You needed to pass that "RUN" paramater I specified above or you'll get that. Try again. "nrecord.exe RUN". It's also case sensitive.
BTJustice
Offline

Senior Member

Posts: 381
Threads: 61
Joined: Mar 2008
#5
2012-04-30, 10:11 PM
Code:
C:\Program Files (x86)\NPVR>nrecord.exe RUN
MVPManager thread started
MVP Server: C:\Program Files (x86)\NPVR\NextPVR.exe
OnStart()
Using local in-process recording service
Unexpected error creating RecordingService()
RecordingServiceProxy@exit

Unhandled Exception: System.Data.SQLite.SQLiteException: Insertion failed becaus
e the database is full
database or disk is full
   at System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnn, String strSql, SQ
LiteStatement previous, UInt32 timeoutMS, String& strRemain)
   at System.Data.SQLite.SQLiteCommand.BuildNextCommand()
   at System.Data.SQLite.SQLiteCommand.GetStatement(Int32 index)
   at System.Data.SQLite.SQLiteDataReader.NextResult()
   at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavi
or behave)
   at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
   at System.Data.SQLite.SQLiteConnection.Open()
   at NUtility.DatabaseHelper.GetConnection()
   at NShared.EPGManager..ctor()
   at NShared.RecordingService..ctor()
   at NRecord.RecordingService.OnStart(String[] args)
   at NRecord.RecordingService.ManualRun()
   at NRecord.Program.Main(String[] args)

Then the generic Windows "NRecord has stopped working" pop up appears asking me to check online for a solution or close the program.
BTJustice
Offline

Senior Member

Posts: 381
Threads: 61
Joined: Mar 2008
#6
2012-04-30, 10:16 PM (This post was last modified: 2012-04-30, 10:27 PM by BTJustice.)
npvr.db3 is only 79.2 MBs in size and the hard drive has hundreds of GBs left in space.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#7
2012-04-30, 10:16 PM
Try the same test with this patch. It wont fix anything, but should hopefully log info about why it wasnt able to create the recording service.
BTJustice
Offline

Senior Member

Posts: 381
Threads: 61
Joined: Mar 2008
#8
2012-04-30, 10:20 PM
After the patch...

Code:
C:\Program Files (x86)\NPVR>nrecord.exe RUN
MVPManager thread started
MVP Server: C:\Program Files (x86)\NPVR\NextPVR.exe
OnStart()
Using local in-process recording service
Unexpected error creating RecordingService(): System.Data.SQLite.SQLiteException
: Insertion failed because the database is full
database or disk is full
   at System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnn, String strSql, SQ
LiteStatement previous, UInt32 timeoutMS, String& strRemain)
   at System.Data.SQLite.SQLiteCommand.BuildNextCommand()
   at System.Data.SQLite.SQLiteCommand.GetStatement(Int32 index)
   at System.Data.SQLite.SQLiteDataReader.NextResult()
   at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavi
or behave)
   at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
   at System.Data.SQLite.SQLiteConnection.Open()
   at NUtility.DatabaseHelper.GetConnection()
   at NShared.EPGManager..ctor()
   at NShared.RecordingService..ctor()
   at NShared.RecordingServiceProxy..ctor(Boolean serviceInstance)
RecordingServiceProxy@exit

Unhandled Exception: System.Data.SQLite.SQLiteException: Insertion failed becaus
e the database is full
database or disk is full
   at System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnn, String strSql, SQ
LiteStatement previous, UInt32 timeoutMS, String& strRemain)
   at System.Data.SQLite.SQLiteCommand.BuildNextCommand()
   at System.Data.SQLite.SQLiteCommand.GetStatement(Int32 index)
   at System.Data.SQLite.SQLiteDataReader.NextResult()
   at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavi
or behave)
   at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
   at System.Data.SQLite.SQLiteConnection.Open()
   at NUtility.DatabaseHelper.GetConnection()
   at NShared.EPGManager..ctor()
   at NShared.RecordingService..ctor()
   at NRecord.RecordingService.OnStart(String[] args)
   at NRecord.RecordingService.ManualRun()
   at NRecord.Program.Main(String[] args)

New logs attached if needed...
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#9
2012-04-30, 10:32 PM
It sound like something is screwed with your database. (unless you've somehow managed to change the permissions on the database and made it inaccessable)

If you dont have a backup you can use, you might need to rename it to npvr.old or similar, which will force the app to create a new empty database next time you run it.
BTJustice
Offline

Senior Member

Posts: 381
Threads: 61
Joined: Mar 2008
#10
2012-04-30, 10:38 PM
Is there a .DB3 editor to copy/paste information from the old npvr.db3 file to the new one?
« 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,519 2024-06-03, 03:56 AM
Last Post: Rod Hutchinson
  Not recording errors vidwiz 4 980 2024-04-17, 05:39 PM
Last Post: mvallevand
  Add Series/Episode Info to Recording Metadata andrewj 2 1,059 2023-11-20, 03:42 PM
Last Post: sub
  Unable to access tuner after hibernation bm_00 1 1,223 2022-12-12, 02:00 PM
Last Post: mvallevand
  npvr is not responding johndutcher 3 1,492 2022-05-05, 07:57 PM
Last Post: sub
  NPVR 4.2.4 Video Library No Longer Shows folder.jpg Lao Pan 12 3,864 2022-04-14, 04:33 AM
Last Post: Antmannz
  Recording to a network drive woes. 2leftfeet 12 7,180 2022-04-05, 08:03 PM
Last Post: mvallevand
  All my recordings start 90 sec early ncsercs 2 1,355 2022-03-19, 03:28 AM
Last Post: sub
  nPVR Continually Wakes PC bfos 23 11,164 2022-02-17, 03:48 PM
Last Post: sub
  Can't find tuner filter in NPVR 4.05 on old XP machine (eee 701) with RTL2832U iamanotheruser 3 1,689 2022-01-03, 04:45 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