VPS侦探论坛

 找回密码
 注册
查看: 9996|回复: 5

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

[复制链接]
发表于 2011-5-12 16:00:06 | 显示全部楼层 |阅读模式

./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.
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-5-12 17:16:35 | 显示全部楼层

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
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2011-5-12 17:17:17 | 显示全部楼层

[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
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-5-12 17:17:43 | 显示全部楼层



[root@jt lnmp0.7-full]# /usr/local/sbin/vsftpd start
500 OOPS: cannot read config file: start
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2011-5-12 18:03:19 | 显示全部楼层

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

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

军哥运维代购:http://shop63846532.taobao.com/

发表于 2011-7-11 17:26:31 | 显示全部楼层

./vsftpd.sh 是个神马脚本?自动安装vsftpd的?
感觉还是自己安装比较合适,配置文件又不复杂,指令基本上都是自解释的
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-5-18 16:47 , Processed in 0.027678 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表