Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
421 Service not available.
i have checked the server to which i want to connect by ftp vsftpd service is running there...
si can you please tell me what should i do?... i am using RHEL4.0
thank you for your suggestion.. i have done all the changes that you have told. but same error comes.. can u tell me what should i do now?...
Yes.
Post the contents of: /var/log/vsftpd/vsftpd.log
Then, describe how you have "Checked the service is running", and tell me how you are connecting to it. Ie, which ftp program are you using?, have you tried disabling firewalls?, have you checked on another machine?, what is the output of: /var/log/messages when the error occurs?
Think about the problem, and what you would need to diagnose it without being able to touch or see it physically, it would help me to help you.
Yes,
Is the ftp server running?
>ps aux | grep -v grep | grep vsftpd
Variation on this theme are:
is ftp server started automatically:
>/sbin/chkconfig --list | grep ^vsftpd
Is the ftp server configured properly?
There is a lot that can go wrong here but...check
userlist_enable=, userlist_deny=, tcp_wrappers=, anonymous_enable=,
Is the ftp server setup to allow ftp services?
Check Firewall/routing settings
>/sbin/iptables -L
>cat /etc/hosts /etc/hosts.deny /etc/hosts.allow
If you are running FedoraCore/RedHat then as root:
>system-config-securitylevel
make sure the ftp service is enabled.
also, check the output of the vsftpd log file for clues:
>cat /var/log/vsftpd.log
>cat /var/log/messages
>cat /var/log/secure
Now you are getting out on your own.
The log files give lots of clues as to what goes right and what goes wrong.
The /var/log directory is like a newspaper of you system.
Scan it for interesting tidbits about your box, you will be surprised at what you find in these log files, harddisk errors, mis-configured software, security breaches; I know I am finding new interesting bits of info in the /var/log directory.
I know this is not an answer but it is a "teach you to fish" routine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.