Hello,
Recently I tried to install pdsh for using pdcp. I have 4 remote machines. I need to use one of them to issue pdcp
command so that a file can be sent parallaly to other 3 remote machine. The machines I am using are
a part of a grid,say named as comgrid. suppose the names of the machines are:
machine#1: oriental
machine#2: asper
machine#3: looper
machine#4: normandy
so those are identified as suffixed "
comgrid.ac" with there name.
username: mindfreak
oriental is used as the root site(here 'root' means the pc from where I am going to send a file to remote host parallaly.i.e issue:pdcp command).
I downloaded, pdsh-2.26.tar.bz2 in one of them and scp that to all others, then untar it using tar -jvxf pdsh-2.26.tar.bz2, in their: /home/mindfreak/ directory.
The steps I followed to install pdsh:
--------------------------------------------------
1.I configured all the 4 machines for passwordless access from 'Oriental'-the root(by copying public keys of root to them and vice-versa).
2. In the Oriental, I issued following command(inside the pdsh-2.26 directory) ./configure --with-ssh --prefix=/home/mindfreak/local, then 'make',then 'make install', I repeated the same process in other hosts [ where I have also the same file structure under home/mindfreak,as I said earlier].
The problems that occured:
----------------------------------------
1. When I issued pdcp command (i.e:"../local/bin/pdcp -w mind...@asper.comgrid.ac,looper.comgrid.ac test.txt /home/mindfreak/Test_Data") from Oriental,to send same files to the remote machines(i.e:asper and looper),it returned,"rcmd socket: permission denied" error.
2. Then I tried the same command using -R ssh like this:"../local/bin/pdcp -R ssh -w mind...@asper.comgrid.ac,looper.comgrid.ac test.txt /home/mindfreak/Test_Data" from the Test_Data folder of root. It returned the following error:"looper: bash: /global/home/mindfreak/Test_Data/../local/bin/pdcp: No such file or directory pdcp@seawolf2: looper: ssh exited with exit code 127 asper: bash: /global/home/mindfreak/Test_Data/../local/bin/pdcp: No such file or directory pdcp@seawolf2: asper: ssh exited with exit code 127".
NB: I dont have permission to any of the machine's /local/usr/bin and /etc so I had to install it in my own path: /home/mindfreak/local.
I will be very grateful if anyone helps me finding out and solve the possible problem.
Thanks,
MiNdFrEaK