It might give you some more information.
I'm thinking it's the user than is running your webserver. That user will need permission to execute the shutdown command. You can run your webserver as root, probably not a recommended thing to do but it should work. Or opening up permissions to the shutdown command. You'll also want to make sure your webserver is configured to start back up automatically after a reboot.
In reply to Re: Simple reboot from perl?
by johnny_carlos
in thread Simple reboot from perl?
by lesnod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |