DIAGNOSTICS
ssh exits with the exit status of the remote command or with 255 if
an
error occurred.
and from bash(1):
EXIT STATUS
For the shell's purposes, a command which exits with a zero exit
status
has succeeded. An exit status of zero indicates success. A
non-zero
exit status indicates failure. When a command terminates on a
fatal
signal N, bash uses the value of 128+N as the exit status.
If a command is not found, the child process created to execute
it
returns a status of 127. If a command is found but is not
executable,
the return status is 126.
If a command fails because of an error during expansion or
redirection,
the exit status is greater than zero.
Shell builtin commands return a status of 0 (true) if successful,
and
non-zero (false) if an error occurs while they execute. All
builtins
return an exit status of 2 to indicate incorrect usage.
Bash itself returns the exit status of the last command
executed,
unless a syntax error occurs, in which case it exits with a
non-zero
value. See also the exit builtin command below.
HTH,
Martin Rushton
Weapons Technologies
Tel: 01959 514777, Mobile: 07939 219057
email: ***@QinetiQ.com
www.QinetiQ.com
QinetiQ - Delivering customer-focused solutions
Please consider the environment before printing this email.
From: Jarrod Johnson [mailto:***@gmail.com]
Sent: 07 January 2011 03:00
To: xCAT Users Mailing list
Subject: Re: [xcat-user] Error when using psh command *** ssh exited with
error code 255
The command is returning non-zero exit code. Perhaps we should have
option to suppress that info specifically, or format it differently if it
is unclear.
On Thu, Jan 6, 2011 at 6:11 PM, Andrei Vakhnin <***@nasa.gov>
wrote:
I get following output from every node in the cluster when using psh
command. Command still does what I need but spit this error for every node
in my node range.
*** ssh exited with error code 255.
*** ssh exited with error code 127.
*** ssh exited with error code 1.
*** ssh exited with error code 1
Thanks
Andrei
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment,
and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
xCAT-user mailing list
xCAT-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user
This email and any attachments to it may be confidential and are intended
solely for the use of the individual to whom it is addressed. If you are
not the intended recipient of this email, you must neither take any action
based upon its contents, nor copy or show it to anyone. Please contact the
sender if you believe you have received this email in error. QinetiQ may
monitor email traffic data and also the content of email for the purposes
of security. QinetiQ Limited (Registered in England & Wales: Company
Number: 3796233) Registered office: 85 Buckingham Gate, London SW1E 6PD
http://www.qinetiq.com
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any
company
that requires sensitive data to be transmitted over the Web. Learn how
to
best implement a security strategy that keeps consumers' information
secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
xCAT-user mailing list
xCAT-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user
--=_alternative 003DF0ED85257811_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=2 face="sans-serif">Does xdsh do the same thing? I
am a little confused, if the error is that it cannot find the command to
execute, why you are able to execute successfully. </font>
<br><font size=2 face="sans-serif">What is the command you are running?</font>
<br><font size=2 face="sans-serif"><br>
Lissa K. Valletta<br>
2-3/T12<br>
Poughkeepsie, NY 12601<br>
(tie 293) 433-3102<br>
<br>
</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:
</font><font size=1 face="sans-serif">"Rushton Martin"
<***@qinetiq.com></font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:
</font><font size=1 face="sans-serif">"xCAT Users Mailing
list" <xcat-***@lists.sourceforge.net></font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:
</font><font size=1 face="sans-serif">01/07/2011 05:20 AM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:
</font><font size=1 face="sans-serif">Re: [xcat-user]
Error when using psh command *** ssh exited with error
code 255</font>
<br>
<hr noshade>
<br>
<br>
<br><font size=2 color=blue face="Arial">255 ssh is returning
an unspecified error.</font>
<br><font size=2 color=blue face="Arial">127 the shell could
not find the command executable to run.</font>
<br><font size=2 color=blue face="Arial">1 the
command returned an general error.</font>
<br><font size=3> </font>
<br><font size=3> </font>
<br><font size=2 color=blue face="Arial">