打印

[vsftpd] vsftpd安装有问题,求解--!

vsftpd安装有问题,求解--!

./vsftpd.sh


/lib/libcap.so.1: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** [vsftpd] Error 1
./vsftpd.sh: line 56: /usr/local/sbin/vsftpd: No such file or directory
setsebool:  SELinux is disabled.
Saving firewall rules to /etc/sysconfig/iptables: [  OK  ]
Flushing firewall rules: [  OK  ]
Setting chains to policy ACCEPT: filter [  OK  ]
Unloading iptables modules: [  OK  ]
Applying iptables firewall rules: [  OK  ]
Loading additional iptables modules: ip_conntrack_netbios_ns [  OK  ]
useradd: warning: the home directory already exists.
Not copying any file from skel directory into it.

TOP

vsftp有错吗

[root@jt lnmp0.7-full]# ./vsftpd.sh
=========================================================================
Vsftpd for LNMP V0.7  ,  Written by Licess
=========================================================================
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
This script is a tool to install VSftp for LNMP
For more information please visit http://www.lnmp.org/
=========================================================================

Press any key to start install VSftpd...
--2011-05-12 16:58:34--  http://soft.vpser.net/ftp/vsftpd/vsftpd-2.2.2.tar.gz
Resolving soft.vpser.net... 96.44.153.111
Connecting to soft.vpser.net|96.44.153.111|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable
    The file is already fully retrieved; nothing to do.
download vsftpd package completed!
installing vsftpd 2.2.2.......
useradd: user nobody exists
mkdir: cannot create directory `/usr/local/man/man8': File exists
mkdir: cannot create directory `/usr/local/man/man5': File exists
make: `vsftpd' is up to date.
if [ -x /usr/local/sbin ]; then \
                install -m 755 vsftpd /usr/local/sbin/vsftpd; \
        else \
                install -m 755 vsftpd /usr/sbin/vsftpd; fi
if [ -x /usr/local/man ]; then \
                install -m 644 vsftpd.8 /usr/local/man/man8/vsftpd.8; \
                install -m 644 vsftpd.conf.5 /usr/local/man/man5/vsftpd.conf.5; \
        elif [ -x /usr/share/man ]; then \
                install -m 644 vsftpd.8 /usr/share/man/man8/vsftpd.8; \
                install -m 644 vsftpd.conf.5 /usr/share/man/man5/vsftpd.conf.5; \
        else \
                install -m 644 vsftpd.8 /usr/man/man8/vsftpd.8; \
                install -m 644 vsftpd.conf.5 /usr/man/man5/vsftpd.conf.5; fi
if [ -x /etc/xinetd.d ]; then \
                install -m 644 xinetd.d/vsftpd /etc/xinetd.d/vsftpd; fi
mkdir: cannot create directory `/etc/vsftpd': File exists
mkdir: cannot create directory `/var/ftp': File exists
setsebool:  SELinux is disabled.
Saving firewall rules to /etc/sysconfig/iptables: [  OK  ]
Flushing firewall rules: [  OK  ]
Setting chains to policy ACCEPT: filter [  OK  ]
Unloading iptables modules: [  OK  ]
Applying iptables firewall rules: [  OK  ]
Loading additional iptables modules: ip_conntrack_netbios_ns [  OK  ]
useradd: user adminftp exists

TOP

[root@jt lnmp0.7-full]# find / -name vsftpd
/usr/share/logwatch/scripts/services/vsftpd
/usr/local/src/lnmp0.7-full/vsftpd-2.2.2/xinetd.d/vsftpd
/usr/local/src/lnmp0.7-full/vsftpd-2.2.2/vsftpd
/usr/local/sbin/vsftpd
/etc/xinetd.d/vsftpd
/etc/vsftpd

TOP

[root@jt lnmp0.7-full]# /usr/local/sbin/vsftpd start
500 OOPS: cannot read config file: start

TOP

安装过程没问题,启动直接/usr/local/sbin/vsftpd 就行。

vsftpd问题比较多,建议使用pureftpd

TOP

./vsftpd.sh 是个神马脚本?自动安装vsftpd的?
感觉还是自己安装比较合适,配置文件又不复杂,指令基本上都是自解释的

TOP