April 27, 201214 yr Wasn't sure where to put this, in general or in user customizations, so I decided here. I know that its possible to tie the power button to the powerdown script, if the motherboard supports it, but here's my question Is it possible for the motherboard to support this automatically? Or has the script been updated to try it on its own? I have never tried to tie the powerdown script to the start button, but tonight my server was completely unresponsive, dug out the monitor and hooked it up but monitor kept going to sleep, moving a mouse or hitting keys on the keyboard did not wake it up, so I was eventually forced to press the power button to shutdown. When booted back up, I saw there was no parity check commencing, so I checked /boot/logs and behold! The powerdown script had executed and cleanly shutdown the server. If this is some black magic supported by my motherboard then I like it, the extra functionality with no extra work,
April 27, 201214 yr See here: http://lime-technology.com/forum/index.php?topic=6078.0 If you had just momentarily pressed the power button (and not held it pressed for 5 seconds or more) then you might have gotten lucky. (everything is already set up on your BIOS, and your installed add-ons are working as expected, and you have nothing holding a disk busy) Joe L.
April 27, 201214 yr Author Wow thanks a lot, that was a wealth of information. Odd it didn't pop up when I did a search for it. Maybe my google-fu is weakening. So if I read the thread correctly, either 1) The disks were not busy so pressing the power button invoked lime-techs powerdown script or 2) Somehow by luck or divine intervention, the fact that I had weebotechs script installed it invoked that script and gracefully shutdown the system. Cache_dirs was running, not sure what else(aside from sab/sb/cp), so I would think limetechs script would not have worked. Either way, glad it did work, I REALLY need to get a new NIC, I haven't had a problem out of the server but yesterday I was transferring 50+GB from the server when it crapped out. The last line in the syslog was about netdev_watchdog. I think I would have been able to save it had I remembered to add the cron back for my network script to restart the network if the link goes down. EDIT: By the way, that post you linked to should REALLY be stickied Oh well, off to put that in the Go script so I don't forget again. Thanks a lot!
April 27, 201214 yr Wow thanks a lot, that was a wealth of information. Odd it didn't pop up when I did a search for it. Maybe my google-fu is weakening. So if I read the thread correctly, either 1) The disks were not busy so pressing the power button invoked lime-techs powerdown script or 2) Somehow by luck or divine intervention, the fact that I had weebotechs script installed it invoked that script and gracefully shutdown the system. Cache_dirs was running, not sure what else(aside from sab/sb/cp), so I would think limetechs script would not have worked. Cache_dirs monitors the syslog to see if the system is attempting to shut down. It then suspends itself. EDIT: By the way, that post you linked to should REALLY be stickied I stickied it. I found it by searching for "favorite word" (another forum member joking about my use of the word "maybe")
April 28, 201214 yr Author Yeah I noticed your liking for that word. But atleast in every case it was used it was justifiable. That post is definitely proof that there is a treasure trove of information hidden in these forums. The wiki does a GREAT job of pointing out some of these posts, but there are still many out there.
Archived
This topic is now archived and is closed to further replies.