in reply to Simple reboot from perl?
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Simple reboot from perl?
by moritz (Cardinal) on Nov 04, 2011 at 15:10 UTC | |
by johnny_carlos (Scribe) on Nov 04, 2011 at 16:19 UTC |