Author |
Message
|
WBISurvivor |
Posted: Thu Aug 03, 2006 10:39 am Post subject: FTP problems - FTP Server Input node |
|
|
Novice
Joined: 22 May 2006 Posts: 17
|
I am using a FTP server input node and I am running into an issue (421 Service not available, remote server has closed connection) where the server is not letting me FTP files. Have anyone of you familiar with the issue?
This is what happens when I try to FTP:
$ ftp localhost 7000
Connected to localhost.localdomain.
220 Welcome to WMQI FTP Server
Supported commands are USER PWD CDWD and STOR
500 'AUTH' not supported
KERBEROS_V4 rejected as an authentication type
Name (localhost:xyz):
331 Enter password for 'xyz' to set userid/password attributes in message localenvironment.
Password:
230 user xyz and password stored for message properties.
ftp> put test.txt
local: test.txt remote: test.txt
500 'PASV' not supported
Passive mode refused. Turning off passive mode.
421 Service not available, remote server has closed connection
ftp>
Any help is truly appreiated. Thanks. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Aug 03, 2006 10:50 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
This is likely a firewall issue. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
WBISurvivor |
Posted: Thu Aug 03, 2006 10:54 am Post subject: |
|
|
Novice
Joined: 22 May 2006 Posts: 17
|
jefflowrey wrote: |
This is likely a firewall issue. |
I was able to ftp files earlier but now suddenly I am running into this issue for the last couple of days. I am pretty sure there is no firewall issue involved as I am trying to locally FTP the files. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Aug 03, 2006 11:27 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Your FTP client is trying to use PASV mode. It can't, because the Input node doesn't support it.
It then tries to use a regular FTP transfer, and fails. Regular FTP transfers only fail like this when the data port can't be opened. (port 21 is the control port).
The data port usually can't be opened because of a firewall issue preventing an incoming port connection.
Normal FTP transfers have the FTP Server open a connection back to the client for the data channel. PASV transfers have the client open the connection first, and pass the port number of that connection to server and then the server opens the data channel.
If a normal FTP transfer fails, it is usually because the server can't open a port on the client address. This is usually a firewall problem. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
WBISurvivor |
Posted: Thu Aug 03, 2006 12:16 pm Post subject: |
|
|
Novice
Joined: 22 May 2006 Posts: 17
|
jefflowrey wrote: |
Your FTP client is trying to use PASV mode. It can't, because the Input node doesn't support it.
It then tries to use a regular FTP transfer, and fails. Regular FTP transfers only fail like this when the data port can't be opened. (port 21 is the control port).
The data port usually can't be opened because of a firewall issue preventing an incoming port connection.
Normal FTP transfers have the FTP Server open a connection back to the client for the data channel. PASV transfers have the client open the connection first, and pass the port number of that connection to server and then the server opens the data channel.
If a normal FTP transfer fails, it is usually because the server can't open a port on the client address. This is usually a firewall problem. |
I restarted the broker and the config manager and now there is no issues regarding FTP-ing. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Aug 03, 2006 1:21 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Restarting the configmgr should have had no effect at all.
Restarting the broker may have fixed the problem, because the FTP Server node may have gotten fouled up with too many stale connections or something. A netstat would have been interesting to see. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|