Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re^3: remsh using perl script

by roboticus (Chancellor)
on Jan 04, 2012 at 13:21 UTC ( #946236=note: print w/ replies, xml ) Need Help??

in reply to Re^2: remsh using perl script
in thread remsh using perl script


If it's doing the same as a shell script, then it's not a perl problem. Solve the problem, and *then* bundle it into a perl script. There are many unix support forums that can help you with that bit.

Having said that, I'd suggest doing something simple in your remsh script to help you find the problem, such as:

set >RajNaidu.test.remsh

Then log into the remote machine and locate the RajNaidu.test.remsh file and check that the directory and environment is what you expect. Then add bits of your script to it and echo your errors to a file to get clues as to what's failing and why.


When your only tool is a hammer, all problems look like your thumb.

Comment on Re^3: remsh using perl script
Download Code
Replies are listed 'Best First'.
Re^4: remsh using perl script
by RajNaidu (Novice) on Jan 06, 2012 at 04:15 UTC

    I tried the above approach did'nt work. Is there any other way I could achieve this ?


      It didn't work? It would be a bit more helpful if you could give more detail than "it doesn't work".

      If you mean that you ran remsh from the command line and it didn't work, then contact your sysadmin to find out why running remsh isn't working for you.

      If you mean that you put the command I gave you into your script and it didn't work, then what happened? Did RajNaidu.test.remsh file get created? If so was it empty? Did an error message show up? Did the remote machine show any failures in its logs? There are many things to check and report on. Do so.


      When your only tool is a hammer, all problems look like your thumb.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://946236]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (18)
As of 2015-11-24 22:56 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (664 votes), past polls