Hello everyone, I am not too sure if this is the place to send this question or not, but here it goes anyway:
I have a script that uses the Net::SSH::Perl modules for connecting to a server. I connect and grab all the databases and put them into an array. Latter in the script I run a foreach loop on the array and tar the databases and zip them on disk. But sometimes I get an error with degbugging turned on: Can't connect to "whatever ip address", port 22: Bad file number at /usr/local/lib/perl5/site_perl/5.6.1/Net/SSH/Perl.pm line 206. I think what is happening is that ssh is restarting on the remote server and is killing my script. I was wondering if anyone has come accross this error???? If you did how did you fix it? I think I am going to have to use so sort of if statement to keep trying for a connection?? any ideas?? Thanks for the help.. chad -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]