http://www.perlmonks.org?node_id=1058185

Vineeth has asked for the wisdom of the Perl Monks concerning the following question:

Hi all, I have 1000+ network element(node), i used to take backup of all the node through Perl script called Back_up.pl. But since last two month i am getting error "426 Data connection error Unable to close datastream at /back_up.pl line 288 Wed Jul 31 01:19:47 2013 FTP Connection has failed Wed Jul 31 01:19:47 2013 Closing the Connections" Please help me in this regard. Many thanks Please help me i have tried everything.

Replies are listed 'Best First'.
Re: 426 Data connection error Unable to close datastream
by ww (Archbishop) on Oct 14, 2013 at 14:21 UTC
    So, pray tell us if there was a firewall change or other net modification o/a "two month" ago? It's unlikely that Perl, per se, is responsible, and our Monastery-wide psi-system for checking your code is out of service.

    Please note, also, that your node looks as though you didn't bother to read On asking for help, How do I post a question effectively?, or I know what I mean. Why don't you?. You might find them helpful in terms of posting your SOPW.

    If I've misconstrued your question or the logic needed to answer it, my apologies to all those electrons which were inconvenienced by the creation of this post.
      Many thanks for your reply.

        So the 2 nodes that fail, can you connect to them from the system where you run this script using the same protocol from the command line (not from your perl script)? Has anything changed on these 2 nodes? Has the network changed? If this once worked and now does not it's likely that something has changed. Your job is to debug the problem to find out why this is no longer working for 2 out of 1000 nodes. Please read and understand Debugging and Optimization, Basic debugging checklist and How do I post a question effectively?.

        Update: Slight rewording.