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
MediaPortal 1
Support
General Support
TV Server error and Powerscheduler - possibly related?
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="2.0" data-source="post: 849878" data-attributes="member: 118263"><p>Okay, I did that. I typed in sc qc TVService in command prompt and got this:</p><p>[CODE][SC] QueryServiceConfig SUCCESS</p><p> </p><p>SERVICE_NAME: TVService</p><p> TYPE : 110 WIN32_OWN_PROCESS (interactive)</p><p> START_TYPE : 2 AUTO_START</p><p> ERROR_CONTROL : 1 NORMAL</p><p> BINARY_PATH_NAME : "C:\Program Files\Team MediaPortal\MediaPortal TV Server\TVService.exe"</p><p> LOAD_ORDER_GROUP :</p><p> TAG : 0</p><p> DISPLAY_NAME : TVService</p><p> DEPENDENCIES : MySQL</p><p> : Netman</p><p> SERVICE_START_NAME : LocalSystem</p><p>[/CODE]</p><p>Then I checked services, and MySQL's service name is "MySQL". So I typed this in to the command prompt:</p><p>[CODE]sc config TVService depend= MySQL/Netman[/CODE]</p><p>I got the confirmation dialog. Then I checked TVService's dependencies and it said it depends on MySQL and Network Manager. When I restarted Windows. TVService wasn't running. When I tried to start it I got the following error log:</p><p>[spoiler]2012-03-08 01:22:11.644634 [SetupTv(1)]: ServiceHelper: Starting TvService failed. Please check your installation. </p><p>Error: System.InvalidOperationException: Cannot start service TVService on computer '.'. ---> System.ComponentModel.Win32Exception: The dependency service does not exist or has been marked for deletion</p><p> --- End of inner exception stack trace ---</p><p> at System.ServiceProcess.ServiceController.Start(String[] args)</p><p> at System.ServiceProcess.ServiceController.Start()</p><p> at SetupTv.ServiceHelper.Start(String aServiceName)</p><p>2012-03-08 01:22:12.081435 [SetupTv(1)]: Failed to wait for Global\MPTVServiceInitializedEvent</p><p>2012-03-08 01:22:12.081435 [SetupTv(1)]: Exception <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite5" alt=":confused:" title="Confused :confused:" loading="lazy" data-shortname=":confused:" />ystem.Threading.WaitHandleCannotBeOpenedException: No handle of the given name exists.</p><p> at System.Threading.EventWaitHandle.OpenExisting(String name, EventWaitHandleRights rights)</p><p> at SetupTv.ServiceHelper.WaitInitialized(Int32 millisecondsTimeout)</p><p></p><p>2012-03-08 01:22:37.166279 [SetupTv(1)]: ServiceHelper: Starting TvService failed. Please check your installation. </p><p>Error: System.InvalidOperationException: Cannot start service TVService on computer '.'. ---> System.ComponentModel.Win32Exception: The dependency service does not exist or has been marked for deletion</p><p> --- End of inner exception stack trace ---</p><p> at System.ServiceProcess.ServiceController.Start(String[] args)</p><p> at System.ServiceProcess.ServiceController.Start()</p><p> at SetupTv.ServiceHelper.Start(String aServiceName)</p><p>2012-03-08 01:22:37.166279 [SetupTv(1)]: Failed to wait for Global\MPTVServiceInitializedEvent</p><p>2012-03-08 01:22:37.166279 [SetupTv(1)]: Exception <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite5" alt=":confused:" title="Confused :confused:" loading="lazy" data-shortname=":confused:" />ystem.Threading.WaitHandleCannotBeOpenedException: No handle of the given name exists.</p><p> at System.Threading.EventWaitHandle.OpenExisting(String name, EventWaitHandleRights rights)</p><p> at SetupTv.ServiceHelper.WaitInitialized(Int32 millisecondsTimeout)</p><p></p><p>2012-03-08 01:23:02.188723 [SetupTv(1)]: Exception <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite5" alt=":confused:" title="Confused :confused:" loading="lazy" data-shortname=":confused:" />ystem.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 192.168.1.42:31456</p><p></p><p>Server stack trace: </p><p> at System.Net.Sockets.Socket.Connect(IPAddress[] addresses, Int32 port)</p><p> at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket(AddressFamily family)</p><p> at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket()</p><p> at System.Runtime.Remoting.Channels.RemoteConnection.GetSocket()</p><p> at System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew)</p><p> at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)</p><p> at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)</p><p> at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)</p><p></p><p>Exception rethrown at [0]: </p><p> at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)</p><p> at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)</p><p> at TvControl.IController.get_Cards()</p><p> at SetupTv.Startup.Main(String[] arguments)</p><p></p><p>[/spoiler]</p><p>Yikes! So I went back to command prompt, redid the operation, and restarted. This time TV Service worked. However, the error is still there, as you can see in the latest logs.</p><p> </p><p>Did I do something wrong?</p></blockquote><p></p>
[QUOTE="2.0, post: 849878, member: 118263"] Okay, I did that. I typed in sc qc TVService in command prompt and got this: [CODE][SC] QueryServiceConfig SUCCESS SERVICE_NAME: TVService TYPE : 110 WIN32_OWN_PROCESS (interactive) START_TYPE : 2 AUTO_START ERROR_CONTROL : 1 NORMAL BINARY_PATH_NAME : "C:\Program Files\Team MediaPortal\MediaPortal TV Server\TVService.exe" LOAD_ORDER_GROUP : TAG : 0 DISPLAY_NAME : TVService DEPENDENCIES : MySQL : Netman SERVICE_START_NAME : LocalSystem [/CODE] Then I checked services, and MySQL's service name is "MySQL". So I typed this in to the command prompt: [CODE]sc config TVService depend= MySQL/Netman[/CODE] I got the confirmation dialog. Then I checked TVService's dependencies and it said it depends on MySQL and Network Manager. When I restarted Windows. TVService wasn't running. When I tried to start it I got the following error log: [spoiler]2012-03-08 01:22:11.644634 [SetupTv(1)]: ServiceHelper: Starting TvService failed. Please check your installation. Error: System.InvalidOperationException: Cannot start service TVService on computer '.'. ---> System.ComponentModel.Win32Exception: The dependency service does not exist or has been marked for deletion --- End of inner exception stack trace --- at System.ServiceProcess.ServiceController.Start(String[] args) at System.ServiceProcess.ServiceController.Start() at SetupTv.ServiceHelper.Start(String aServiceName) 2012-03-08 01:22:12.081435 [SetupTv(1)]: Failed to wait for Global\MPTVServiceInitializedEvent 2012-03-08 01:22:12.081435 [SetupTv(1)]: Exception :System.Threading.WaitHandleCannotBeOpenedException: No handle of the given name exists. at System.Threading.EventWaitHandle.OpenExisting(String name, EventWaitHandleRights rights) at SetupTv.ServiceHelper.WaitInitialized(Int32 millisecondsTimeout) 2012-03-08 01:22:37.166279 [SetupTv(1)]: ServiceHelper: Starting TvService failed. Please check your installation. Error: System.InvalidOperationException: Cannot start service TVService on computer '.'. ---> System.ComponentModel.Win32Exception: The dependency service does not exist or has been marked for deletion --- End of inner exception stack trace --- at System.ServiceProcess.ServiceController.Start(String[] args) at System.ServiceProcess.ServiceController.Start() at SetupTv.ServiceHelper.Start(String aServiceName) 2012-03-08 01:22:37.166279 [SetupTv(1)]: Failed to wait for Global\MPTVServiceInitializedEvent 2012-03-08 01:22:37.166279 [SetupTv(1)]: Exception :System.Threading.WaitHandleCannotBeOpenedException: No handle of the given name exists. at System.Threading.EventWaitHandle.OpenExisting(String name, EventWaitHandleRights rights) at SetupTv.ServiceHelper.WaitInitialized(Int32 millisecondsTimeout) 2012-03-08 01:23:02.188723 [SetupTv(1)]: Exception :System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 192.168.1.42:31456 Server stack trace: at System.Net.Sockets.Socket.Connect(IPAddress[] addresses, Int32 port) at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket(AddressFamily family) 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_Cards() at SetupTv.Startup.Main(String[] arguments) [/spoiler] Yikes! So I went back to command prompt, redid the operation, and restarted. This time TV Service worked. However, the error is still there, as you can see in the latest logs. Did I do something wrong? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
TV Server error and Powerscheduler - possibly related?
Contact us
RSS
Top
Bottom