This used to be working but after my very adventurous fiasco (deleting
perl5, installing perl6, deleting perl6, installing perl5 - yes i deleted
not uninstalled), it's not working anymore. I'm running perl5 on NT.
I'm getting the above error when my perl script runs a batch (master.bat)
that in turn runs a batch (slave.bat) that runs another perl script. The
process kicks me out
----------------------------------------------------------------------------
------
Script goes like this:
open(CFGFILE, "ReStart_one.cfg"));
open(MASTERBAT, ">Master.bat");
$mcname = <CFGFILE>;
while ($mcname ne "")
{
chomp($mcname);
printf MASTERBAT ("Start slave.bat $mcname\n");
printf MASTERBAT ("wait 5\n");
NEXTMC:$mcname = <CFGFILE>;
}
close MASTERBAT;
printf `master.bat`;
----------------------------------------------------------------------------
----
Master.bat has these lines:
Start slave.bat CHITMD03
wait 5
Start slave.bat CHITMD19
wait 5
Start slave.bat CHITMP03
wait 5
----------------------------------------------------------------------------
-----
Slave.bat calls a perl script that stops and starts certain services on the
server.
----------------------------------------------------------------------------
----
The whole process runs fine if I only have one machine listed in cfg. It
dies and kicks me out right before master.bat when I have more than one
machine in cfg. Any clues? Btw, I removed some lines to simplify script (I
may have chopped it too much!)...
tia..
Susan