Bug 12614 - SC fails to restart when "Restart Now" clicked on OSX
: SC fails to restart when "Restart Now" clicked on OSX
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Mac Installer
: 7.4.0
: Macintosh MacOS X 10.5
: -- normal (vote)
: 7.4.0
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-30 13:12 UTC by Matt Wise
Modified: 2009-10-05 14:28 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Wise 2009-06-30 13:12:30 UTC
When you click "Restart Now" from the Plugins page, SC dies but never starts back up:
[09-06-30 13:04:05.1291] Slim::Utils::Prefs::Namespace::savenow (304) saving prefs for plugin.state to /Users/diranged/Library/Application Support/Squeezebox Server/plugin/state.prefs
[09-06-30 13:04:05.1316] Slim::Utils::Prefs::Namespace::savenow (304) saving prefs for plugin.extensions to /Users/diranged/Library/Application Support/Squeezebox Server/plugin/extensions.prefs
[09-06-30 13:04:05.1327] Slim::Utils::Prefs::Namespace::savenow (304) saving prefs for server to /Users/diranged/Library/Application Support/Squeezebox Server/server.prefs
[09-06-30 13:04:05.1783] Slim::Utils::Misc::msg (1160) Warning: [13:04:05.1779] Can't exec "/usr/bin/perl": Operation not supported at ./slimserver.pl line 989.
Comment 1 Michael Herger 2009-07-01 01:08:01 UTC
AIO code seems to be conflicting with exec:

http://www.mail-archive.com/ponie-dev@perl.org/msg00245.html

Will have to find some helper script workaround like on Windows :-(.
Comment 2 Michael Herger 2009-07-01 01:08:45 UTC
Setting $HAS_AIO = 0 would enable exec again (just to test it's related, not a solution)
Comment 3 Michael Herger 2009-07-01 03:09:13 UTC
change 27338 - use helper script to control the restarting from outside the main script.
Comment 4 Andy Grundman 2009-07-01 04:36:01 UTC
Hmm, interesting.  We could probably have all threads stop before restarting, but if that script works, that's probably fine.
Comment 5 James Richardson 2009-10-05 14:28:48 UTC
This bug has been marked as fixed in the 7.4.0 release version of SqueezeBox Server!
    * SqueezeCenter: 28672
    * Squeezebox 2 and 3: 130
    * Transporter: 80
    * Receiver: 65
    * Boom: 50
    * Controller: 7790
    * Radio: 7790  

Please see the Release Notes for all the details: http://wiki.slimdevices.com/index.php/Release_Notes

If you haven't already, please download and install the new version from http://www.logitechsqueezebox.com/support/download-squeezebox-server.html

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.