Mpdboot_c0104 (handle_mpd_output 406): failed to handshake with MPD on c0108; recvd output = {}

Source: Internet
Author: User

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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.