Re: 421 service not avaiable

Jeremy Kitchen <[email protected]> Mon, 12 Dec 2005 09:45:02 -0800
Newsgroups gmane.network.pureftpd.user
Organization scriptkitchen.com
Message-ID <[email protected]>
On Sunday 11 December 2005 14:57, DervishD wrote:
>     Another idea that is crossing my mind: the client maybe is trying
> to use passive mode and the server may have passive mode disabled.
> Does your client fall back to active mode if passive mode doesn't
> work?

passive mode is required to be supported by the server by the RFC.

Also, PASV/PORT negotiation is done before a data connection is required, not 
during login:
> kitchen@tranquility ~ $ telnet localhost 21
> 220 You will be disconnected after 15 minutes of inactivity.
> PASV
> 530 You aren't logged in


doing a quick grep on pure-ftpd's source code I don't see '421 Service not 
available' or even 'Service not available'.  Are you sure this is the real 
error pure-ftpd sent to you or perhaps it was 'translated' (think: IE 
'friendly' HTTP error messages) by your ftp client.

Try using telnet or netcat to connect to your ftp server and attempt login.  
Authentication is pretty simple.  Use the 'user' command followed by the 
username to specify the username, and the 'pass' command followed by the 
password to specify the password.  Post the results to the list.

-Jeremy
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQBDnbcjyBTJv0gb9+IRAi0yAKCqVsjcuBhPitQxt7Fl+LCi5cCQCwCfRQcf
MjXmqlnwPKJJrFcOQ4Lha94=
=TkAr
-----END PGP SIGNATURE-----