Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: remsh using perl script

by roboticus (Canon)
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

RajNaidu:

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.

...roboticus

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


Comment on Re^3: remsh using perl script
Download Code
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 ?

      RajNaidu:

      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.

      ...roboticus

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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2014-08-28 10:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (259 votes), past polls