On Tue, 22 Sep 2009, tony mancill wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Justin Piszcz wrote:
Package: clusterssh
Version: 3.26-1
Severity: normal

$ cssh u...@xxx-xxxxxx-abcd.wxy u...@xxx-xxxxxx-abcd.zxvw
u...@xxx-xxxxxx-abcd.zxvw u...@xxx-xxxxxx-abcd.iadw
u...@xxx-xxxxxx-abcde.zxvw
Can't call method "name" on an undefined value at /usr/bin/cssh line 988.

$ cssh u...@xxx-xxxxxx-abcd.wxy u...@xxx-xxxxxx-abcd.zxvw
Can't call method "name" on an undefined value at /usr/bin/cssh line 988.

The older clusterssh-3.21 works OK.

Seems to be similar to this but the hostnames are normal.
http://osdir.com/ml/debian-bugs-dist/2009-08/msg06609.html

Justin.

Hi Justin,

I'm not able to reproduce the behavior when I use hostnames that resolve.
The issue appears to be that gethostbyname() fails for one or more the names
given.  Can you ssh to each of the hosts in your test case, and can you
provide some detail on how the host names are being resolved by your system?

Duncan, would it be reasonable to check to see if gethostbyname($host) is
defined, and if not, simply return $host?

Thank you,
Tony

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

iEYEARECAAYFAkq5AdAACgkQpdwBkPlyvgOGLACeNpLz/+OQPL5uTuA+il0SRWSe
obYAn3+YwpEpZ0LPNbDp9wnx1vVf9pnR
=7zkq
-----END PGP SIGNATURE-----


Hi,

It must have been one of the hosts was typo'd-- it is working now. But in the past and now I maintain lists with cssh that I login to and if one of the hosts has been decomissioned, it will abort the entire cssh because of it, where before it would try to open it and if it fails, the window would close or not open. Can the old functionality be restored?

Justin.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to