Red Hat Bugzilla – Bug 455618
fwbackups won't execute shutdown command
Last modified: 2008-07-16 18:26:17 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:18.104.22.168) Gecko/20080623 Firefox/22.214.171.124
Description of problem:
I'm really sorry for adding this as a bug cos' its sure as hell my own idiocy but I've been grappling with this for over a year on and off and I still can't get it resolved.
I'm simply want to shut down the machine after backup and have tried different commads from "shutdown -h now" to "sbin/shutdown -h now" (without inverted commas)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Run Backup set
2.Execute after command: /bin/sh: sbin/shutdown -h now
Jul 11 21:19:38 :: INFO : Executing 'After' command
Jul 11 21:19:43 :: WARNING : Command returned with a non-zero exit status:
Jul 11 21:19:43 :: ERROR : Return value: 127
stderr: /bin/sh: sbin/shutdown: No such file or directory
Nov 30 20:40:36 :: WARNING : Command returned with a non-zero exit status:
Nov 30 20:40:36 :: ERROR : Return value: 127
stderr: /bin/sh: shutdown: command not found
The command "sbin/shutdown -h now" will work when used as part of a cron job but my preference is for fwbackups to shutdown when its actually finished. Any suggestions really appreciated.
Thanks - David
Thank you for your bug report.
We are sorry, but the Fedora Project no longer
maintains this version of Fedora. Please upgrade to the latest version and
reopen this bug against that version if this bug exists there.
As a result we are setting this bug to CLOSED:WONTFIX
The /bin/sh is usually only manually specified for shell scripts, and I think
you're missing a slash - Try using "/sbin/shutdown -h now" or "poweroff" as the