vsftpd 安装不知道什么原因失败。
vsftpd 安装中断 ,附上安装日志。尝试链接失败# ./vsftpd.sh | tee vsftpd.log
=========================================================================
Vsftpd for LNMP V0.6,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-04-23 06:34: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... 200 OK
Length: 185562 (181K)
Saving to: `vsftpd-2.2.2.tar.gz'
100%[======================================>] 185,562 61.8K/s in 2.9s
2011-04-23 06:34:39 (61.8 KB/s) - `vsftpd-2.2.2.tar.gz' saved
download vsftpd package completed!
installing vsftpd 2.2.2.......
useradd: user nobody exists
gcc -c main.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c utility.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c prelogin.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c ftpcmdio.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c postlogin.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c privsock.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c tunables.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c ftpdataio.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c secbuf.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c ls.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c postprivparent.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c logging.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c str.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c netstr.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c sysstr.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c strlist.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c banner.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c filestr.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c parseconf.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c secutil.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c ascii.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c oneprocess.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c twoprocess.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c privops.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c standalone.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c hash.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c tcpwrap.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c ipaddrparse.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c access.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c features.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c readwrite.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c opts.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c ssl.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c sslslave.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c ptracesandbox.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c ftppolicy.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c sysutil.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c sysdeputil.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -o vsftpd main.o utility.o prelogin.o ftpcmdio.o postlogin.o privsock.o tunables.o ftpdataio.o secbuf.o ls.o postprivparent.o logging.o str.o netstr.o sysstr.o strlist.o banner.o filestr.o parseconf.o secutil.o ascii.o oneprocess.o twoprocess.o privops.o standalone.o hash.o tcpwrap.o ipaddrparse.o access.o features.o readwrite.o opts.o ssl.o sslslave.o ptracesandbox.o ftppolicy.o sysutil.o sysdeputil.o -Wl,-s `./vsf_findlibs.sh`
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
setsebool:SELinux is disabled.
Saving firewall rules to /etc/sysconfig/iptables:
Flushing firewall rules:
Setting chains to policy ACCEPT: filter
Unloading iptables modules:
Applying iptables firewall rules:
Loading additional iptables modules: ip_conntrack_netbios_n
useradd: warning: the home directory already exists.
Not copying any file from skel directory into it. 我也出现这种信息,这个是属于没有安装好吗?现在flashfxP软件登入不了啊?
回复 3# 的帖子
安装过程没有错误提示 原帖由 licess 于 2011-4-23 10:10 发表 https://bbs.vpser.net/images/common/back.gif安装过程没有错误提示
我新建了账号和ftp密码,但是使用flashfxp软件无法连接ip地址,是什么原因啊,用winscp软件就能直接登入? winscp 我没有试过 , 我用的是 flashfxp也是 链接 失败。 奇怪, 系统显示 vsftpd 在运行 。
安装lnmp前把防火墙关闭了, 启动的服务只有:
atdcrondirqbalancemicrocode_ctlnetworksendmailsshdsyslog
严格按照 下面的执行的,也用 passwd 更改了adminftp 的密码 :
4、安装VsFTPD,执行如下命令:./vsftpd.sh 就会自动安装上vsftpd,只需要执行命令:useradd -d /home/wwwroot -s /sbin/nologin adminftp 添加上帐号指定好ftp帐号的根目录,再执行:passwd adminftp 设置上密码,登录就可以了。
现在查询 的情况:
# ps -aux
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 10.00.0 2160 668 ? Ss 17:34 0:01 init
root 20.00.0 0 0 ? S< 17:34 0:00
root 30.00.0 0 0 ? SN 17:34 0:00
root 40.00.0 0 0 ? S< 17:34 0:00
root 50.00.0 0 0 ? S< 17:34 0:00
root 60.00.0 0 0 ? S< 17:34 0:00
root 90.00.0 0 0 ? S< 17:34 0:00
root 100.00.0 0 0 ? S< 17:34 0:00
root 1740.00.0 0 0 ? S< 17:34 0:00
root 1770.00.0 0 0 ? S< 17:34 0:00
root 1790.00.0 0 0 ? S< 17:34 0:00
root 2420.00.0 0 0 ? S 17:34 0:00
root 2430.00.0 0 0 ? S 17:34 0:00
root 2440.00.0 0 0 ? S 17:34 0:00
root 2450.00.0 0 0 ? S< 17:34 0:00
root 2460.00.0 0 0 ? S< 17:34 0:00
root 4650.00.0 0 0 ? S< 17:34 0:00
root 4990.00.0 0 0 ? S< 17:34 0:00
root 5000.00.0 0 0 ? S< 17:34 0:00
root 5010.00.0 0 0 ? S< 17:34 0:00
root 5040.00.0 0 0 ? S< 17:34 0:00
root 5050.00.0 0 0 ? S< 17:34 0:00
root 5120.00.0 0 0 ? S< 17:34 0:00
root 5210.00.0 0 0 ? S< 17:35 0:00
root 5460.00.0 0 0 ? S< 17:35 0:00
root 5790.00.0 2392 712 ? S<s17:35 0:00 /sbin/udevd -d
root 14510.00.0 0 0 ? S< 17:35 0:00
root 18480.00.0 0 0 ? S< 17:35 0:00
root 18490.00.0 0 0 ? S< 17:35 0:00
root 18700.00.0 0 0 ? S< 17:35 0:00
root 21860.00.0 1816 620 ? Ss 17:35 0:00 syslogd -m 0
root 21890.00.0 1764 404 ? Ss 17:35 0:00 klogd -x
root 22210.00.1 72041064 ? Ss 17:35 0:00 /usr/sbin/sshd
root 22350.00.1 46281284 ? S 17:35 0:00 /bin/sh /usr/lo
mysql 23380.00.8400569164 ? Sl 17:35 0:02 /usr/local/mysq
root 23760.00.1 93441680 ? Ss 17:35 0:00 sendmail: accep
smmsp 23860.00.1 82601496 ? Ss 17:35 0:00 sendmail: Queue
root 24000.00.1 53841104 ? Ss 17:35 0:00 crond
root 24130.00.0 2360 444 ? Ss 17:35 0:00 /usr/sbin/atd
root 24200.00.4255724168 ? Ss 17:35 0:00 /usr/local/php/
www 24210.01.128116 11824 ? S 17:35 0:04 /usr/local/php/
www 24220.01.229728 12868 ? S 17:35 0:03 /usr/local/php/
www 24240.01.330500 13764 ? S 17:35 0:03 /usr/local/php/
www 24250.01.128696 12216 ? S 17:35 0:03 /usr/local/php/
www 24260.01.229196 12696 ? S 17:35 0:03 /usr/local/php/
root 24270.00.0 5848 688 ? Ss 17:35 0:00 nginx: master p
www 24280.01.116116 11504 ? S 17:35 0:02 nginx: worker p
root 24290.00.0 2216 576 ? S 17:35 0:00 /usr/local/sbin
root 24310.00.0 1748 464 tty1 Ss+17:35 0:00 /sbin/mingetty
root 24320.00.0 1748 472 tty2 Ss+17:35 0:00 /sbin/mingetty
root 24330.00.0 1748 472 tty3 Ss+17:35 0:00 /sbin/mingetty
root 24340.00.0 1748 472 tty4 Ss+17:35 0:00 /sbin/mingetty
root 24350.00.0 1748 468 tty5 Ss+17:35 0:00 /sbin/mingetty
root 24360.00.0 1748 468 tty6 Ss+17:35 0:00 /sbin/mingetty
root 29950.10.2100562940 ? Ss 20:53 0:00 sshd: root@pts/
root 29990.00.1 48761488 pts/0 Ss 20:53 0:00 -bash
root 30290.00.0 4352 940 pts/0 R+ 20:54 0:00 ps -aux
flashfxp软件 就是等不上. 我的flashfxp显示无法连接,你的呢? 我的 也是 ,Vsftpd 正在 运行 。但就是不能登入。
:funk: :funk: :funk: :funk: :funk: :funk: 原帖由 红星 于 2011-4-23 13:40 发表 https://bbs.vpser.net/images/common/back.gif
我的 也是 ,Vsftpd 正在 运行 。但就是不能登入。
:funk: :funk: :funk: :funk: :funk: :funk:
兄弟,解决问题了吗?
回复 10# 的帖子
用pureftpd吧 原帖由 licess 于 2011-4-24 08:44 发表 https://bbs.vpser.net/images/common/back.gif用pureftpd吧 需要把之前的vsftpd删除吗?如何删除啊?
回复 12# 的帖子
kill vsftpd进程IDrm /usr/sbin/vsftpd
页:
[1]