Failed to start TVService (1 Viewer)

murfix

Portal Member
June 29, 2008
15
0
Thnx alot, had the same problem and was about for a full OS reinstall. So you saved me alot of time?!?!?:D
 

khael

MP Donator
  • Premium Supporter
  • June 12, 2008
    57
    1
    Home Country
    Italy Italy
    hello
    i try to change host file, but doesn't work;

    i didn't have firewall (disabled) and defender.
    :D:D
     

    khael

    MP Donator
  • Premium Supporter
  • June 12, 2008
    57
    1
    Home Country
    Italy Italy
    this is the error :(
    anyone can help me?


    this is error.log
    2009-11-23 23.08.23.984375 [1]: Exception :confused:ystem.Runtime.Remoting.RemotingException: Impossibile leggere il file .config 'd:\tv\MediaPortal TV Server\TVService.config' a causa dell'eccezione 'System.IO.FileNotFoundException: Impossibile trovare il file specificato. (Eccezione da HRESULT: 0x80070002)
    in System.ConfigServer.RunParser(IConfigHandler factory, String fileName)
    in System.ConfigTreeParser.Parse(String fileName, String configPath, Boolean skipSecurityStuff)
    in System.Runtime.Remoting.Activation.RemotingXmlConfigFileParser.ParseConfigFile(String filename)
    in System.Runtime.Remoting.RemotingConfigHandler.LoadConfigurationFromXmlFile(String filename)'.
    in System.Runtime.Remoting.RemotingConfigHandler.LoadConfigurationFromXmlFile(String filename)
    in System.Runtime.Remoting.RemotingConfigHandler.DoConfiguration(String filename, Boolean ensureSecurity)
    in System.Runtime.Remoting.RemotingConfiguration.Configure(String filename, Boolean ensureSecurity)
    in TvService.Service1..ctor()

    2009-11-23 23.08.32.171875 [SetupTv]: Exception :confused:ystem.Net.Sockets.SocketException: Impossibile stabilire la connessione. Rifiuto persistente del computer di desti****one 10.1.1.2:31456

    Server stack trace:
    in System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
    in System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
    in System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket(EndPoint ipEndPoint)
    in System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket()
    in System.Runtime.Remoting.Channels.RemoteConnection.GetSocket()
    in System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew)
    in System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)
    in System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
    in System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)

    Exception rethrown at [0]:
    in System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    in System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    in TvControl.IController.get_Cards()
    in SetupTv.Startup.Main(String[] arguments)

    this is streaming server.log

    23-11-2009 23:08:25 -------------- v1.0.0.2---------------
    23-11-2009 23:08:25 Stream server:confused:etup stream server for ip: 10.1.1.2:0

    this is tv.log

    2009-11-23 23.08.17.890625 [SetupTv]: ---- SetupTv v1.0.4.23491 is starting up on Windows Server 2003 ( Service Pack 2 ) [5.2.3790.131072] ----
    2009-11-23 23.08.17.890625 [SetupTv]: ****************************************
    2009-11-23 23.08.17.890625 [SetupTv]: * WARNING, OS not officially supported *
    2009-11-23 23.08.17.890625 [SetupTv]: ****************************************
    2009-11-23 23.08.17.906250 [SetupTv]: ---- check connection with database ----
    2009-11-23 23.08.18.062500 [SetupTv]: SetupDatabaseForm: Added dependency for TvService - SQLBrowser
    2009-11-23 23.08.18.062500 [SetupTv]: ---- check if database needs to be updated/created ----
    2009-11-23 23.08.18.187500 [SetupTv]: ---- upgrade database schema ----
    2009-11-23 23.08.18.187500 [SetupTv]: ---- check if tvservice is running ----
    2009-11-23 23.08.18.187500 [SetupTv]: RemoteControl: RegisterChannel first called in Domain SetupTv.exe for thread SetupTv with id 1
    2009-11-23 23.08.22.421875 [SetupTv]: ---- restart tvservice----
    2009-11-23 23.08.22.468750 [4]: TV Service: stopping
    2009-11-23 23.08.22.484375 [4]: TV service StopRemoting
    2009-11-23 23.08.22.484375 [4]: Remoting stopped
    2009-11-23 23.08.22.484375 [4]: Controller: DeInit.
    2009-11-23 23.08.22.484375 [4]: Controller: HeartBeat monitor stopped...
    2009-11-23 23.08.22.500000 [4]: Controller: stop streamer...
    2009-11-23 23.08.22.515625 [4]: RTSP: stop streamer
    2009-11-23 23.08.22.531250 [4]: RTSP: stop all streams (0)
    2009-11-23 23.08.22.531250 [4]: Controller: streamer stopped...
    2009-11-23 23.08.22.531250 [4]: Controller: stop scheduler...
    2009-11-23 23.08.22.531250 [4]: Scheduler: stopped
    2009-11-23 23.08.22.531250 [4]: Controller: scheduler stopped...
    2009-11-23 23.08.22.531250 [4]: Controller: stop epg grabber...
    2009-11-23 23.08.22.546875 [4]: Controller: epg stopped...
    2009-11-23 23.08.22.546875 [4]: Controller: dispose card:MediaPortal IPTV Source Filter
    2009-11-23 23.08.22.546875 [4]: Controller: dispose card:DTV-DVBT 878 Digital Tuner Filter
    2009-11-23 23.08.22.546875 [4]: Controller: dispose card:Hauppauge WinTV-HVR 713X BDA DVBT Tuner
    2009-11-23 23.08.22.562500 [4]: Controller: dispose card:Hauppauge WinTV-HVR 713X BDA Analog TV Tuner
    2009-11-23 23.08.22.562500 [4]: Controller: dispose card:RadioWebStream Card (builtin)
    2009-11-23 23.08.22.562500 [4]: RadioWebStream:Dispose()
    2009-11-23 23.08.22.562500 [4]: TV Service: Stop plugins
    2009-11-23 23.08.22.562500 [4]: TV Service: Plugins stopped
    2009-11-23 23.08.22.578125 [4]: TV Service: OnStop asking PowerEventThread to exit
    2009-11-23 23.08.22.578125 [PowerEventThread]: TV service PowerEventThread finished
    2009-11-23 23.08.22.578125 [4]: TV Service: stopped
    2009-11-23 23.08.23.984375 [4]: TV service: Starting
    2009-11-23 23.08.24.546875 [TVService]: TVService v1.0.4.23491 is starting up on Windows Server 2003 ( Service Pack 2 ) [5.2.3790.131072]
    2009-11-23 23.08.24.546875 [TVService]: ****************************************
    2009-11-23 23.08.24.546875 [TVService]: * WARNING, OS not officially supported *
    2009-11-23 23.08.24.546875 [TVService]: ****************************************
    2009-11-23 23.08.24.546875 [TVService]: Controller: Initializing TVServer
    2009-11-23 23.08.24.546875 [TVService]: Controller: 1 init attempt
    2009-11-23 23.08.24.546875 [PowerEventThread]: TV service PowerEventThread message loop is running
    2009-11-23 23.08.24.562500 [TVService]: C:\Documents and Settings\All Users\Dati applicazioni\Team MediaPortal\MediaPortal TV Server\gentle.config
    2009-11-23 23.08.24.562500 [TVService]: Controller: using SQLServer database connection: Password
    2009-11-23 23.08.24.562500 [TVService]: ----------------------------
    2009-11-23 23.08.24.578125 [TVService]: Detecting Cards
    2009-11-23 23.08.24.609375 [TVService]: Detected IP TV Card 0
    2009-11-23 23.08.24.890625 [PowerEventThread]: TV service PowerEventThread 537
    2009-11-23 23.08.24.890625 [TVService]: Detected DVB-T card:dtv-dvbt 878 digital tuner filter
    2009-11-23 23.08.24.906250 [TVService]: Detected DVB-T card:hauppauge wintv-hvr 713x bda dvbt tuner
    2009-11-23 23.08.25.015625 [TVService]: Detected analog card:hauppauge wintv-hvr 713x bda analog tv tuner
    2009-11-23 23.08.25.046875 [TVService]: Controller: started at serverk
    2009-11-23 23.08.25.046875 [TVService]: Controller: local ip address:10.1.1.2
    2009-11-23 23.08.25.250000 [TVService]: Controller: server running on serverk
    2009-11-23 23.08.25.265625 [TVService]: Controller: NOT preloading card :MediaPortal IPTV Source Filter
    2009-11-23 23.08.25.265625 [TVService]: Controller: NOT preloading card :DTV-DVBT 878 Digital Tuner Filter
    2009-11-23 23.08.25.265625 [TVService]: Controller: NOT preloading card :Hauppauge WinTV-HVR 713X BDA DVBT Tuner
    2009-11-23 23.08.25.265625 [TVService]: Controller: NOT preloading card :Hauppauge WinTV-HVR 713X BDA Analog TV Tuner
    2009-11-23 23.08.25.281250 [TVService]: Controller: NOT preloading card :RadioWebStream Card (builtin)
    2009-11-23 23.08.25.281250 [TVService]: Controller: setup hybrid cards
    2009-11-23 23.08.25.500000 [TVService]: Controller: card MediaPortal IPTV Source Filter: current timeshiftpath = C:\Documents and Settings\All Users\Dati applicazioni\Team MediaPortal\MediaPortal TV Server\timeshiftbuffer
    2009-11-23 23.08.25.500000 [TVService]: Controller: card DTV-DVBT 878 Digital Tuner Filter: current timeshiftpath = C:\Documents and Settings\All Users\Dati applicazioni\Team MediaPortal\MediaPortal TV Server\timeshiftbuffer
    2009-11-23 23.08.25.500000 [TVService]: Controller: card Hauppauge WinTV-HVR 713X BDA DVBT Tuner: current timeshiftpath = C:\Documents and Settings\All Users\Dati applicazioni\Team MediaPortal\MediaPortal TV Server\timeshiftbuffer
    2009-11-23 23.08.25.500000 [TVService]: Controller: card Hauppauge WinTV-HVR 713X BDA Analog TV Tuner: current timeshiftpath = C:\Documents and Settings\All Users\Dati applicazioni\Team MediaPortal\MediaPortal TV Server\timeshiftbuffer
    2009-11-23 23.08.25.500000 [TVService]: Controller: card RadioWebStream Card (builtin): current timeshiftpath = C:\Documents and Settings\All Users\Dati applicazioni\Team MediaPortal\MediaPortal TV Server\timeshiftbuffer
    2009-11-23 23.08.25.500000 [TVService]: Controller: setup streaming
    2009-11-23 23.08.25.781250 [TVService]: Scheduler: started
    2009-11-23 23.08.25.781250 [TVService]: RemoteControl: RegisterChannel first called in Domain TVService.exe for thread TVService with id 4
    2009-11-23 23.08.26.000000 [TVService]: Scheduler: loaded 0 schedules
    2009-11-23 23.08.26.000000 [TVService]: DiskManagement: started
    2009-11-23 23.08.26.015625 [TVService]: Controller: setup HeartBeat Monitor
    2009-11-23 23.08.26.015625 [TVService]: Controller: initalized
    2009-11-23 23.08.26.015625 [TVService]: Controller: TVServer initialized okay
    2009-11-23 23.08.26.015625 [HeartBeatMonitor]: Controller: Heartbeat Monitor initiated, max timeout allowed is 30 sec.
    2009-11-23 23.08.26.015625 [TVService]: TV Service: Load plugins
    2009-11-23 23.08.26.015625 [TVService]: PluginManager: Loaded ComSkipLauncher version:1.0.2.0 author:and-81
    2009-11-23 23.08.26.031250 [TVService]: PluginManager: Loaded ConflictsManager version:1.0.0.1 author:Broceliande
    2009-11-23 23.08.26.031250 [TVService]: PluginManager: Loaded Power Scheduler version:0.1.0.0 author:micheloe
    2009-11-23 23.08.26.046875 [TVService]: PluginManager: Loaded ServerBlaster version:1.1.1.0 author:joboehl with ralphy mods
    2009-11-23 23.08.26.062500 [TVService]: PluginManager: Loaded TV Movie EPG import version:1.0.3.0 author:rtv
    2009-11-23 23.08.26.062500 [TVService]: PluginManager: Loaded WebEPG version:1.0.0.0 author:Arion_p - James
    2009-11-23 23.08.26.062500 [TVService]: PluginManager: Loaded XmlTv version:1.0.0.0 author:Frodo
    2009-11-23 23.08.26.062500 [TVService]: TV Service: Plugins loaded
    2009-11-23 23.08.26.062500 [TVService]: TV Service: Plugin: ComSkipLauncher disabled
    2009-11-23 23.08.26.078125 [TVService]: TV Service: Plugin: ConflictsManager disabled
    2009-11-23 23.08.26.078125 [TVService]: TV Service: Plugin: Power Scheduler disabled
    2009-11-23 23.08.26.078125 [TVService]: TV Service: Plugin: ServerBlaster disabled
    2009-11-23 23.08.26.078125 [TVService]: TV Service: Plugin: TV Movie EPG import disabled
    2009-11-23 23.08.26.078125 [TVService]: TV Service: Plugin: WebEPG disabled
    2009-11-23 23.08.26.078125 [TVService]: TV Service: Plugin: XmlTv disabled
    2009-11-23 23.08.26.078125 [TVService]: TV Service: Plugins started
    2009-11-23 23.08.26.093750 [TVService]: TV service: Started
    2009-11-23 23.08.29.890625 [PowerEventThread]: TV service PowerEventThread 537
    2009-11-23 23.08.32.171875 [SetupTv]: ---- Unable to restart tv service----
     

    dir

    MP Donator
  • Premium Supporter
  • August 30, 2006
    408
    36
    Home Country
    Afghanistan Afghanistan
    U;ve got pretty much the same problem as well, and my error is similar to the one posted 2 posts above me (but in english). TVService is stuck in a "Starting" state. It's been like this for a few days.

    I don't have the same stack as the original poster's, and my hosts file is already exactly like the one shown that fixes problems. So it's not a hosts file issue.

    Clearly there's something that's happened to many PCs around the world and will likely need a fix/patch. I've spent an hour or so going through my system but I can't work it out. I'm happy to supply log files (zip file attached) and I'll paste the stack trace to help others when searching for similar issues.

    I should mention one other strange thing that hopefully isn't related. In the Event Viewer, System logs, I found
    I found an error that said that my programdata\mediaportal\tv server\recordings\card1 directory was missing and that the corresponding share should be removed via NET SHARE /delete. Same with Card2.

    These should have been there - I have no idea why they've disappeared. I recreated them and rebooted the PC, and it was then able to do a net share properly. However, that didn't seem to solve the bigger problem. I only mention it here for completeness sake. Perhaps the directories got corrupted and a chkdsk is needed...

    Code:
    2009-12-03 20:43:19.671502 [DVB EPG timer]: Exception   :System.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(User& 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)
     

    jforjimmy

    Portal Member
    February 6, 2010
    16
    0
    Home Country
    I am having the same problem..

    To get details: https://forum.team-mediaportal.com/...t-53/cannot-start-tvservice-77412/#post574372

    I am using XP with SP3 so I dont have windows defender... So that didnt helped me.

    My host file has
    127.0.0.1 localhost
    ::1 localhost

    When I try to run TVServer Configuration. I get pop up window message:

    The TVService is not running start it now

    When I click on yes.. Nothing happens and TV server error log has following error:

    2010-02-07 13:10:40.279401 [SetupTv]: ServiceHelper: Could not check whether the tvservice is running. Please check your network as well.
    Error: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:31456

    Server stack trace:
    at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
    at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
    at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket(EndPoint ipEndPoint)
    at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket()
    at System.Runtime.Remoting.Channels.RemoteConnection.GetSocket()
    at System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew)
    at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)
    at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
    at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)

    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.get_IdServer()
    at SetupTv.ServiceHelper.get_IsRunning()
    2010-02-07 20:11:25.109375 [MPMain]: RemoteControl - Error checking connection state
    2010-02-07 20:11:35.765625 [MPMain]: RemoteControl - Error checking connection state
    2010-02-07 20:11:37.765625 [MPMain]: RemoteControl - Error checking connection state
    2010-02-07 20:11:39.984375 [MPMain]: RemoteControl - Error checking connection state
    2010-02-07 20:11:46.218750 [MPMain]: RemoteControl - Error checking connection state

    Please let me know if I am doing anything wrong...

    check my post for details: https://forum.team-mediaportal.com/...t-53/cannot-start-tvservice-77412/#post574372

    Its been weeks trying to solve this problem but no success

    :confused:
     

    Users who are viewing this thread

    Top Bottom