dip;474813 Wrote: 
> I used SvrPowerControl with SC 7.3 without problems to suspend SC after
> 45 minutes idle time on Ubuntu 9.04. After upgrading to squeezeboxserver
> 7.4 the plugin did no longer work so I uninstalled it.
> 
> I have now tested the new beta of the plugin and it crashes my
> squeezboxserver. I enclose my server.log file. I manually installed the
> beta version by copying the SvrPowerControl folder to
> /var/lib/squeezboxserver/cache/InstalledPlugins/Plugins. After a server
> restart the SvrPowerControl links wer shown in the web interface main
> page of squeezeboxserver but the plugin was not listed on the plugins
> page of the sqeueezeboxserver settings. And there was no way to access
> the settings page of the plugin (there was also no prefs file
> installed).
> 
> I tried then to suspend the server using the links on the web interface
> main page but this did not have any effect. I than tried to shutdown the
> server using SvrPowerControl and then squeezeboxserver died.
Did you run SrvrPowerCtrl's Debian setup script after you installed the
beta version of the plugin?  With the change to SBS7.4, new changes need
to be made to /etc/sudoers for the plugin to work.  Specifically,
anyplace in /etc/sudoers that said 'squeezecenter' under SC 7.3.x now
must say 'squeezeboxserver' with 7.4.  Squeezebox Server 7.4 runs under
different credentials than SqueezeCenter and you have to account for
that in /etc/sudoers order for SrvrPowerCtrl to work.

Looking at your server.log, that's what looks to be happening.  You
appeared to attempt two suspends and a server shutdown, none of which
succeeded.  I'm guessing that it's because of the permissions problem in
/etc/sudoers.

>From a terminal, run:

Code:
--------------------
    
  # sudo 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SrvrPowerCtrl/scripts/Debian/srvrpowerctrl-setup.sh
  
--------------------

..and see if that re-enables SrvrPowerCtl's ability to
suspend/shutdown/etc. your system.

The only case where SrvrPowerCtrl 'crashed' your squeezeboxserver is
when you attempted to execute a server shutdown.  That SrvrPowerCtrl's
shutdown function indeed halts squeezeboxserver...and it is supposed to
do that.  The fact that SBS restarted itself is the problematic point
here, not that SBS died.  So I'll have to look into this.


-- 
gharris999
------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=48521

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to