VPS侦探论坛

 找回密码
 注册
查看: 9993|回复: 12

vsftpd 安装不知道什么原因失败。

[复制链接]
发表于 2011-4-22 22:43:24 | 显示全部楼层 |阅读模式

vsftpd 安装中断 ,附上安装日志。尝试链接失败


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-4-22 22:45:07 | 显示全部楼层


[root@server lnmp0.6-full]# ./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) [application/octet-stream]
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 [185562/185562]

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:          [  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_n[  OK  ]
useradd: warning: the home directory already exists.
Not copying any file from skel directory into it.
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2011-4-23 02:13:44 | 显示全部楼层

我也出现这种信息,这个是属于没有安装好吗?现在flashfxP软件登入不了啊?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2011-4-23 10:10:46 | 显示全部楼层

回复 3# 的帖子




安装过程没有错误提示
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2011-4-23 11:45:22 | 显示全部楼层

原帖由 licess 于 2011-4-23 10:10 发表
安装过程没有错误提示

我新建了账号和ftp密码,但是使用flashfxp软件无法连接ip地址,是什么原因啊,用winscp软件就能直接登入?

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

 楼主| 发表于 2011-4-23 12:49:35 | 显示全部楼层

winscp 我没有试过 , 我用的是 flashfxp  也是 链接 失败。
 楼主| 发表于 2011-4-23 13:01:50 | 显示全部楼层

奇怪, 系统显示 vsftpd 在运行 。  

安装lnmp前把防火墙关闭了, 启动的服务只有:

atd
crond
irqbalance
microcode_ctl
network
sendmail
sshd
syslog

严格按照 下面的执行的,也用 passwd 更改了adminftp 的密码

4、安装VsFTPD,执行如下命令:./vsftpd.sh 就会自动安装上vsftpd,只需要执行命令:useradd -d /home/wwwroot -s /sbin/nologin adminftp 添加上帐号指定好ftp帐号的根目录,再执行:passwd adminftp 设置上密码,登录就可以了。





现在查询 的情况:
[root@server ~]# 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         1  0.0  0.0   2160   668 ?        Ss   17:34   0:01 init [3]
root         2  0.0  0.0      0     0 ?        S<   17:34   0:00 [migration/0]
root         3  0.0  0.0      0     0 ?        SN   17:34   0:00 [ksoftirqd/0]
root         4  0.0  0.0      0     0 ?        S<   17:34   0:00 [events/0]
root         5  0.0  0.0      0     0 ?        S<   17:34   0:00 [khelper]
root         6  0.0  0.0      0     0 ?        S<   17:34   0:00 [kthread]
root         9  0.0  0.0      0     0 ?        S<   17:34   0:00 [kblockd/0]
root        10  0.0  0.0      0     0 ?        S<   17:34   0:00 [kacpid]
root       174  0.0  0.0      0     0 ?        S<   17:34   0:00 [cqueue/0]
root       177  0.0  0.0      0     0 ?        S<   17:34   0:00 [khubd]
root       179  0.0  0.0      0     0 ?        S<   17:34   0:00 [kseriod]
root       242  0.0  0.0      0     0 ?        S    17:34   0:00 [khungtaskd]
root       243  0.0  0.0      0     0 ?        S    17:34   0:00 [pdflush]
root       244  0.0  0.0      0     0 ?        S    17:34   0:00 [pdflush]
root       245  0.0  0.0      0     0 ?        S<   17:34   0:00 [kswapd0]
root       246  0.0  0.0      0     0 ?        S<   17:34   0:00 [aio/0]
root       465  0.0  0.0      0     0 ?        S<   17:34   0:00 [kpsmoused]
root       499  0.0  0.0      0     0 ?        S<   17:34   0:00 [mpt_poll_0]
root       500  0.0  0.0      0     0 ?        S<   17:34   0:00 [mpt/0]
root       501  0.0  0.0      0     0 ?        S<   17:34   0:00 [scsi_eh_0]
root       504  0.0  0.0      0     0 ?        S<   17:34   0:00 [ata/0]
root       505  0.0  0.0      0     0 ?        S<   17:34   0:00 [ata_aux]
root       512  0.0  0.0      0     0 ?        S<   17:34   0:00 [kstriped]
root       521  0.0  0.0      0     0 ?        S<   17:35   0:00 [kjournald]
root       546  0.0  0.0      0     0 ?        S<   17:35   0:00 [kauditd]
root       579  0.0  0.0   2392   712 ?        S<s  17:35   0:00 /sbin/udevd -d
root      1451  0.0  0.0      0     0 ?        S<   17:35   0:00 [kgameportd]
root      1848  0.0  0.0      0     0 ?        S<   17:35   0:00 [kmpathd/0]
root      1849  0.0  0.0      0     0 ?        S<   17:35   0:00 [kmpath_handle]
root      1870  0.0  0.0      0     0 ?        S<   17:35   0:00 [kjournald]
root      2186  0.0  0.0   1816   620 ?        Ss   17:35   0:00 syslogd -m 0
root      2189  0.0  0.0   1764   404 ?        Ss   17:35   0:00 klogd -x
root      2221  0.0  0.1   7204  1064 ?        Ss   17:35   0:00 /usr/sbin/sshd
root      2235  0.0  0.1   4628  1284 ?        S    17:35   0:00 /bin/sh /usr/lo
mysql     2338  0.0  0.8  40056  9164 ?        Sl   17:35   0:02 /usr/local/mysq
root      2376  0.0  0.1   9344  1680 ?        Ss   17:35   0:00 sendmail: accep
smmsp     2386  0.0  0.1   8260  1496 ?        Ss   17:35   0:00 sendmail: Queue
root      2400  0.0  0.1   5384  1104 ?        Ss   17:35   0:00 crond
root      2413  0.0  0.0   2360   444 ?        Ss   17:35   0:00 /usr/sbin/atd
root      2420  0.0  0.4  25572  4168 ?        Ss   17:35   0:00 /usr/local/php/
www       2421  0.0  1.1  28116 11824 ?        S    17:35   0:04 /usr/local/php/
www       2422  0.0  1.2  29728 12868 ?        S    17:35   0:03 /usr/local/php/
www       2424  0.0  1.3  30500 13764 ?        S    17:35   0:03 /usr/local/php/
www       2425  0.0  1.1  28696 12216 ?        S    17:35   0:03 /usr/local/php/
www       2426  0.0  1.2  29196 12696 ?        S    17:35   0:03 /usr/local/php/
root      2427  0.0  0.0   5848   688 ?        Ss   17:35   0:00 nginx: master p
www       2428  0.0  1.1  16116 11504 ?        S    17:35   0:02 nginx: worker p
root      2429  0.0  0.0   2216   576 ?        S    17:35   0:00 /usr/local/sbin
root      2431  0.0  0.0   1748   464 tty1     Ss+  17:35   0:00 /sbin/mingetty
root      2432  0.0  0.0   1748   472 tty2     Ss+  17:35   0:00 /sbin/mingetty
root      2433  0.0  0.0   1748   472 tty3     Ss+  17:35   0:00 /sbin/mingetty
root      2434  0.0  0.0   1748   472 tty4     Ss+  17:35   0:00 /sbin/mingetty
root      2435  0.0  0.0   1748   468 tty5     Ss+  17:35   0:00 /sbin/mingetty
root      2436  0.0  0.0   1748   468 tty6     Ss+  17:35   0:00 /sbin/mingetty
root      2995  0.1  0.2  10056  2940 ?        Ss   20:53   0:00 sshd: root@pts/
root      2999  0.0  0.1   4876  1488 pts/0    Ss   20:53   0:00 -bash
root      3029  0.0  0.0   4352   940 pts/0    R+   20:54   0:00 ps -aux


flashfxp软件 就是等不上.
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2011-4-23 13:29:25 | 显示全部楼层

我的flashfxp显示无法连接,你的呢?
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2011-4-23 13:40:36 | 显示全部楼层


我的 也是   ,Vsftpd 正在 运行 。但就是不能登入  。

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

发表于 2011-4-24 03:30:10 | 显示全部楼层



原帖由 红星 于 2011-4-23 13:40 发表
我的 也是   ,Vsftpd 正在 运行 。但就是不能登入  。


兄弟,解决问题了吗?
发表于 2011-4-24 08:44:48 | 显示全部楼层

回复 10# 的帖子


用pureftpd吧
发表于 2011-4-24 13:07:48 | 显示全部楼层

原帖由 licess 于 2011-4-24 08:44 发表
用pureftpd吧
需要把之前的vsftpd删除吗?如何删除啊?
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2011-4-24 13:21:36 | 显示全部楼层

回复 12# 的帖子

kill vsftpd进程ID
rm /usr/sbin/vsftpd
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-20 08:10 , Processed in 0.030151 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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