VPS侦探论坛

 找回密码
 注册
查看: 3668|回复: 1

LNMP1.3下的Pureftpd安装后,启动失败

[复制链接]
发表于 2016-8-4 18:06:38 | 显示全部楼层 |阅读模式

最新状态:有事外出2个小时后回来,未做任何操作,FTP自行正常连接了!!何解啊!!






LNMP1.3下的Pureftpd安装后,启动失败

$ /etc/init.d/pureftpd start


Starting Pure-FTPd... Running: /usr/local/pureftpd/sbin/pure-ftpd --daemonize -A -c50 -B -C10 -D -E -fftp -H -I15 -lpuredb:/usr/local/pureftpd/etc/pureftpd.pdb -lunix -L2000:8 -m4 -p20000:30000 -s -U133:022 -u100 -g/var/run/pure-ftpd.pid -k99 -Z


$ /etc/init.d/pureftpd status
Pure-FTPd is not running.




端口号
$ vi /usr/local/pureftpd/etc/pure-ftpd.conf


PassivePortRange          20000 30000

执行了如下命令:

$ iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 20000:30000 -j ACCEPT
$ iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 20 -j ACCEPT
$ iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 21 -j ACCEPT

保存:
$ iptables-save > /etc/sysconfig/iptables
$ iptables -L
$ service iptables restart

重启 lnmp restart 之后,发现Pureftpd还是无法启动





[ 本帖最后由 haibor 于 2016-8-4 19:43 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-8-5 09:16:31 | 显示全部楼层


启动信息都是正常的

status不一定完全反应运行状态,这个只是靠判断pid文件实现的
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-29 03:29 , Processed in 0.025507 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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