Mpdboot is successfully run on a single node, but the mpdtrace command can only display the current node.
Running mpdboot-N 4-f MP. dhosts fails. The information is as follows:
[Root @ c0104 ~] # Mpdboot-N 4-f mpd. Hosts
Mpdboot_c0104 (handle_mpd_output 406): failed to handshake with MPD on c0108; recvd output = {}
[Root @ c0104 ~] # Mpdboot-N 2-f mpd. Hosts
Mpdboot_c0104 (handle_mpd_output 415): failed to connect to MPD on c0107
Solution in centos 5:
Ensure that unnecessary hostnames In the MPD. Hosts file of each node are commented out or deleted.
Then upgrade Python 2.4 to 2.6 and download the source code package./configure, make, make install
[Root @ c0104 ~] # SSH c0104
Last login: Thu Sep 9 14:35:24 2010 from c0104
[Root @ c0104 ~] # SSH c0107
Last login: Thu Sep 9 14:28:38 2010 from c0104
[Root @ c0107 ~] # SSH c0104
Last login: Thu Sep 9 14:35:34 2010 from c0104
[Root @ c0104 ~] # SSH c0108
Last login: Wed Sep 8 14:43:34 2010 from c0107
[Root @ c0108 ~] # SSH c0104
Last login: Thu Sep 9 14:35:53 2010 from c0107
[Root @ c0104 ~] # SSH c0110
Last login: Thu Sep 9 14:43:02 2010 from c0108
[Root @ c0110 ~] # SSH c0104
Last login: Thu Sep 9 14:35:59 2010 from c0108
[Root @ c0104 ~] # Touch. MPD. conf
[Root @ c0104 ~] # Cat. MPD. conf
Secretword = something
[Root @ c0104 ~] # Chmod 600. MPD. conf
[Root @ c0104 ~] # Cat MPD. Hosts
C0104
C0107
C0108
C0110
Http://download.csdn.net/source/2667713
Note: there are other possible causes. This is not explained too much. It is everywhere on the Internet.
(1). the MPD. conf settings are incorrect. Note that the permission must be 600.
(2) SSH without a password cannot be accessed, so make sure it is accessible.
[Note] upgrading python will affect the Virtual Machine. If xen is installed, be careful!