vsftpd 安装错误
mkdir: cannot create directory `/usr/local/man/man8': File existsmkdir: 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:
Flushing firewall rules:
Setting chains to policy ACCEPT: mangle filter nat
Unloading iptables modules:
Applying iptables firewall rules:
useradd: user adminftp exists
执行./vsftp.sh 后,用top看不到vsftpd,而且没有任何反应。
求助,解啊? 安装Pure-FTPd 后还是不行。
# ./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
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 purefptd没报错 top 看不到 purefptd 啊 cat: /var/run/pure-ftpd.pid: No such file or directory
回复 3# 的帖子
purefptd 启动不了啊cat: /var/run/pure-ftpd.pid: No such file or directory service xinetd stop
/root/pureftpd restart
可以,暂时启动。
但是如何一劳永逸根本解决呢?请指教 如果vps重启后,还是不行 你是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 。
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
页:
[1]