search for: ip_window

Displaying 2 results from an estimated 2 matches for "ip_window".

Did you mean: ip_windows
2013 Apr 18
0
problem with a script via upssched-cmd
...utdown an ubuntu server When I run my script manually, all is ok but via upssched-cmd it return "exec_cmd returned 255" here is the script #!/bin/bash # send mail to admin echo "ECO" | mail -s "ARRET SERVEURS NON PRIORITAIRES" moi at domaine.fr net rpc shutdown -f -I ip_windows -U login%passwd ssh login at ip_ubuntu sudo shutdown -h now If I run only this cde net rpc shutdown -f -I ip_windows -U login%passwd it's ok if I run only this cde ssh login at ip_ubuntu sudo /sbin/shutdown -h now I have returned 255 Is someone can help me Thanks a lot -- Sabine Gouda...
2013 Apr 18
0
Nut-upsuser Digest, Vol 94, Issue 18
...hutdown an ubuntu server When I run my script manually, all is ok but via upssched-cmd it return "exec_cmd returned 255" here is the script #!/bin/bash # send mail to admin echo "ECO" | mail -s "ARRET SERVEURS NON PRIORITAIRES" moi at domaine.fr net rpc shutdown -f -I ip_windows -U login%passwd ssh login at ip_ubuntu sudo shutdown -h now If I run only this cde net rpc shutdown -f -I ip_windows -U login%passwd it's ok if I run only this cde ssh login at ip_ubuntu sudo /sbin/shutdown -h now I have returned 255 Is someone can help me Thanks a lot -- Sabine Gouda...