Bug 7961 - Make squeezesvc depent on SqueeMySQL
: Make squeezesvc depent on SqueeMySQL
Status: RESOLVED WONTFIX
Product: Logitech Media Server
Classification: Unclassified
Component: Windows Service
: 7.0.1
: PC Windows Server 2003
: -- enhancement (vote)
: 7.x
Assigned To: Squeezebox QA Team email alias
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-04-23 23:56 UTC by Johannes
Modified: 2009-07-31 10:20 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes 2008-04-23 23:56:19 UTC
With the current installer both the SqueezeCenter services and the SqueezeMySQL service are marked as start Automatically. This could lead to problems as there is no garantuee that MySQL is running when SC service is started. By marking the SC service to depend on MySQL the latter will be started before the first. Also when SC service is stopped also MySQL will be stopped. 

The dependecy requires one extra entry under the HKLM\SYSTEM\CurrentControlSet\squeezesvc node:

DependOnService (REG_MULTI_SZ)  = SqueezeMySQL
Comment 1 Michael Herger 2008-04-24 04:14:01 UTC
While your proposal looks like the correct solution, SC should not fail due to this dependency. It will start MySQL if it isn't already. Did you encounter problems with this?
Comment 2 James Richardson 2008-05-05 09:18:18 UTC
Johannes: Can you give more details on the problem you are having?
Comment 3 Johannes 2008-05-12 12:24:41 UTC
It's a bit silly but I moved the SC to a Linux system. Therefor I'm not able anymore to repro the problem. What I can say is that I experienced frequent "Service hung" errors for SC during a reboot of the win2003 server. 

I would leave my suggestion (low) on the feature list in case similar errors occur.
Comment 4 Chris Owens 2009-07-31 10:20:04 UTC
Reduce number of active targets for SC