ARGUS Scheduler Service stopped after resuming from hibernat

In the unlikely ;) event you encounter a bug, tell us here
Post Reply
ChrisRichner
Posts: 42
Joined: Tue Dec 25, 2012 11:16 am
Location: Lucerne, Switzerland
Contact:

ARGUS Scheduler Service stopped after resuming from hibernat

Post by ChrisRichner » Tue Jan 29, 2013 3:10 pm

Hi there

At the beginning everything worked like a charm, never had any issues.. but latley the scheduler service started to kill itself ,)
here's the log stating that some other process already owns the desired network address, any hints why this can happen?

I'm running the latest bits, Windows 8 Pro x64 + Argus TV 2.0.1

Do I need to post this log to github or some other kind of error tracking system?

Code: Select all

2013-01-29 13:54:17,924 [DEBUG][1]: Calling OnPowerEvent(ResumeSuspend)...
2013-01-29 13:54:17,924 [INFO ][1]: System resumed from suspend state, restarting core services.
2013-01-29 13:54:17,925 [INFO ][ARGUS TV]: ARGUS TV version 2.0.1 main-thread started.
2013-01-29 13:54:17,925 [INFO ][ARGUS TV]: Starting service.
2013-01-29 13:54:17,926 [INFO ][ARGUS TV]: Ensuring database is up.
2013-01-29 13:54:17,975 [DEBUG][1]: Calling OnPowerEvent(ResumeAutomatic)...
2013-01-29 13:54:18,144 [INFO ][ARGUS TV]: Initializing configuration defaults.
2013-01-29 13:54:18,201 [INFO ][ARGUS TV]: Starting WCF service hosts.
2013-01-29 13:54:30,703 [ERROR][ARGUS TV]: System.ServiceModel.AddressAlreadyInUseException: There is already a listener on IP endpoint 0.0.0.0:49942. This could happen if there is another application already listening on this endpoint or if you have multiple service endpoints in your service host with the same IP endpoint but with incompatible binding configurations. ---> 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 System.ServiceModel.Channels.SocketConnectionListener.Listen()
   --- End of inner exception stack trace ---
   at System.ServiceModel.Channels.SocketConnectionListener.Listen()
   at System.ServiceModel.Channels.ConnectionAcceptor.StartAccepting()
   at System.ServiceModel.Channels.ExclusiveTcpTransportManager.OnOpen()
   at System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
   at System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)
   at System.ServiceModel.Channels.TcpChannelListener`2.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at .(Type , Type )
   at .()
   at .Run()
2013-01-29 13:54:30,712 [INFO ][ARGUS TV]: Stopping service.
2013-01-29 13:54:30,719 [ERROR][ARGUS TV]: System.NullReferenceException: Object reference not set to an instance of an object.
   at .()
   at .Run()
2013-01-29 13:54:30,721 [INFO ][ARGUS TV]: ARGUS TV thread ended.

jeffski10
Posts: 92
Joined: Sat Feb 28, 2009 2:03 pm

Re: ARGUS Scheduler Service stopped after resuming from hibe

Post by jeffski10 » Tue Jan 29, 2013 11:04 pm

I've had the same a few times recently. Ended up with a reboot to solve it as I couldn't find what process was hanging around and that windows thought was listening.

Server: Windows 7, Argus recorder, Silicon Dust tuners
Clients: Openelec on a Pi and Gigabyte Brix

alan77ss
Posts: 8
Joined: Tue Dec 04, 2012 4:15 pm

Re: ARGUS Scheduler Service stopped after resuming from hibe

Post by alan77ss » Tue Feb 19, 2013 6:01 pm

yeah i've had the same problem. when i go into services.msc the scheduler has been stopped. starting again resolves the problem so there's no need to reboot, but has resulted in a few missed recordings.

ChrisRichner
Posts: 42
Joined: Tue Dec 25, 2012 11:16 am
Location: Lucerne, Switzerland
Contact:

Re: ARGUS Scheduler Service stopped after resuming from hibe

Post by ChrisRichner » Wed Mar 06, 2013 2:04 pm

This issue is so bad that we've lost a lot of scheduled recordings. This seems to be a thing that happens in 7 out of 10 resumes from hibernate state.

Due to the fact that the ArgusTVScheduler service itself doesn't face a severe issue and terminates it wont help to configure the service restarts itself each time it faces a severe exception.

The only workaround I've found is to create a scheduled task that runs every 10 minutes or so and starts the service if it's not running already.

But anyway, what other party is involved when wcf faces the

Code: Select all

System.ServiceModel.AddressAlreadyInUseException
Is there an official bug tracker where I can submit this bug/issue?

BTW: I'm facing this in the latest beta 2 as well

thanks

alan77ss
Posts: 8
Joined: Tue Dec 04, 2012 4:15 pm

Re: ARGUS Scheduler Service stopped after resuming from hibe

Post by alan77ss » Thu Mar 14, 2013 5:13 pm

could you share the command you use for the scheduled task? would come in handy.

PD
Posts: 122
Joined: Fri May 30, 2008 12:33 pm

Re: ARGUS Scheduler Service stopped after resuming from hibe

Post by PD » Thu Mar 14, 2013 5:54 pm

I had this also recently, the only way I found to fix this was to re-install MySQL, localhost\root\MediaPortal as ip\user\password, reboot and everything worked fine, reinstalling Argus had no effect what so ever to repairing the problem.

I am wondering if a windows update may have screwed things up though, do seem to remember having done one the previous day, might just have been a coincidence.

Anyway my symptoms were, no recordings or live tv from resume and scheduler service just not started, manual start worked every time, which really did not point to a MySQL problem at all, but re-installing did fix this.
Ray
Paranoid Delusion
Team-MediaPortal

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest