[MPICH] mpdboot error : fail to ping

Misora Itsumo mitsuru.adachi at gmail.com
Sat Apr 8 13:31:17 CDT 2006


i have already tried mpdcheck .

[hewonty at hewonty ~]$ mpdcheck -s
server listening at INADDR_ANY on: hewonty 32775
server has conn on <socket._socketobject object at 0xb7f7838c> from ('
192.168.2.3', 56366)
server successfully recvd msg from client: hello_from_client_to_server
[hewonty at vm1 ~]$ mpdcheck -c hewonty 32775
client successfully recvd ack from server: ack_from_server_to_client

[hewonty at vm1 ~]$ mpdcheck -s
server listening at INADDR_ANY on: vm1 32771
server has conn on <socket._socketobject object at 0xb7f5920c> from ('
192.168.2.2', 33169)
server successfully recvd msg from client: hello_from_client_to_server
[hewonty at hewonty ~]$ mpdcheck -c vm1 32771
client successfully recvd ack from server: ack_from_server_to_client

The next thing , i tried to run mpd by hand , but got error like the last
post.

[hewonty at vm1 ~]$ mpd &
[1] 2056
[hewonty at vm1 ~]$ mpdtrace -l
vm1_32772 (192.168.2.3)


[hewonty at hewonty ~]$ mpd -h vm1 -p 32772
hewonty_32846: mpd_uncaught_except_tb handling:
  exceptions.TypeError: sequence item 0: expected string, int found
    /usr/local/mpich2/bin/mpdlib.py  627  connect_lhs
        response = md5new(''.join([self.secretword
,msg['randnum']])).digest()
    /usr/local/mpich2/bin/mpdlib.py  564  enter_ring
        numTries=ntries)
    /usr/local/mpich2/bin/mpd  231  run
        rhsHandler=self.handle_rhs_input)
    /usr/local/mpich2/bin/mpd  1344  ?
        mpd.run()

If i run mpd in hewonty first i got :
[hewonty at hewonty ~]$ mpd &
[1] 4051
[hewonty at hewonty ~]$ mpdtrace -l
hewonty_32781 (192.168.2.2)

[hewonty at vm1 ~]$mpd -h hewonty -p 32781
vm1_32776 (connect_lhs 621): invalid challenge from hewonty 32781: {}
vm1_32776 (enter_ring 566): lhs connect failed
vm1_32776 (run 233): failed to enter ring

and in hewonty i get the error

hewonty.homelinux.org_32781: mpd_uncaught_except_tb handling:
  exceptions.TypeError: sequence item 0: expected string, int found
    /usr/local/mpich2/bin/mpdlib.py  733  handle_ring_listener_connection
        newsock.correctChallengeResponse = \
    /usr/local/mpich2/bin/mpdlib.py  488  handle_active_streams
        handler(stream,*args)
    /usr/local/mpich2/bin/mpd  266  runmainloop
        rv = self.streamHandler.handle_active_streams(timeout=8.0)
    /usr/local/mpich2/bin/mpd  240  run
        self.runmainloop()
    /usr/local/mpich2/bin/mpd  1344  ?
        mpd.run()

[1]+  Exit 1                  mpd


Regards,
Tiep.

On 4/8/06, Rajeev Thakur <thakur at mcs.anl.gov> wrote:
>
> Try running the mpdcheck troubleshooting utility as described in the
> installer's guide.
>
> Rajeev
>
>  ------------------------------
> *From:* owner-mpich-discuss at mcs.anl.gov [mailto:
> owner-mpich-discuss at mcs.anl.gov] *On Behalf Of *Misora Itsumo
> *Sent:* Friday, April 07, 2006 5:59 PM
> *To:* mpich-discuss at mcs.anl.gov
>
> *Subject:* [MPICH] mpdboot error : fail to ping
>
> Hi
> i'm new to MPICH2 and i just installed mpich2 , but i can't make it run on
> a set of machines.
>
> i run mpich2 on 2 nodes  , hostnames are hewonty and vm1.
> Here are some info
>
> [hewonty at hewonty ~]$ cat mpd.hosts
> hewonty
> vm1
>
> [hewonty at hewonty ~]$ cat /etc/hosts
> 127.0.0.1       localhost.localdomain   localhost
> 192.168.2.2     hewonty.homelinux.org   hewonty.vmnet1.org      hewonty
> 192.168.2.3     vm1.hewonty.homelinux.org       vm1
> 192.168.2.2     svn_server
>
> [hewonty at hewonty ~]$ mpdboot -n 2 -f mpd.hosts
> mpdboot_hewonty (handle_mpd_output 359): failed to ping mpd on hewonty;
> recvd output={}
>
> i can ssh to hewonty or vm1.
>
> I tried to run mannually by mpd and here are what i got
>
> [hewonty at vm1 ~]$ mpd &
> [1] 2056
> [hewonty at vm1 ~]$ mpdtrace -l
> vm1_32772 (192.168.2.3)
>
>
> [hewonty at hewonty ~]$ mpd -h vm1 -p 32772
> hewonty_32846: mpd_uncaught_except_tb handling:
>   exceptions.TypeError: sequence item 0: expected string, int found
>     /usr/local/mpich2/bin/mpdlib.py  627  connect_lhs
>         response = md5new(''.join([self.secretword
> ,msg['randnum']])).digest()
>     /usr/local/mpich2/bin/mpdlib.py  564  enter_ring
>         numTries=ntries)
>     /usr/local/mpich2/bin/mpd  231  run
>         rhsHandler=self.handle_rhs_input)
>     /usr/local/mpich2/bin/mpd  1344  ?
>         mpd.run()
>
> Thanks in advance.
> Tiep
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20060409/26c423cf/attachment.htm>


More information about the mpich-discuss mailing list