Home > Cannot Create > Cannot Create /sys/class/rtc/rtc0/wakealarm Permission Denied
Cannot Create /sys/class/rtc/rtc0/wakealarm Permission Denied
The Now Playing screen flips back to the main menu after a minute or so. Thanks Mike Jassel2011-05-12, 14:07Hi gharris, some more information here: First of all, I would be surprised if squeezeboxserver is running as root. To achieve #2, above, try the following settings: A). It sounds from you description that you may want your server to stay awake between 4am and 8pm. http://skimwp.org/cannot-create/cannot-create-new-quotafile-permission-denied.php
However, it started turning itself on again, I checked and another wake alarm was set. You could then have what is known in the Linux realm as a "cron job" that would set a SrvrPowerCtrl block in order to keep the server awake. I happened to do some browsing when all of a sudden the PC went into suspend. hyenadog2011-07-25, 14:55hi, I'm trying to get svrpowerctrl beta working with duet/debian/latest 7.5 build it installs just fine but i cant seem to get it to shutdown the server. check this link right here now
Most hardware that is less than 4 years old (I think) ought to work with this. Is there a name for the (anti- ) pattern of passing parameters that will only be used several levels deep in the call chain? castalla2011-07-24, 15:12Update: I just tried Shutdown to Hibernate ... I've had one or two ideas that have added value to this plugin.
Mon May 9 00:39:35 PDT 2011: /usr/local/sbin/spc-wakeup.sh 1304904240 Setting /sys/class/rtc/rtc0/wakealarm to 1304904240 (2011-05-09 01:24:00) /usr/local/sbin/spc-test.sh Success! ACPI, Advanced Configuration and Power Interface, is the newer, more advanced standard. then, what does cat /proc/driver/rtc say (especially lines starting with alrm_time, alrm_date and alrm_pending)? The block and unblock commands you'll want to schedule via cron are: touch /var/lock/spc-block ..and: rm /var/lock/spc-block Good luck!
Can anyone offer a suggestion? If anyone knows more details, I'd appreciate hearing from them. I've reset all SrvrPowerCtrl settings but I did not yet run the Redhat setup script or fiddle with sudoers file. Seems to be working fine now!
My silent thought at the time was "thanks but what am I going to do with this?" (I love my iPhone but am not an Apple fanboy by default). B). I think the best way for me to proceed (with the understanding that my approach is trial and error) is to try to set up a crontab to suspend the server castalla2011-07-21, 14:49I really like this app.
I will see what happens when the RTC BIOS command change I made today kicks in in the morning. No other stations play. I think the best way for me to proced (with the understanding that my approach is trial and error) is to try to set up a crontab to suspend the server Regards, Juergen gharris9992011-07-22, 07:05Hi, first thing that I tried was to use the suggested command on the server: cmd /C start /B SCPowerTool.exe --standby --wakeup=-60 Whereas the server went into standby
That might be a work-around. this contact form I have tested using a BIOS setting to trigger waking up at the same time in the AM and that seems to work. That's why examining the logs (and setting the logging level to debug) is helpful. Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Mythbuntu Why does this not work as a
gharris9992011-07-24, 18:19Update: I just tried Shutdown to Hibernate ... castalla2011-07-24, 11:33It's just a straight Suspend. Sorry, I installed SrvrPowerCtrl about time from post 1050 (2009) from this thread At that time i have used an file with the first line : README for SrvrPowerCtrl: a plugin have a peek here User squeezeboxserver has passwordless permission to shutdown vortexbox.
I didn't want to get too heavily involved in ACPI wakeup/shutdown, BIOS stuff etc. But epoch1970 has already gone into some detail and his ideas are always good ones. Any ideas?
All I would add, for the moment, is that my experience has been the same as epoch's: with Linux, some machines will wake from a soft-off shutdown when the rtc has
How low can I set the waiting period? So if after issuing this setting the PC wakes daily at 08:12:40 will be consistent with the BIOS behaviour. Add-in salt to injury? Linux newbie here...
If you're new to Linux, the syntax of the crontab file where these cron jobs are scheduled can seem pretty arcane. I'm running squeezeboxserver on a headless machine on ClearOS 5.2 (based on CentOS). Attachment #37258 pm-util hook script to work around blank screen issue text/plain 2010-07-20 21:25:26 UTC 137 bytes no flags Details You cannot view the attachment on this page because your browser Check This Out Obviously, all these settings interact and it's entirely possible that you've uncovered a logic bug.
If anyone could possibly help I would be eternally grateful Geoff My guess would be the environment from which the command is being ran is missing some variables that are set I'm using Windows 7 32Bit. They need to be 'ticked' in both front end and backend. It would be useful to add a clarification about this to the documentation.
But they seem hardware and OS dependent and have nothing to do with SrvrPowerCtrl, per se. Now I'm up and running ;-) Regards, Juergen Wow. That aside, I think the main thing that solved my issues was resetting the plug-in to defaults. With the 'Shutdown Server' menu item no such thing happens (other than adding a "Could not find action item # 0" to the server log).
The player / server mismatch uu were seeing probably had to do with caching (or something.) I knew it wasn't an App because it doesn't show up on the App Installer what hardware are you running your system on? gharris9992011-05-08, 21:17I assume that your excellent plug in somehow puts a friendly face on the chron job procedure, which is a real benefit for folks like me.No such luck. It will make the command lines for the basic commands very, very long since the install path is long.
Apparently, I need some text before my 30 0 * * 2-0 sequence. through sudo sh -c ‘echo "+00-00-00 00:00:30" > /sys/class/rtc/rtc0/wakealarm' note that this command does not set your system into sleep but only schedules a wakeup-alarm, so you might need to put Sat May 7 15:37:36 PDT 2011: /usr/local/sbin/spc-wakeup.sh 1304839500 Setting /sys/class/rtc/rtc0/wakealarm to 1304839500 (2011-05-08 07:25:00) Sun May 8 00:39:49 PDT 2011: /usr/local/sbin/spc-wakeup.sh 1304925900 Setting /sys/class/rtc/rtc0/wakealarm to 1304925900 (2011-05-09 07:25:00) Sun May 8 I then pick a live radio station which plays.
Join Date Mar 2008 Location Baldock, UK Beans 54 DistroUbuntu 10.04 Lucid Lynx Re: Why does this not work as a simple shutdown??? I suppose the short question should have been if these two commands work just fine in a terminal (I seem to have gotten over the time format problem with Shutdown), why What I don't know is what happens after I log in as root, trigger the nano text editor and get to the part where you can set up a crontab. nietgiftig2011-07-18, 05:42I hope is a genuinely useful add-on to squeezeboxserver.
Hot Network Questions How did early mathematicians make it without Set theory? Last Jump to page: Quick Navigation Mythbuntu Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums The Ubuntu Forum Community Ubuntu Official Flavours Support New to