vsFTPd 2.3.5 버전에서 ftp 오류 발생

상태:에 연결…
상태: 연결 수립, 환영 메시지를 기다림…
응답: 220 (vsFTPd 2.3.5)
명령: USER root
응답: 331 Please specify the password.
명령: PASS *******
응답: 530 Login incorrect.
오류: 치명적 오류
오류: 서버에 연결하지 못함

sudo apt-get remove --purge vsftpd
후 다시 설치

sudo apt-get install vsftpd

# ——————————————————————————
# SETUP FTP USERS ————————————————————–
# ——————————————————————————

# create the ftp users and lock them to the website directories
useradd -d /srv/www/[website/appname] -m [ftp user name]

# set the ftp account passwords
passwd [ftp user name]

# add the ftp users to the www-data user/group
adduser [ftp user name] www-data

# BUG FIX: 500 OOPS: vsftpd: refusing to run with writable root inside chroot()
sudo add-apt-repository ppa:thefrontiergroup/vsftpd
sudo apt-get update
sudo apt-get install vsftpd

# if sudo add-apt-repository command not found ubuntu
sudo apt-get install software-properties-common python-software-properties

# Edit the vsftpd.conf and append this setting to the end of the file to keep users’ jailed!
nano /etc/vsftpd.conf

# add all of the text between the starting [[ and ending ]]
# Keep non-chroot listed users jailed

# restart the service for changes to take effect
sudo service vsftpd restart

#test ftp via secondary terminal window:
ftp [ftp user name]@[server ipaddress] [ftp port]


1. Go to /etc/apt and post exactly what you have there. In terminal:


2. Make sure, if you do have a sources.list, back it up:


This should return an error if you truly don’t have a sources.list.

3. If this returns an error, try using one of the backup or savefiles. Open each to see if one (or both) match the distribution you are using (Hardy or Intrepid probably), then:




depending on which one is the one you wish/need to use.

If you have any problems or questions during this process, please, post back here before continuing.

4. When you are satisfied your sources.list is restored:


Good luck! Keep us updated.


~# sudo apt-get remove vsftpd
패키지 목록을 읽는 중입니다… 완료
의존성 트리를 만드는 중입니다
상태 정보를 읽는 중입니다… 완료
다음 패키지를 지울 것입니다:
0개 업그레이드, 0개 새로 설치, 1개 제거 및 61개 업그레이드 안 함.
1개를 완전히 설치하지 못했거나 지움.
이 작업 후 361 k바이트의 디스크 공간이 비워집니다.
계속 하시겠습니까? [Y/n] y
(데이터베이스 읽는중 …현재 99720개의 파일과 디렉터리가 설치되어 있습니다.)
Removing vsftpd (3.0.2-1ubuntu2.14.04.1) …
invoke-rc.d: dangling symlink: /etc/rc2.d/S20vsftpd
dpkg: error processing package vsftpd (–remove):
설치한 pre-removal 스크립트 하위 프로세스가 오류 102번을 리턴했습니다
invoke-rc.d: dangling symlink: /etc/rc2.d/S20vsftpd
dpkg: 정리하는 중에 오류가 발생했습니다:
설치한 post-installation 스크립트 하위 프로세스가 오류 102번을 리턴했습니다
처리하는데 오류가 발생했습니다:
E: Sub-process /usr/bin/dpkg returned an error code (1)

Seems like Rudi (a colleague) helped me solve the problem, here are the steps.

– got inside this folder by: $ cd /etc/rc2.d/
– and checked all the links, particularly to see the link between K09samba and samba by: $ ls -al (this is what we found S20vsftpd -> /vsftpd)
– then removed K09samba by: $ sudo rm S20vsftpd
– then removed samba by: $ sudo apt-get remove -f vsftpd
– we then did this: sudo apt-get -f install (might not do anything)
– the install samba: $sudo apt-get install vsftpd
– and created the soft link: $ sudo ln -s ../init.d/vsftpd S20vsftpd
Then everything worked. We followed the same procedure in rc3.d strating changing the directory.
Edit/Delete Message

I had the same problem here but doing:


and then reinstalling sorted it out. Must have been something in my vsftpd conf.

p.s. builtbylane the process shown in your comment is the “grep” command itself not the vsftpd daemon.