search for: ip_ubuntu

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

Did you mean: 2f_ubuntu
2013 Apr 18
0
problem with a script via upssched-cmd
...ript 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 Goudard Service Informatique et Multim?dia T?...
2013 Apr 18
0
Nut-upsuser Digest, Vol 94, Issue 18
...cript 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 Goudard Service Informatique et Multim?dia T?...