VPS侦探论坛

 找回密码
 注册
查看: 9352|回复: 8

vsftpd 安装错误

[复制链接]
发表于 2011-6-15 21:10:16 | 显示全部楼层 |阅读模式

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: mangle filter nat [  OK  ]
Unloading iptables modules: [  OK  ]
Applying iptables firewall rules: [  OK  ]
useradd: user adminftp exists


执行./vsftp.sh 后,用top看不到vsftpd,而且没有任何反应。
求助,解啊?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-6-15 21:29:07 | 显示全部楼层


安装  Pure-FTPd 后还是不行。

[root@vps5996 ~]# ./pureftpd restart
=========================================================================
Pure-FTPd status Manager 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 Manage status of Pure-FTPd
For more information please visit http://www.lnmp.org

Usage: /root/pureftpd {start|stop|restart|status|who}
=========================================================================
Stopping Pure-FTPd...
cat: /var/run/pure-ftpd.pid: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
Starting Pure-FTPd...
Running: /usr/local/pureftpd/sbin/pure-ftpd --daemonize -A -c50 -B -C5 -D -E -fftp -H -I15 -lmysql:/usr/local/pureftpd/pureftpd-mysql.conf -lunix -L2000:8 -m4 -p20000:30000 -s -U133:022 -u100 -k99 -Z
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2011-6-15 21:45:23 | 显示全部楼层

purefptd没报错
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-6-15 21:55:24 | 显示全部楼层



top 看不到 purefptd 啊
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2011-6-15 21:57:13 | 显示全部楼层

cat: /var/run/pure-ftpd.pid: No such file or directory

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

 楼主| 发表于 2011-6-15 21:59:11 | 显示全部楼层

回复 3# 的帖子


purefptd 启动不了啊
cat: /var/run/pure-ftpd.pid: No such file or directory
 楼主| 发表于 2011-6-15 22:47:53 | 显示全部楼层

service xinetd stop
/root/pureftpd restart

可以,暂时启动。

但是如何一劳永逸根本解决呢?请指教
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-6-15 23:00:36 | 显示全部楼层

如果vps重启后,还是不行
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2011-6-16 08:52:22 | 显示全部楼层

你是restart的,如果之前没启动pureftpd,肯定会提示cat: /var/run/pure-ftpd.pid: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]。

Starting Pure-FTPd...  这个之后的才是启动的信息,上面的是stop的。如果有疑问可以自行阅读源码
Running: /usr/local/pureftpd/sbin/pure-ftpd --daemonize -A -c50 -B -C5 -D -E -fftp -H -I15 -lmysql:/usr/local/pureftpd/pureftpd-mysql.conf -lunix -L2000:8 -m4 -p20000:30000 -s -U133:022 -u100 -k99 -Z
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-20 18:53 , Processed in 0.028396 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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