From confusion to surprise-first contact with vsftp

Source: Internet
Author: User
From confusion to surprise-first contact with vsftp-Linux Enterprise Application-Linux server application information, the following is a detailed description. 1. Confusion

I plan to practice vsftp, according to the introduction of various posts:
# Service vsftpd start
Starting vsftpd for vsftpd: [OK]

Haha, it seems very simple. Try it:
# Ftp 127.0.0.1
Ftp: connect: Connection refused
Strange, rejected!

What's going on? Try again:
# Service vsftpd restart
Shutting down vsftpd: [FAILED]
Starting vsftpd for vsftpd: [OK]

Is my vsftp not started at all? Methods of soil:
#/Usr/sbin/vsftpd
500 OOPS: vsftpd: not configured for standalone, must be started from inetd

It seems that the problem is here. Check it:
# Netstat-na -- ip
Port 21 is not enabled at all

It is said that the default disable in/etc/xinetd. d/vsftp is changed from yes to no. But I will check that there is no vsftp file in/etc/xinetd. d.


2. Surprise
It seems that xinet makes my vsftp unable to work. I am a stupid person and will only use the stupid method:
# Pgrep xinet
Xinet 1729

Okay, let's look at it:
# Killed 1729

Again:
# Service vsftpd start

First check:
# Netstat-na -- ip
Hey, port 21 is on!

Test it first:
# Ftp 127.0.0.1
Normal!

3 confused

On the second day, I found that my vsftp can be used, but xinet is still alive. Why not conflict now?

[ This post was last edited by lazyhaha at, September 25 ,.]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.