Bug 4860 - 6.5.2: SlimServer does not start automatically after reboot.
: 6.5.2: SlimServer does not start automatically after reboot.
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Windows Installer
: 6.5.2
: PC Windows Vista
: P2 major (vote)
: ---
Assigned To: Blackketter Dean
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-26 14:23 UTC by Wallace Lai
Modified: 2009-09-08 09:21 UTC (History)
4 users (show)

See Also:
Category: ---


Attachments
mysql-error-log (5.34 KB, text/plain)
2007-05-15 14:35 UTC, Squeezebox QA Team email alias
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wallace Lai 2007-03-26 14:23:16 UTC
Steps to Reproduce:
1.  On a clean ghost of Vista SP0 ENU, install SlimServer 6.5.2, build 2007-03-26.
2.  During the install, make sure the "Automatically Start" button is checked.  This is for auto starting SlimServer after system reboot.
3.  Reboot the PC.
4.  Notice SlimSer does not start automatically.

Note:  There is already a bug like this about 7.0a1.  This is for 6.5.2.
Comment 1 Ross Levine 2007-03-26 16:46:25 UTC
Also not able to reproduce this, perhaps another intermittent issue. I'll have another look at this and bug 4859 again tomorrow if I have time. 
Comment 2 Ross Levine 2007-03-26 16:46:41 UTC
Assigning to myself. 
Comment 3 Ross Levine 2007-03-28 14:04:03 UTC
I'm able to reproduce this with 3-28-2007 6.5.2

I tried installing with 'start automatically' checked, and then rebooting. It doesn't start. I also tried installing, then actually running SlimServer, then rebooting, it doesn't start. 
Comment 4 Spies Steven 2007-05-01 14:18:37 UTC
I just noticed that this option is no longer in the nightly installer. Is this deliberate?
Comment 5 Wallace Lai 2007-05-01 15:18:43 UTC
Reassigned to Dean.
If the removal of the check box on installer is intentional, I will close this bug.
Comment 6 Ross Levine 2007-05-02 15:55:35 UTC
Triode could this have something to do with the changes you made recently?
Comment 7 Adrian Smith 2007-05-02 16:30:01 UTC
Does the server restart if you block SlimTray from starting?
Comment 8 Ross Levine 2007-05-02 16:35:40 UTC
Triode could you be more specific? How would you like me to block SlimTray?
Comment 9 Adrian Smith 2007-05-03 10:39:57 UTC
Disable SlimTray.exe via msconfig [or just remove/rename].   When you reboot does the server startup?
Comment 10 Adrian Smith 2007-05-03 12:53:11 UTC
Wallace - I've just checked something in which may improve this (change 11894).  Please could you let me know if tomorrow's nightly is different.
Comment 11 Wallace Lai 2007-05-03 13:19:04 UTC
No problem.  I will do that.
Comment 12 Wallace Lai 2007-05-04 17:18:56 UTC
I tried today's build.  The option in the installer to auto start SlimServer upon reboot is still not there.  Therefore, I am not able to fully test the fix.  In fact, I am not sure this bug should still be open.
However, rebooting without selecting the auto start item in SlimTray first does not start the SlimServer, as expected.
And if the tray item is selected, SlimServer does start upon reboot.  That is good.
Comment 13 Chris Owens 2007-05-07 10:15:15 UTC
Wallace, could you please ask Ross if he thinks this bug should be closed due to the recent changes to the Windows installer?
Comment 14 Adrian Smith 2007-05-07 10:18:49 UTC
About to check something in which I hope improves this. So don't close it yet!

Wallace - could you check the mysql-error-log files - are you seeing the following at present?

070507 17:58:56  InnoDB: Operating system error number 32 in a file operation.
InnoDB: Some operating system error numbers are described at
InnoDB: http://dev.mysql.com/doc/mysql/en/Operating_System_error_codes.html
InnoDB: File name .\ibdata1
InnoDB: File operation call: 'open'.
InnoDB: Cannot continue operation.
070507 17:58:57  InnoDB: Shutdown completed; log sequence number 0 570833
Comment 15 Squeezebox QA Team email alias 2007-05-15 14:35:02 UTC
Created attachment 2010 [details]
mysql-error-log
Comment 16 Squeezebox QA Team email alias 2007-05-15 14:37:03 UTC
Hi, Triod,

I have not seen this bug for over a week now.  SlimServer has been starting fine after reboot.
However, I do see similar lines in the mysql-error-log.txt as mentioned.  I have attach the log file above.

Thanks
Wallace
Comment 17 Adrian Smith 2007-05-15 14:42:00 UTC
Can you correlate the error messages to be at startup or shutdown or only on reinstall?

Are you running mysqld as a service or an app when they occur?

I think they will will be ok as we have a transaction aware backend which should be able to recover from errors, but it would be good to get to the bottom of this.
Comment 18 Chris Owens 2007-05-15 16:30:19 UTC
It looks to me like this bug is basically fixed.  If you still want it open for 6.5.2 please let me know, Adrian.
Comment 19 Adrian Smith 2007-05-16 11:10:54 UTC
Close it unless and it can be reopened if this causes a problem.  It is somewhere to look if people report the server stopping.
Comment 20 Chris Owens 2007-05-16 13:53:31 UTC
change number in Triode's comment 10, above
Comment 21 Wallace Lai 2007-05-16 14:26:58 UTC
MySQL was running as a service.

The fix has been verified on several nightlies in the past week.  Bug as written is no longer seen.  Regression testing has dug up no new bugs around starting SlimServer after reboot.

Marking it as "VERIFIED".
Comment 22 Wallace Lai 2007-05-16 14:27:20 UTC
Closing.
Comment 23 Wallace Lai 2007-05-16 14:29:03 UTC
Developers working on SlimServer are truely knowledgable people.