LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-22-2004, 01:49 AM   #1
akudewan
Member
 
Registered: Apr 2004
Location: India
Distribution: Ubuntu
Posts: 364

Rep: Reputation: 31
vsftpd error 421: Service not available


I wanted to install an FTP server and I chose vsftpd. I dont have it running as a standalone, but I run it through inetd.

I configured /etc/vsftpd.conf and made sure that ftp ports were open (by guarddog firewall). But whenever I try to ftp my machine, I get this error:

Code:
akudewan@ranjan404:~$ ftp 10.10.19.152
Connected to 10.10.19.152.
421 Service not available, remote server has closed connection
ftp> wtf?
?Invalid command
ftp>
my /etc/vsftpd.conf is as follows:
Code:
anonymous_enable=NO
local_enable=YES
write_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
ftpd_banner=Welcome to Aku's PC
ls_recurse_enable=YES
listen=YES
I did a lot of googleing but I couldnt find out what was wrong, the only thing I got was rtfm. Well, that didnt help either.

Btw..I use slack 10, and /etc/hosts.deny is empty.

Please help
 
Old 08-22-2004, 03:03 AM   #2
akudewan
Member
 
Registered: Apr 2004
Location: India
Distribution: Ubuntu
Posts: 364

Original Poster
Rep: Reputation: 31
I went to an IRC channel, and found that this is a common problem that can be solved when I start vsftpd as a standalone process, I did just that, and its working fine
 
Old 08-22-2004, 01:54 PM   #3
Grave
LQ Newbie
 
Registered: Aug 2004
Posts: 11

Rep: Reputation: 0
service vsftpd open?

check service vstfpd...check command "service vsftd status" or
"nmap -sV -sS localhost"

this is print 21.ftp open ....good luck.
 
Old 11-14-2004, 07:36 PM   #4
tito_carnivora
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Rep: Reputation: 0
421 Service not available, remote server has closed connection

I have the problem with my laptop wich runs under SuSE 9.1 Proffessional
My desktop pich runns with the same sistem works just fine!

the both systems have the same software and do not run any firewalls like iptabels or the internal suse firewall

when I try to connect i am getting

DOM:/etc/xinetd.d # ftp 192.168.0.2
Connected to 192.168.0.2.
220 (vsFTPd 1.2.1)
Name (192.168.0.2:root): anonymous
331 Please specify the password.
Password:
230 Login successful.
ftp> dir
421 Service not available, remote server has closed connection.
ftp> ls
Segmentation fault
DOM:/etc/xinetd.d #

Example config file /etc/vsftpd.conf

local_enable=YES
anonymous_enable=YES
#listen=YES


cat /etc/xinetd.d/vsftpd

service ftp
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/vsftpd
# server_args =
# log_on_success += DURATION USERID
# log_on_failure += USERID
# nice = 10
}


the service is running under xinetd
netstat -apn|less
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 12776/xinetd

in my /etc/ftpusers there in no entry for anonymous so it is ok!

the thing that I do not unterstand in this hole situation is that my desktop with the same OS and software is running vsftpd and my laptop not!

I have tryed to run vsftpd in standalone mode with setting
listen = NO


but the shit do not work !
I am desperately and hopelessly looking for help
 
  


Reply

Tags
check



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd: 421 Data timeout. Reconnect. Sorry ealpert1 Linux - Networking 4 12-22-2010 06:28 AM
Debian Pure-ftpd dpkg report 421 service error icry0000 Linux - Software 0 04-18-2005 05:44 AM
421 Service not available error, ProFTPd (SuSE 9.1) neocookie Linux - Software 0 10-19-2004 11:41 AM
421 Service not available, remote server has closed connection dwarf007 Linux - Networking 1 10-09-2004 07:00 AM
error 421 with proftpd zhoubo2004 Linux - Networking 1 01-25-2004 10:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration