Operating System - HP-UX
1820475 Members
3194 Online
109624 Solutions
New Discussion юеВ

FTP 421 Failed to create data connection socket

 
Mark Montoya
New Member

FTP 421 Failed to create data connection socket

We have recently converted from the HP3000 to the HP9000. We ftp reports to a our local server. We constantly are receiving this 421 error message using a script and manually ftp'ing the file. This hardly ever happen from the HP3000. What is the fix?
6 REPLIES 6
Sandman!
Honored Contributor

Re: FTP 421 Failed to create data connection socket

Do this error happen only when you automate ftp?? What about when you manually ftp the file over i.e. interactively at a terminal??
Mark Montoya
New Member

Re: FTP 421 Failed to create data connection socket

It happens no matter how we do it. What do you think about updating the ftp server software on our destination server?
Tim Nelson
Honored Contributor

Re: FTP 421 Failed to create data connection socket

Troubleshoot:

FTP server running ?

Messages in syslog.log

Test local ftp back to itself

Firewalls in play ?

turn on debug in FTP ?


Sandman!
Honored Contributor

Re: FTP 421 Failed to create data connection socket

Try the ftp again by supplying the "-c" option to it:

interactively
# ftp -c hostname

batch-mode
# ftp -n -c hostname
Mark Montoya
New Member

Re: FTP 421 Failed to create data connection socket

Interesting!

In the script it had -vin, and we added the c to it. Everything is fine. We will not know the true out come until a day of overnight processing. Can you clarify the -vinc for me.

Thank you!

Mark -
Mark Montoya
New Member

Re: FTP 421 Failed to create data connection socket

We added the -c and we are still receiving the same problems.

Should we add a -b and with a buffer size or should we update the ftp server software?

Thanks for all your help!