[zhew@iZ28x2617h0Z ~]$ sudo service vsftpd restart
[sudo] password for zhew:
Shutting down vsftpd: [FAILED]
Starting vsftpd for vsftpd: [FAILED]
//服务拉不起来是怎么回事?
[zhew@iZ28x2617h0Z ~]$ service vsftpd status
//确认状态是停止
vsftpd is stopped
[zhew@iZ28x2617h0Z ~]$ sudo service vsftpd start
Starting vsftpd for vsftpd: [FAILED]
[zhew@iZ28x2617h0Z ~]$ rpm -q vsftpd
vsftpd-2.2.2-24.el6.x86_64
[zhew@iZ28x2617h0Z ~]$ grep NETWORKING /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
[zhew@iZ28x2617h0Z ~]$ ls -l /usr/sbin/vsftpd
-rwxr-xr-x 1 root root 167536 Mar 22 20:14 /usr/sbin/vsftpd
[zhew@iZ28x2617h0Z ~]$ ls -ld /etc/vsftpd
drwxr-xr-x 2 root root 4096 Apr 21 01:53 /etc/vsftpd
[zhew@iZ28x2617h0Z ~]$ ls -l /etc/vsftpd
total 20
-rw------- 1 root root 125 Mar 22 20:14 ftpusers
-rw------- 1 root root 361 Mar 22 20:14 user_list
-rw------- 1 root root 4599 Mar 22 20:14 vsftpd.conf
-rwxr--r-- 1 root root 338 Mar 22 20:14 vsftpd_conf_migrate.sh
[zhew@iZ28x2617h0Z ~]$ netstat -anp | grep :21
(No info could be read for "-p": geteuid()=1001 but you should be root.)
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN -
[zhew@iZ28x2617h0Z ~]$ chkconfig --list | grep ftp
pureftpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
vsftpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
[zhew@iZ28x2617h0Z ~]$ service pureftpd status
pure-ftpd (pid 1760) is running...
装了半天的vsftpd才发现pureftpd装过了
网友评论