NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 430 431 432 433 434 … 1231 Next »
SocketException/database locked error

 
  • 0 Vote(s) - 0 Average
SocketException/database locked error
pvruser
Offline

Member

Posts: 230
Threads: 42
Joined: May 2007
#1
2007-11-07, 01:38 AM
apparently 2 issues: socket (and i'm NOT using the MVP) and database locked. are the errors related? just wondering how to stop it from using the socket since i dont need it.
error happens randomly mostly several days apart.

2007-11-06 07:17:34.265 VERBOSE [4] getValue: /settings/ClientModeMediaPort : 7967
2007-11-06 07:17:34.265 VERBOSE [6] getValue cached value: /settings/ClientModeMediaPort : 7967
2007-11-06 07:17:34.265 VERBOSE [6] Streaming media listener starting... (7967)
2007-11-06 07:17:34.281 INFO [4] Starting remoting service
2007-11-06 07:17:34.312 VERBOSE [5] Purging any stale logically deleted recordings
2007-11-06 07:17:34.312 ERROR [6] Unexpected error in stream connection 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 GBPVR.RecordingService.x604c5275de444acd.xcba1f05fb5a46d5f()
2007-11-06 07:17:34.390 ERROR [2] FATAL UNHANDLED EXCEPTION:: System.Data.SQLite.SQLiteException: The database file is locked
Unable to close due to unfinalised statements
at System.Data.SQLite.SQLite3.Close()
at System.Data.SQLite.SQLiteConnection.Close()
at System.Data.SQLite.SQLiteConnection.Dispose(Boolean disposing)
at System.ComponentModel.Component.Finalize()


here's my config:

<!-- client/server -->
<ClientMode>false</ClientMode>
<ClientModeExtendedLogging>true</ClientModeExtendedLogging>
<ClientRemoteDirectory>\\hushpc\gbpvr</ClientRemoteDirectory>
<ClientRemoteServer>hushpc</ClientRemoteServer>
<ClientModeMediaPort>7967</ClientModeMediaPort>
<ClientModeUseFileSharing>false</ClientModeUseFileSharing>
<ClientModeFileShare>\\hushpc\MyVideos</ClientModeFileShare>
<ClientModeFileShareTV>\\hushpc\MyVideos</ClientModeFileShareTV>
<ClientModeCachedReadSize>49152</ClientModeCachedReadSize>
<ClientModeLiveTVPrePlayDelay>2000</ClientModeLiveTVPrePlayDelay>
GBPVR 1.4.7
3 x HVR-950Q USB OTA ATSC HD TUNER
T2250 @ 2.5 GB RAM + ASUS Moca-AR Calcite
Roku HD + XD
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,707
Threads: 767
Joined: Nov 2003
#2
2007-11-07, 02:17 AM
If you set <ClientModeMediaPort></ClientModeMediaPort>, then it wont start the client listener.
pvruser
Offline

Member

Posts: 230
Threads: 42
Joined: May 2007
#3
2007-11-07, 03:33 AM
sub Wrote:If you set <ClientModeMediaPort></ClientModeMediaPort>, then it wont start the client listener.

excellent Big Grin thanks!
GBPVR 1.4.7
3 x HVR-950Q USB OTA ATSC HD TUNER
T2250 @ 2.5 GB RAM + ASUS Moca-AR Calcite
Roku HD + XD
pvruser
Offline

Member

Posts: 230
Threads: 42
Joined: May 2007
#4
2007-11-07, 01:09 PM
i closed that port but i'm seeing another one in netstat - 7968 opened twice:

TCP e2180:4055 localhost:7968 ESTABLISHED
TCP e2180:4056 localhost:7968 ESTABLISHED
TCP e2180:7968 localhost:4055 ESTABLISHED
TCP e2180:7968 localhost:4056 ESTABLISHED


here's the config i found:

<!-- Remote client settings -->
<RecordingServiceLocation>tcp://localhost:7968/RecordingRemote</RecordingServiceLocation>


can this also cause socket issues? is it needed or can it be disabled in any way?
GBPVR 1.4.7
3 x HVR-950Q USB OTA ATSC HD TUNER
T2250 @ 2.5 GB RAM + ASUS Moca-AR Calcite
Roku HD + XD
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,707
Threads: 767
Joined: Nov 2003
#5
2007-11-07, 03:57 PM
That socket is needed. Its used for communication between the front end (GBPVR.exe/PVRX2.exe) and the backend (GBPVRRecordingService.exe).
pvruser
Offline

Member

Posts: 230
Threads: 42
Joined: May 2007
#6
2007-11-08, 03:03 AM
sub Wrote:That socket is needed. Its used for communication between the front end (GBPVR.exe/PVRX2.exe) and the backend (GBPVRRecordingService.exe).

i see... that makes sense. like a browser needs a socket/port to communicate with the server. just hoping its not that socket causing the crash Big Grin

thanks!
GBPVR 1.4.7
3 x HVR-950Q USB OTA ATSC HD TUNER
T2250 @ 2.5 GB RAM + ASUS Moca-AR Calcite
Roku HD + XD
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,707
Threads: 767
Joined: Nov 2003
#7
2007-11-08, 03:13 AM
It was the client socket that was shown in the error in your original post. Its a long standing error that sometimes happens (though not often) when restarting the recording service. It occurs because Windows is still holding onto a socket. Best work around is to leave your recording service running Big Grin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  VMR9 Error message cristovao 7 5,770 2012-01-31, 07:35 AM
Last Post: SLR_65
  Huge database (+27GB) - is it a problem? pme 7 2,982 2011-01-24, 12:37 AM
Last Post: gEd
  "database disk image is malformed" during attemped EPG update! (GBPVR v.1.4.7) DaveA 4 3,329 2011-01-23, 06:35 PM
Last Post: DaveA
  "Failed to submit the Tune Request to the Network Provider" Error? jksmurf 4 2,449 2010-12-17, 02:09 PM
Last Post: jksmurf
  Sudden Error Message when accessing gbpvr web interface classpro 0 1,525 2010-11-11, 11:59 PM
Last Post: classpro
  Can't cure the Error: 1904 problem rkircher 1 1,840 2010-11-10, 07:22 AM
Last Post: stustunz
  GBPVR Database question - Recording Schedule David B 1 1,620 2010-11-08, 09:21 PM
Last Post: sub
  Lost recordings database keith_leitch 9 3,704 2010-09-22, 09:20 PM
Last Post: keith_leitch
  Unexpected error removing recording from conversion queue pvrproblems 1 1,556 2010-09-03, 03:51 AM
Last Post: sub
  Postprocessing and the recordings database shsw 1 1,486 2010-08-29, 04:46 PM
Last Post: sub

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

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

Linear Mode
Threaded Mode