Here is the issue - I have a perl script that builds an expect script that spawns an ssh sesion on a number of different servers - after ssh a script is run that builds stuff from dbs.
Here is the issue:
This script runs perfectly about 90% of the time - spawns the session, runs the script and we are all happy campers. Then out of the blue it decides to only run on 2 servers of three. When we kill the master job that does the spawing it again runs on all the servers.
at first thought that it was the timeout deal - so I waited 120 then set it to -1 - no change. I just need to know how to troubleshoot this issue if any one can give me some direction.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello to all,
Here is the issue - I have a perl script that builds an expect script that spawns an ssh sesion on a number of different servers - after ssh a script is run that builds stuff from dbs.
Here is the issue:
This script runs perfectly about 90% of the time - spawns the session, runs the script and we are all happy campers. Then out of the blue it decides to only run on 2 servers of three. When we kill the master job that does the spawing it again runs on all the servers.
the basic script is:
!/usr/bin/expect
set timeout 120
spawn ssh pdfgen@nexvmdev03.nextrials.com
expect "nexvmdev03"
set timeout -1;
send "cd /opt/pdfgen/work/apache/tools/ \r "
expect "nexvmdev03"
send " ./dump_study --project aved005 --queue_id 177 & \r "
expect "nexvmdev03"
send "exit \r"
at first thought that it was the timeout deal - so I waited 120 then set it to -1 - no change. I just need to know how to troubleshoot this issue if any one can give me some direction.
Thanks