[root@localhost c]# systemctl status vsftpd.service ● vsftpd.service - Vsftpd ftp daemon Loaded: loaded (/usr/lib/systemd/system/vsftpd.service; disabled; vendor preset: disabled) Active: active (running) since Tue 2017-05-09 08:52:20 CST; 21min ago Process: 3150 ExecStart=/usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf (code=exited, status=0/SUCCESS) Main PID: 3151 (vsftpd) CGroup: /system.slice/vsftpd.service └─3151 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf May 09 08:52:20 localhost.localdomain systemd[1]: Starting Vsftpd ftp daemon... May 09 08:52:20 localhost.localdomain systemd[1]: Started Vsftpd ftp daemon.
以上问题请手动杀死一下vsftp的进程就可以启动了
查找进程号
ps -aux | grep vsftp
产生如下:
root 3549 0.0 0.0 112648 968 pts/0 R+ 09:15 0:00 grep --color=auto vsftp
杀死进程
kill 3549
重启服务
/bin/systemctl restart vsftpd.service
完工