[MPICH] mpdboot error : fail to ping
Ralph Butler
rbutler at mtsu.edu
Sat Apr 8 17:58:44 CDT 2006
This seems to be a new bug. I do not want to ask your secretword,
but will guess that it is an integer. If so,
please make it a non-integer. It's OK to have digits in there, but
not to have the secretword be all digits.
Let me know if this fixes the problem and I will fix it in mpd for
the next release.
Thanks.
--ralph
On Apr 8, 2006, at 1:31 PM, Misora Itsumo wrote:
> 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
>
More information about the mpich-discuss
mailing list