home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
General Forums
Newcomers Forum
Advice needed - seeing some problems
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="findftp" data-source="post: 995159" data-attributes="member: 115630"><p>Hi,</p><p> </p><p>I've got a similar problem which gets me to force a restart of tvservice once in a while.</p><p>Mediaportal gives a message that there is not a free card available.</p><p>My error log looks like:</p><p> </p><p>[code]2013-05-19 21:35:52.787108 [Channel state thread(24)]: ChannelState.DoSetChannelStates: An unknown error occured while setting channel states - The database backend (provider MySQL) could not be reached.</p><p>Check the connection string: Server=mediacenter;Database=MpTvDb;User ID=root;Password=MediaPortal;charset=utf8;Connection Timeout=30;</p><p>Error: DatabaseUnavailableUnclassified</p><p>Gentle.Common.GentleException: The database backend (provider MySQL) could not be reached.</p><p>Check the connection string: Server=mediacenter;Database=MpTvDb;User ID=root;Password=MediaPortal;charset=utf8;Connection Timeout=30; ---> System.Threading.ThreadAbortException: Thread was being aborted.</p><p> at MySql.Data.MySqlClient.NativeDriver.Ping()</p><p> at MySql.Data.MySqlClient.MySqlPool.CheckoutConnection()</p><p> at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()</p><p> at MySql.Data.MySqlClient.MySqlPool.GetConnection()</p><p> at MySql.Data.MySqlClient.MySqlConnection.Open()</p><p> at Gentle.Provider.MySQL.MySQLProvider.GetConnection()</p><p> --- End of inner exception stack trace ---</p><p> at Gentle.Common.Check.FailWith(Severity severity, Error error, Exception e, String msg)</p><p> at Gentle.Common.Check.Fail(Exception e, Error error, Object[] args)</p><p> at Gentle.Provider.MySQL.MySQLProvider.GetConnection()</p><p> at Gentle.Framework.PersistenceBroker.Execute(SqlStatement stmt, IDbConnection dbConnection, IDbTransaction dbTransaction)</p><p> at Gentle.Framework.SqlStatement.Execute()</p><p> at TvDatabase.Channel.ReferringTuningDetail()</p><p> at TvDatabase.TvBusinessLayer.GetTuningChannelsByDbChannel(Channel channel)</p><p> at TvService.ChannelStates.DoSetChannelStates(IDictionary`2 cards, ICollection`1 channels, ICollection`1 allUsers, IController tvController)System.Threading.ThreadAbortException: Thread was being aborted.</p><p> at MySql.Data.MySqlClient.NativeDriver.Ping()</p><p> at MySql.Data.MySqlClient.MySqlPool.CheckoutConnection()</p><p> at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()</p><p> at MySql.Data.MySqlClient.MySqlPool.GetConnection()</p><p> at MySql.Data.MySqlClient.MySqlConnection.Open()</p><p> at Gentle.Provider.MySQL.MySQLProvider.GetConnection()[/CODE]</p><p> </p><p>tv.log looks like:</p><p>[code]2013-05-19 21:35:52.738102 [(20)]: subch:1-1 tswriter StopTimeshifting...</p><p>2013-05-19 21:35:52.740102 [(20)]: FreeSubChannel MD: freeing sub channel : 1</p><p>2013-05-19 21:35:52.741102 [(20)]: FreeSubChannel MD: subchannel : 1 on channel RTL8 HD is still active</p><p>2013-05-19 21:35:52.742102 [(20)]: tvcard:FreeSubChannel: subchannels count 2 subch#1</p><p>2013-05-19 21:35:52.742102 [(20)]: DVB subch:1 Decompose()</p><p>2013-05-19 21:35:52.747103 [(20)]: FreeSubChannel CA: freeing sub channel : 1</p><p>2013-05-19 21:35:52.749102 [(20)]: user:Medion remove</p><p>2013-05-19 21:35:52.750103 [(20)]: CardReservation.RemoveStopTicket: removed STOP reservation with id=10</p><p>2013-05-19 21:35:52.753104 [TS_File_Cleanup(23)]: card: delete timeshift files C:\timeshift\live2-1.ts</p><p>2013-05-19 21:35:52.754103 [(20)]: Controller:Timeshifting stopped on card:2</p><p>2013-05-19 21:35:52.755103 [(20)]: RTSP: remove stream stream2.1</p><p>2013-05-19 21:35:52.756105 [TS_File_Cleanup(23)]: card: trying to delete C:\timeshift\live2-1.ts.tsbuffer</p><p>2013-05-19 21:35:52.760104 [Channel state thread(24)]: Controller: DoSetChannelStates for 64 channels</p><p>2013-05-19 21:35:52.795108 [Channel state thread(24)]: ChannelStates.DoSetChannelStates took 34 msec</p><p>2013-05-19 21:35:52.798110 [Channel state thread(25)]: Controller: DoSetChannelStates for 64 channels</p><p>2013-05-19 21:35:52.806109 [Channel state thread(25)]: ChannelStates.GetAllTimeshiftingAndRecordingChannels took 1 msec</p><p>2013-05-19 21:35:52.821112 [(20)]: CiMenuSupported called cardid 3</p><p>2013-05-19 21:35:52.822113 [(20)]: CiMenuSupported card Digital Devices DVB-S/S2 Tuner 1 supported: False</p><p>2013-05-19 21:35:53.250166 [Channel state thread(25)]: ChannelStates.DoSetChannelStates took 453 msec</p><p>2013-05-19 21:35:55.607111 [(20)]: PS: RegisterRemote tag: 3, uris: http://localhost:31458/92433ade_7fba_4d6d_b904_75075dba772d/kw68cxlgcskuwdke1rl+ym6a_46.rem, http://localhost:31458/92433ade_7fba_4d6d_b904_75075dba772d/kw68cxlgcskuwdke1rl+ym6a_46.rem</p><p>2013-05-19 21:35:55.613114 [(20)]: PS: Set time of last user activity to 9:35:52 PM</p><p>2013-05-19 21:35:57.758225 [TS_File_Cleanup(23)]: card: delete timeshift files C:\timeshift\live2-1.ts</p><p>2013-05-19 21:35:57.760226 [TS_File_Cleanup(23)]: card: trying to delete C:\timeshift\live2-1.ts.tsbuffer</p><p>2013-05-19 21:35:57.761228 [TS_File_Cleanup(23)]: card: deleted file C:\timeshift\live2-1.ts.tsbuffer</p><p>2013-05-19 21:35:57.762227 [TS_File_Cleanup(23)]: card: trying to delete C:\timeshift\live2-1.ts.tsbuffer1.ts</p><p>2013-05-19 21:35:57.789230 [TS_File_Cleanup(23)]: card: deleted file C:\timeshift\live2-1.ts.tsbuffer1.ts</p><p>2013-05-19 21:35:57.794230 [TS_File_Cleanup(23)]: card: trying to delete C:\timeshift\live2-1.ts.tsbuffer2.ts</p><p>2013-05-19 21:35:57.821234 [TS_File_Cleanup(23)]: card: deleted file C:\timeshift\live2-1.ts.tsbuffer2.ts</p><p>2013-05-19 21:35:57.823234 [TS_File_Cleanup(23)]: card: trying to delete C:\timeshift\live2-1.ts.tsbuffer3.ts</p><p>2013-05-19 21:35:57.849237 [TS_File_Cleanup(23)]: card: deleted file C:\timeshift\live2-1.ts.tsbuffer3.ts</p><p>2013-05-19 21:35:57.854239 [TS_File_Cleanup(23)]: card: trying to delete C:\timeshift\live2-1.ts.tsbuffer4.ts</p><p>2013-05-19 21:35:57.856239 [TS_File_Cleanup(23)]: card: deleted file C:\timeshift\live2-1.ts.tsbuffer4.ts</p><p>2013-05-19 21:36:07.705490 [PS StandbyWakeup(15)]: PS: StandbyWakeupThread triggered by check interval</p><p>2013-05-19 21:36:07.714491 [PS StandbyWakeup(15)]: PS: LoadSettings()</p><p>2013-05-19 21:36:07.764517 [PS StandbyWakeup(15)]: PS: SetWakeupTimer()</p><p>2013-05-19 21:36:07.765497 [PS StandbyWakeup(15)]: PS: Inspecting PowerController:</p><p>2013-05-19 21:36:07.767498 [PS StandbyWakeup(15)]: PS: Inspecting Scheduled Recordings:</p><p>2013-05-19 21:36:07.774499 [PS StandbyWakeup(15)]: PS: Inspecting XmlTvImport:</p><p>2013-05-19 21:36:07.781500 [PS StandbyWakeup(15)]: PS: Inspecting Client Plugin:</p><p>2013-05-19 21:36:07.782501 [PS StandbyWakeup(15)]: PS: No pending events found in the future which should wakeup the system</p><p>2013-05-19 21:36:07.783500 [PS StandbyWakeup(15)]: PS: CheckForStandby()</p><p>2013-05-19 21:36:07.784501 [PS StandbyWakeup(15)]: PS: Inspecting PowerController:</p><p>2013-05-19 21:36:07.784501 [PS StandbyWakeup(15)]: PS: Inspecting Remote Client:</p><p>2013-05-19 21:36:07.785501 [PS StandbyWakeup(15)]: PS: Inspecting Active Streams: StandbyPrevented</p><p>2013-05-19 21:36:07.788503 [PS StandbyWakeup(15)]: PS: Inspecting TV Controller (Remote timeshifting): AwayModeRequested</p><p>2013-05-19 21:36:07.790503 [PS StandbyWakeup(15)]: PS: Inspecting Processes:</p><p>2013-05-19 21:36:07.791502 [PS StandbyWakeup(15)]: PS: Inspecting Active Network:</p><p>2013-05-19 21:36:07.792501 [PS StandbyWakeup(15)]: PS: Inspecting Active Shares:</p><p>2013-05-19 21:36:07.802503 [PS StandbyWakeup(15)]: PS: Inspecting Client Plugin (Media playing): StandbyPrevented</p><p>2013-05-19 21:36:07.802503 [PS StandbyWakeup(15)]: PS: SetStandbyMode(AwayModeRequested)</p><p>2013-05-19 21:36:07.803503 [PS StandbyWakeup(15)]: PS: System is busy and should not go to standby</p><p>2013-05-19 21:36:10.628863 [(20)]: PS: RegisterRemote tag: 3, uris: http://localhost:31458/92433ade_7fba_4d6d_b904_75075dba772d/kw68cxlgcskuwdke1rl+ym6a_46.rem, http://localhost:31458/92433ade_7fba_4d6d_b904_75075dba772d/kw68cxlgcskuwdke1rl+ym6a_46.rem</p><p>2013-05-19 21:36:10.635863 [(20)]: PS: Set time of last user activity to 9:36:07 PM</p><p>2013-05-19 21:36:22.804409 [PS StandbyWakeup(15)]: PS: StandbyWakeupThread triggered by check interval</p><p>2013-05-19 21:36:22.813410 [PS StandbyWakeup(15)]: PS: LoadSettings()</p><p>2013-05-19 21:36:22.865418 [PS StandbyWakeup(15)]: PS: SetWakeupTimer()[/CODE]</p></blockquote><p></p>
[QUOTE="findftp, post: 995159, member: 115630"] Hi, I've got a similar problem which gets me to force a restart of tvservice once in a while. Mediaportal gives a message that there is not a free card available. My error log looks like: [code]2013-05-19 21:35:52.787108 [Channel state thread(24)]: ChannelState.DoSetChannelStates: An unknown error occured while setting channel states - The database backend (provider MySQL) could not be reached. Check the connection string: Server=mediacenter;Database=MpTvDb;User ID=root;Password=MediaPortal;charset=utf8;Connection Timeout=30; Error: DatabaseUnavailableUnclassified Gentle.Common.GentleException: The database backend (provider MySQL) could not be reached. Check the connection string: Server=mediacenter;Database=MpTvDb;User ID=root;Password=MediaPortal;charset=utf8;Connection Timeout=30; ---> System.Threading.ThreadAbortException: Thread was being aborted. at MySql.Data.MySqlClient.NativeDriver.Ping() at MySql.Data.MySqlClient.MySqlPool.CheckoutConnection() at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection() at MySql.Data.MySqlClient.MySqlPool.GetConnection() at MySql.Data.MySqlClient.MySqlConnection.Open() at Gentle.Provider.MySQL.MySQLProvider.GetConnection() --- End of inner exception stack trace --- at Gentle.Common.Check.FailWith(Severity severity, Error error, Exception e, String msg) at Gentle.Common.Check.Fail(Exception e, Error error, Object[] args) at Gentle.Provider.MySQL.MySQLProvider.GetConnection() at Gentle.Framework.PersistenceBroker.Execute(SqlStatement stmt, IDbConnection dbConnection, IDbTransaction dbTransaction) at Gentle.Framework.SqlStatement.Execute() at TvDatabase.Channel.ReferringTuningDetail() at TvDatabase.TvBusinessLayer.GetTuningChannelsByDbChannel(Channel channel) at TvService.ChannelStates.DoSetChannelStates(IDictionary`2 cards, ICollection`1 channels, ICollection`1 allUsers, IController tvController)System.Threading.ThreadAbortException: Thread was being aborted. at MySql.Data.MySqlClient.NativeDriver.Ping() at MySql.Data.MySqlClient.MySqlPool.CheckoutConnection() at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection() at MySql.Data.MySqlClient.MySqlPool.GetConnection() at MySql.Data.MySqlClient.MySqlConnection.Open() at Gentle.Provider.MySQL.MySQLProvider.GetConnection()[/CODE] tv.log looks like: [code]2013-05-19 21:35:52.738102 [(20)]: subch:1-1 tswriter StopTimeshifting... 2013-05-19 21:35:52.740102 [(20)]: FreeSubChannel MD: freeing sub channel : 1 2013-05-19 21:35:52.741102 [(20)]: FreeSubChannel MD: subchannel : 1 on channel RTL8 HD is still active 2013-05-19 21:35:52.742102 [(20)]: tvcard:FreeSubChannel: subchannels count 2 subch#1 2013-05-19 21:35:52.742102 [(20)]: DVB subch:1 Decompose() 2013-05-19 21:35:52.747103 [(20)]: FreeSubChannel CA: freeing sub channel : 1 2013-05-19 21:35:52.749102 [(20)]: user:Medion remove 2013-05-19 21:35:52.750103 [(20)]: CardReservation.RemoveStopTicket: removed STOP reservation with id=10 2013-05-19 21:35:52.753104 [TS_File_Cleanup(23)]: card: delete timeshift files C:\timeshift\live2-1.ts 2013-05-19 21:35:52.754103 [(20)]: Controller:Timeshifting stopped on card:2 2013-05-19 21:35:52.755103 [(20)]: RTSP: remove stream stream2.1 2013-05-19 21:35:52.756105 [TS_File_Cleanup(23)]: card: trying to delete C:\timeshift\live2-1.ts.tsbuffer 2013-05-19 21:35:52.760104 [Channel state thread(24)]: Controller: DoSetChannelStates for 64 channels 2013-05-19 21:35:52.795108 [Channel state thread(24)]: ChannelStates.DoSetChannelStates took 34 msec 2013-05-19 21:35:52.798110 [Channel state thread(25)]: Controller: DoSetChannelStates for 64 channels 2013-05-19 21:35:52.806109 [Channel state thread(25)]: ChannelStates.GetAllTimeshiftingAndRecordingChannels took 1 msec 2013-05-19 21:35:52.821112 [(20)]: CiMenuSupported called cardid 3 2013-05-19 21:35:52.822113 [(20)]: CiMenuSupported card Digital Devices DVB-S/S2 Tuner 1 supported: False 2013-05-19 21:35:53.250166 [Channel state thread(25)]: ChannelStates.DoSetChannelStates took 453 msec 2013-05-19 21:35:55.607111 [(20)]: PS: RegisterRemote tag: 3, uris: http://localhost:31458/92433ade_7fba_4d6d_b904_75075dba772d/kw68cxlgcskuwdke1rl+ym6a_46.rem, http://localhost:31458/92433ade_7fba_4d6d_b904_75075dba772d/kw68cxlgcskuwdke1rl+ym6a_46.rem 2013-05-19 21:35:55.613114 [(20)]: PS: Set time of last user activity to 9:35:52 PM 2013-05-19 21:35:57.758225 [TS_File_Cleanup(23)]: card: delete timeshift files C:\timeshift\live2-1.ts 2013-05-19 21:35:57.760226 [TS_File_Cleanup(23)]: card: trying to delete C:\timeshift\live2-1.ts.tsbuffer 2013-05-19 21:35:57.761228 [TS_File_Cleanup(23)]: card: deleted file C:\timeshift\live2-1.ts.tsbuffer 2013-05-19 21:35:57.762227 [TS_File_Cleanup(23)]: card: trying to delete C:\timeshift\live2-1.ts.tsbuffer1.ts 2013-05-19 21:35:57.789230 [TS_File_Cleanup(23)]: card: deleted file C:\timeshift\live2-1.ts.tsbuffer1.ts 2013-05-19 21:35:57.794230 [TS_File_Cleanup(23)]: card: trying to delete C:\timeshift\live2-1.ts.tsbuffer2.ts 2013-05-19 21:35:57.821234 [TS_File_Cleanup(23)]: card: deleted file C:\timeshift\live2-1.ts.tsbuffer2.ts 2013-05-19 21:35:57.823234 [TS_File_Cleanup(23)]: card: trying to delete C:\timeshift\live2-1.ts.tsbuffer3.ts 2013-05-19 21:35:57.849237 [TS_File_Cleanup(23)]: card: deleted file C:\timeshift\live2-1.ts.tsbuffer3.ts 2013-05-19 21:35:57.854239 [TS_File_Cleanup(23)]: card: trying to delete C:\timeshift\live2-1.ts.tsbuffer4.ts 2013-05-19 21:35:57.856239 [TS_File_Cleanup(23)]: card: deleted file C:\timeshift\live2-1.ts.tsbuffer4.ts 2013-05-19 21:36:07.705490 [PS StandbyWakeup(15)]: PS: StandbyWakeupThread triggered by check interval 2013-05-19 21:36:07.714491 [PS StandbyWakeup(15)]: PS: LoadSettings() 2013-05-19 21:36:07.764517 [PS StandbyWakeup(15)]: PS: SetWakeupTimer() 2013-05-19 21:36:07.765497 [PS StandbyWakeup(15)]: PS: Inspecting PowerController: 2013-05-19 21:36:07.767498 [PS StandbyWakeup(15)]: PS: Inspecting Scheduled Recordings: 2013-05-19 21:36:07.774499 [PS StandbyWakeup(15)]: PS: Inspecting XmlTvImport: 2013-05-19 21:36:07.781500 [PS StandbyWakeup(15)]: PS: Inspecting Client Plugin: 2013-05-19 21:36:07.782501 [PS StandbyWakeup(15)]: PS: No pending events found in the future which should wakeup the system 2013-05-19 21:36:07.783500 [PS StandbyWakeup(15)]: PS: CheckForStandby() 2013-05-19 21:36:07.784501 [PS StandbyWakeup(15)]: PS: Inspecting PowerController: 2013-05-19 21:36:07.784501 [PS StandbyWakeup(15)]: PS: Inspecting Remote Client: 2013-05-19 21:36:07.785501 [PS StandbyWakeup(15)]: PS: Inspecting Active Streams: StandbyPrevented 2013-05-19 21:36:07.788503 [PS StandbyWakeup(15)]: PS: Inspecting TV Controller (Remote timeshifting): AwayModeRequested 2013-05-19 21:36:07.790503 [PS StandbyWakeup(15)]: PS: Inspecting Processes: 2013-05-19 21:36:07.791502 [PS StandbyWakeup(15)]: PS: Inspecting Active Network: 2013-05-19 21:36:07.792501 [PS StandbyWakeup(15)]: PS: Inspecting Active Shares: 2013-05-19 21:36:07.802503 [PS StandbyWakeup(15)]: PS: Inspecting Client Plugin (Media playing): StandbyPrevented 2013-05-19 21:36:07.802503 [PS StandbyWakeup(15)]: PS: SetStandbyMode(AwayModeRequested) 2013-05-19 21:36:07.803503 [PS StandbyWakeup(15)]: PS: System is busy and should not go to standby 2013-05-19 21:36:10.628863 [(20)]: PS: RegisterRemote tag: 3, uris: http://localhost:31458/92433ade_7fba_4d6d_b904_75075dba772d/kw68cxlgcskuwdke1rl+ym6a_46.rem, http://localhost:31458/92433ade_7fba_4d6d_b904_75075dba772d/kw68cxlgcskuwdke1rl+ym6a_46.rem 2013-05-19 21:36:10.635863 [(20)]: PS: Set time of last user activity to 9:36:07 PM 2013-05-19 21:36:22.804409 [PS StandbyWakeup(15)]: PS: StandbyWakeupThread triggered by check interval 2013-05-19 21:36:22.813410 [PS StandbyWakeup(15)]: PS: LoadSettings() 2013-05-19 21:36:22.865418 [PS StandbyWakeup(15)]: PS: SetWakeupTimer()[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
General Forums
Newcomers Forum
Advice needed - seeing some problems
Contact us
RSS
Top
Bottom