Skip to main content

Posts

Showing posts from March, 2006

MPICH2: mpdboot failure due to conflicting /etc/hosts entry

One single line in the /etc/hosts file on my Ubuntu Linux machine wasted my precious whole afternoon. I had some assumptions about the cause of this problem but I don't want to spend too much time investigating on what really caused the trouble. Anyway, here are the listings of what worked and what didn't: /etc/hostname ubuntu mpd.hosts.cluster master worker-01 Bad /etc/hosts 127.0.0.1 localhost localhost.localdomain ubuntu 192.168.200.128 master 192.168.200.129 worker-01 Result thitiv@ubuntu:~$ mpdboot -n 2 -f mpd.hosts.cluster thitiv@master's password: mpdboot_ubuntu (handle_mpd_output 359): failed to ping mpd on master; recvd output={} Good /etc/hosts 127.0.0.1 localhost localhost.localdomain 192.168.200.128 ubuntu master 192.168.200.129 worker-01 Result thitiv@ubuntu:~$ mpdboot -n 2 -f mpd.hosts.cluster thitiv@worker-01's password: thitiv@ubuntu:~$ At this point, with the /etc/hosts now fixed, the MPICH2 cluster could be booted up successfully. I don't want t