VPS侦探论坛

 找回密码
 注册
查看: 10355|回复: 10

安装pureftpd后不能启动的问题

[复制链接]
发表于 2010-12-22 09:18:13 | 显示全部楼层 |阅读模式

LNMP一键安装包安装后安装pureftpd完成
但pureftpd不能启动
启动时无提示信息,查看状态未运行
FTP时显示错误500
pureftpd-mysql.conf 文件检查了没发现问题
大家帮忙看一下,非常感谢
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2010-12-22 09:18:55 | 显示全部楼层


[root@vps ~]# /root/pureftpd start
=========================================================================
Pure-FTPd status Manager for LNMP V0.4  ,  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}
=========================================================================
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
[root@vps ~]#
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2010-12-22 09:19:28 | 显示全部楼层

[root@vps ~]# /root/pureftpd status
=========================================================================
Pure-FTPd status Manager for LNMP V0.4  ,  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}
=========================================================================
Pure-FTPd is NOT running.
[root@vps ~]#
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2010-12-22 09:20:58 | 显示全部楼层



进程
[root@vps ~]#
[root@vps ~]# 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   2156   664 ?        Ss   00:20   0:00 init [3]
root      3259  0.0  0.0   2248   548 ?        S<s  00:20   0:00 /sbin/udevd -d
root      5472  0.0  0.0   1812   560 ?        Ss   00:20   0:00 syslogd -m 0
root      5483  0.0  0.1   3712  1492 pts/0    Ss   09:10   0:00 -bash
root      5789  0.0  0.1   7192  1060 ?        Ss   00:20   0:00 /usr/sbin/sshd
root      7477  0.0  0.2  10028  2896 ?        Rs   09:10   0:00 sshd: root@pts/0
root      9685  0.0  0.0   2832   892 ?        Ss   00:20   0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
root      9713  0.0  0.1   3708  1316 ?        S    00:20   0:00 /bin/sh /usr/local/mysql/bin/mysqld_safe --datadir=/usr/local
mysql     9975  0.0  0.8  43012  9256 ?        Sl   00:20   0:03 /usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql --
root     13931  0.0  0.1   9300  1684 ?        Ss   00:20   0:00 sendmail: accepting connections
smmsp    14053  0.0  0.1   8248  1508 ?        Ss   00:20   0:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
root     14162  0.0  0.1   4496  1112 ?        Ss   00:20   0:00 crond
xfs      14330  0.0  0.0   3256   944 ?        Ss   00:20   0:00 xfs -droppriv -daemon
root     15390  0.0  0.0   5676   708 ?        Ss   00:20   0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam -n 2
root     15397  0.0  0.0   5676   440 ?        S    00:20   0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam -n 2
root     17649  0.0  0.0   2532   912 pts/0    R+   09:20   0:00 ps -aux
root     19585  0.0  0.5  24864  5252 ?        Ss   00:20   0:00 /usr/local/php/bin/php-cgi --fpm --fpm-config /usr/local/php/
www      19591  0.0  1.1  26084 11656 ?        S    00:20   0:06 /usr/local/php/bin/php-cgi --fpm --fpm-config /usr/local/php/
www      19593  0.0  1.2  28104 13552 ?        S    00:20   0:06 /usr/local/php/bin/php-cgi --fpm --fpm-config /usr/local/php/
www      19595  0.0  1.4  29112 14916 ?        S    00:20   0:07 /usr/local/php/bin/php-cgi --fpm --fpm-config /usr/local/php/
www      19596  0.0  1.2  27656 13112 ?        S    00:20   0:08 /usr/local/php/bin/php-cgi --fpm --fpm-config /usr/local/php/
www      19597  0.0  1.1  26072 11632 ?        S    00:20   0:08 /usr/local/php/bin/php-cgi --fpm --fpm-config /usr/local/php/
root     20312  0.0  0.0   5804   752 ?        Ss   00:20   0:00 nginx: master process /usr/local/nginx/sbin/nginx
www      20313  0.0  1.1  16296 11768 ?        S    00:20   0:01 nginx: worker process
[root@vps ~]#
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2010-12-22 09:21:53 | 显示全部楼层

以上是相关信息,我新手搞了几天没解决,大家帮帮,谢谢!

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

发表于 2010-12-22 11:27:28 | 显示全部楼层

回复 5# 的帖子


ftp链接错误信息发上来。
 楼主| 发表于 2010-12-22 11:41:25 | 显示全部楼层

FlashFXP 4.0.0 (build 1494) [RC 3]

WinSock 2.0 -- OpenSSL 1.0.0a 1 Jun 2010
[R] 正在连接到 photovps - Copy - Copy -> IP=173.224.216.220 PORT=21
[R] 已连接到 photovps - Copy - Copy
[R] 500 OOPS: could not bind listening IPv4 socket
[R] 连接失败
[R] 正在延迟 120 秒,在此之后将尝试第 1 次重新连接

麻烦看一下,谢谢

另外问一下安装pureftpd第四步时输入FTP地址时需要输:21端口吗,我填端口和不填都试了,还是没好。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2010-12-22 11:46:00 | 显示全部楼层

回复 7# 的帖子


service xinetd stop
再/root/pureftpd restart ,再重新连接试试
21端口
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2010-12-22 14:45:48 | 显示全部楼层

非常感谢,确实是xinetd的问题,停了就好
不过查看状态信息示不对

[root@vps ~]# service xinetd stop
Stopping xinetd:                                           [  OK  ]
[root@vps ~]# /root/pureftpd restart
=========================================================================
Pure-FTPd status Manager for LNMP V0.4  ,  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...
pure-ftpd: no process killed
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
[root@vps ~]# /root/pureftpd status
=========================================================================
Pure-FTPd status Manager for LNMP V0.4  ,  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}
=========================================================================
Pure-FTPd is NOT running.
[root@vps ~]#
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2010-12-22 15:57:53 | 显示全部楼层

回复 9# 的帖子




0.4的状态判断脚本有问题,按https://bbs.vpser.net/thread-1973-1-1.html 这个方法修正。
 楼主| 发表于 2010-12-22 20:52:56 | 显示全部楼层

谢谢,军哥好热心,赞一个
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-8 07:46 , Processed in 0.028384 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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