- August 2, 2012
- 41
- 5
- 54
- Home Country
- United Kingdom
Oh dear, back again...
Everything working except MP's TV service doesn't start automatically with Windows (MP 1.2, XP SP3, all the .net clobber added). Notes:
MySQL service and all the other TV service dependencies start automatically (MySQL rather slowly but it gets there).
TV service can be started manually (net start tvservice) but it's a bore(!) (and it means EPG grabbing while idle doesn't happen from the get go)
mysqlcheck mptvdb - all OK
XP Event logs: no clues that I can see, MySQL gives an event ID 100 unknown error but (probably) not relevant - and service starts OK.
TV server error.log (actually it in error.bak) has this (repeated a number of times) (cut & paste as not too many lines, very happy to zip and upload other logs if needed):
2015-08-12 13:26:03.640625 [TVService(6)]: TvService OnStart failed : System.Threading.ThreadAbortException: Thread was being aborted.
at System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)
at TvService.TvServiceThread.OnStart()
2015-08-12 13:26:03.734375 [scheduler thread(9)]: card: unable to connect to slave controller at:media-pc
2015-08-12 13:45:11.296875 [DVB EPG timer(12)]: Exception ystem.Runtime.Remoting.RemotingException: Requested Service not found
Server stack trace:
at System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at TvControl.IController.IsRecording(IUser& user)
at TvService.EpgCard.IsCardIdle(Int32 cardId)
at TvService.EpgCard.GrabEpgForChannel(Channel channel, IChannel tuning, Card card)
at TvService.EpgCard.GrabEpg()
at TvService.EpgGrabber.GrabEpgOnCard(EpgCard epgCard)
at TvService.EpgGrabber._epgTimer_Elapsed(Object sender, ElapsedEventArgs e)
2015-08-12 15:56:11.671875 [DVB EPG timer(12)]: Exception ystem.Runtime.Remoting.RemotingException: Requested Service not found
tv.log has:
2015-08-12 19:53:04.468750 [(4)]: Setting up EventWaitHandle with name: Global\MPTVServiceInitializedEvent
2015-08-12 19:53:07.953125 [(6)]: TV service: Starting
2015-08-12 19:53:08.000000 [TVService(6)]: TVService v1.2.2.0 is starting up on Windows XP ( Service Pack 3 ) [5.1.2600.196608]
2015-08-12 19:53:08.015625 [TVService(6)]: Build: 1.2.2.0
2015-08-12 19:53:08.093750 [TVService(6)]: Controller: Initializing TVServer
2015-08-12 19:53:08.093750 [TVService(6)]: Controller: 1 init attempt
2015-08-12 19:53:08.109375 [PowerEventThread(8)]: TV service PowerEventThread message loop is running
2015-08-12 19:53:08.203125 [TVService(6)]: C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal TV Server\gentle.config
2015-08-12 19:53:08.203125 [TVService(6)]: Controller: using MySQL database connection: Server=media-pc;Database=MpTvDb;User ID=root;Password
2015-08-12 19:53:08.218750 [TVService(6)]: ----------------------------
2015-08-12 19:53:08.218750 [TVService(6)]: Detecting Cards
2015-08-12 19:53:08.375000 [TVService(6)]: Detected IP TV Card 0
2015-08-12 19:53:09.140625 [TVService(6)]: Found card:nova-dt dvb-t tuner (dev1 path0)
2015-08-12 19:53:09.171875 [TVService(6)]: Detected DVB card:nova-dt dvb-t tuner (dev1 path0)
ie presumably this is the manual start, no prior entries for this boot up of the pc
The TV service always used to start automatically, so after booting the PC I could after waiting a few moments for everything to settle down I could go straight to MP via a button on the remote. Now I have to do cmd prompt > 'net start tvservice' first... not the end of the world, but it would be good not to have to do so. I suppose I could use a batch file, but again its a work-around. Any ideas?
Thanks in advance.
CathodeRay
Everything working except MP's TV service doesn't start automatically with Windows (MP 1.2, XP SP3, all the .net clobber added). Notes:
MySQL service and all the other TV service dependencies start automatically (MySQL rather slowly but it gets there).
TV service can be started manually (net start tvservice) but it's a bore(!) (and it means EPG grabbing while idle doesn't happen from the get go)
mysqlcheck mptvdb - all OK
XP Event logs: no clues that I can see, MySQL gives an event ID 100 unknown error but (probably) not relevant - and service starts OK.
TV server error.log (actually it in error.bak) has this (repeated a number of times) (cut & paste as not too many lines, very happy to zip and upload other logs if needed):
2015-08-12 13:26:03.640625 [TVService(6)]: TvService OnStart failed : System.Threading.ThreadAbortException: Thread was being aborted.
at System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)
at TvService.TvServiceThread.OnStart()
2015-08-12 13:26:03.734375 [scheduler thread(9)]: card: unable to connect to slave controller at:media-pc
2015-08-12 13:45:11.296875 [DVB EPG timer(12)]: Exception ystem.Runtime.Remoting.RemotingException: Requested Service not found
Server stack trace:
at System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at TvControl.IController.IsRecording(IUser& user)
at TvService.EpgCard.IsCardIdle(Int32 cardId)
at TvService.EpgCard.GrabEpgForChannel(Channel channel, IChannel tuning, Card card)
at TvService.EpgCard.GrabEpg()
at TvService.EpgGrabber.GrabEpgOnCard(EpgCard epgCard)
at TvService.EpgGrabber._epgTimer_Elapsed(Object sender, ElapsedEventArgs e)
2015-08-12 15:56:11.671875 [DVB EPG timer(12)]: Exception ystem.Runtime.Remoting.RemotingException: Requested Service not found
tv.log has:
2015-08-12 19:53:04.468750 [(4)]: Setting up EventWaitHandle with name: Global\MPTVServiceInitializedEvent
2015-08-12 19:53:07.953125 [(6)]: TV service: Starting
2015-08-12 19:53:08.000000 [TVService(6)]: TVService v1.2.2.0 is starting up on Windows XP ( Service Pack 3 ) [5.1.2600.196608]
2015-08-12 19:53:08.015625 [TVService(6)]: Build: 1.2.2.0
2015-08-12 19:53:08.093750 [TVService(6)]: Controller: Initializing TVServer
2015-08-12 19:53:08.093750 [TVService(6)]: Controller: 1 init attempt
2015-08-12 19:53:08.109375 [PowerEventThread(8)]: TV service PowerEventThread message loop is running
2015-08-12 19:53:08.203125 [TVService(6)]: C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal TV Server\gentle.config
2015-08-12 19:53:08.203125 [TVService(6)]: Controller: using MySQL database connection: Server=media-pc;Database=MpTvDb;User ID=root;Password
2015-08-12 19:53:08.218750 [TVService(6)]: ----------------------------
2015-08-12 19:53:08.218750 [TVService(6)]: Detecting Cards
2015-08-12 19:53:08.375000 [TVService(6)]: Detected IP TV Card 0
2015-08-12 19:53:09.140625 [TVService(6)]: Found card:nova-dt dvb-t tuner (dev1 path0)
2015-08-12 19:53:09.171875 [TVService(6)]: Detected DVB card:nova-dt dvb-t tuner (dev1 path0)
ie presumably this is the manual start, no prior entries for this boot up of the pc
The TV service always used to start automatically, so after booting the PC I could after waiting a few moments for everything to settle down I could go straight to MP via a button on the remote. Now I have to do cmd prompt > 'net start tvservice' first... not the end of the world, but it would be good not to have to do so. I suppose I could use a batch file, but again its a work-around. Any ideas?
Thanks in advance.
CathodeRay