Discussion:
[xcat-user] Error when using psh command *** ssh exited with error code 255
Andrei Vakhnin
2011-01-06 23:11:34 UTC
Permalink
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
Christopher Samuel
2011-01-06 23:28:42 UTC
Permalink
Post by Andrei Vakhnin
I get following output from every node in the cluster
when using psh command.
Umm, don't you mean xdsh ?

I don't see pssh as part of xCAT on either of my xCAT
installs (2.3.x and 2.4.x).

- --
Christopher Samuel - Senior Systems Administrator
VLSCI - Victorian Life Sciences Computation Initiative
Email: ***@unimelb.edu.au Phone: +61 (0)3 903 55545
http://www.vlsci.unimelb.edu.au/
David Flatley
2011-01-07 13:10:01 UTC
Permalink
psh is a legitimate xcat command

psh <node> "uptime"

David Flatley




From:
Christopher Samuel <***@unimelb.edu.au>
To:
xcat-***@lists.sourceforge.net
Date:
01/06/2011 06:30 PM
Subject:
Re: [xcat-user] Error when using psh command *** ssh exited with error
code 255



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Andrei Vakhnin
I get following output from every node in the cluster
when using psh command.
Umm, don't you mean xdsh ?

I don't see pssh as part of xCAT on either of my xCAT
installs (2.3.x and 2.4.x).

- --
Christopher Samuel - Senior Systems Administrator
VLSCI - Victorian Life Sciences Computation Initiative
Email: ***@unimelb.edu.au Phone: +61 (0)3 903 55545
http://www.vlsci.unimelb.edu.au/
Lissa Valletta
2011-01-07 15:30:47 UTC
Permalink
Yes, we have psh and pcp and xdsh and xdcp. We have kept both, because
they each have their proponents.

You have to be a little careful on AIX, because there is another psh
command that is not related to xCAT. Be sure you are picking the one
from /opt/xcat/bin/psh not /usr/bin/psh.

Lissa K. Valletta
2-3/T12
Poughkeepsie, NY 12601
(tie 293) 433-3102





From: David Flatley/Burlington/***@IBMUS
To: xCAT Users Mailing list <xcat-***@lists.sourceforge.net>
Date: 01/07/2011 08:11 AM
Subject: Re: [xcat-user] Error when using psh command *** ssh
exited with error code 255




psh is a legitimate xcat command

psh <node> "uptime"

David Flatley



From:
Christopher Samuel <***@unimelb.edu.au>
To:
xcat-***@lists.sourceforge.net
Date:
01/06/2011 06:30 PM
Subject:
Re: [xcat-user] Error when using psh command *** ssh exited with error
code 255




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Andrei Vakhnin
I get following output from every node in the cluster
when using psh command.
Umm, don't you mean xdsh ?

I don't see pssh as part of xCAT on either of my xCAT
installs (2.3.x and 2.4.x).

- --
Christopher Samuel - Senior Systems Administrator
VLSCI - Victorian Life Sciences Computation Initiative
Email: ***@unimelb.edu.au Phone: +61 (0)3 903 55545
http://www.vlsci.unimelb.edu.au/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0mUCkACgkQO2KABBYQAh/9fwCdEg7HXCAUqU2zyjbFJ8Zwe6Xz
XVQAnifCSuuAGfSmb4ruA08cNccjf9by
=bL9A
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
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

------------------------------------------------------------------------------
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
Christopher Samuel
2011-01-10 04:21:48 UTC
Permalink
Post by David Flatley
psh is a legitimate xcat command
Mea culpa, I read it as pssh.. :-(

ENOCAFFEINE!

- --
Christopher Samuel - Senior Systems Administrator
VLSCI - Victorian Life Sciences Computation Initiative
Email: ***@unimelb.edu.au Phone: +61 (0)3 903 55545
http://www.vlsci.unimelb.edu.au/

Jarrod Johnson
2011-01-07 02:59:40 UTC
Permalink
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.
Post by Andrei Vakhnin
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
https://lists.sourceforge.net/lists/listinfo/xcat-user
Rushton Martin
2011-01-07 10:18:22 UTC
Permalink
255 ssh is returning an unspecified error.
127 the shell could not find the command executable to run.
1 the command returned an general error.
Lissa Valletta
2011-01-07 11:16:37 UTC
Permalink
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.
What is the command you are running?

Lissa K. Valletta
2-3/T12
Poughkeepsie, NY 12601
(tie 293) 433-3102





From: "Rushton Martin" <***@qinetiq.com>
To: "xCAT Users Mailing list" <xcat-***@lists.sourceforge.net>
Date: 01/07/2011 05:20 AM
Subject: Re: [xcat-user] Error when using psh command *** ssh
exited with error code 255



255 ssh is returning an unspecified error.
127 the shell could not find the command executable to run.
1 the command returned an general error.
Rushton Martin
2011-01-07 11:38:13 UTC
Permalink
After a bit more research (for a different reason), it appears that the
bash documentation is not quite accurate! The builtin wait command can
also return 127 to indicate that it cannot locate process or job to wait
upon. I don't know if this helps or is relevant, but it might be
something along these lines.


Martin Rushton
Weapons Technologies
Tel: 01959 514777, Mobile: 07939 219057
email: ***@QinetiQ.com
www.QinetiQ.com <http://www.qinetiq.com/>
QinetiQ - Delivering customer-focused solutions

Please consider the environment before printing this email.




________________________________

From: Lissa Valletta [mailto:***@us.ibm.com]
Sent: 07 January 2011 11:17
To: xCAT Users Mailing list
Subject: Re: [xcat-user] Error when using psh command *** ssh
exited with error code 255



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.
What is the command you are running?

Lissa K. Valletta
2-3/T12
Poughkeepsie, NY 12601
(tie 293) 433-3102





From: "Rushton Martin" <***@qinetiq.com>
To: "xCAT Users Mailing list"
<xcat-***@lists.sourceforge.net>
Date: 01/07/2011 05:20 AM
Subject: Re: [xcat-user] Error when using psh command ***
ssh exited with error code 255

________________________________




255 ssh is returning an unspecified error.
127 the shell could not find the command executable to run.
1 the command returned an general error.
Jarrod Johnson [mailto:]
1970-01-01 00:00:00 UTC
Permalink
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? &nbsp;I
am a little confused, if the error is that it cannot find the command to
execute, &nbsp;why you are able to execute successfully. &nbsp; &nbsp;</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: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">&quot;Rushton Martin&quot;
&lt;***@qinetiq.com&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">To: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">&quot;xCAT Users Mailing
list&quot; &lt;xcat-***@lists.sourceforge.net&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">01/07/2011 05:20 AM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">Re: [xcat-user]
Error when using psh command *** ssh exited with &nbsp; &nbsp; &nbsp; &nbsp;error
code 255</font>
<br>
<hr noshade>
<br>
<br>
<br><font size=2 color=blue face="Arial">255 &nbsp; &nbsp;ssh is returning
an unspecified error.</font>
<br><font size=2 color=blue face="Arial">127 &nbsp; &nbsp;the shell could
not find the command executable to run.</font>
<br><font size=2 color=blue face="Arial">1 &nbsp; &nbsp; &nbsp; &nbsp;the
command returned an general error.</font>
<br><font size=3>&nbsp;</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 color=blue face="Arial">
Loading...