ahaha 发表于 2010-12-22 09:18:13

安装pureftpd后不能启动的问题

LNMP一键安装包安装后安装pureftpd完成
但pureftpd不能启动
启动时无提示信息,查看状态未运行
FTP时显示错误500
pureftpd-mysql.conf 文件检查了没发现问题
大家帮忙看一下,非常感谢

ahaha 发表于 2010-12-22 09:18:55

# /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
#

ahaha 发表于 2010-12-22 09:19:28

# /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.
#

ahaha 发表于 2010-12-22 09:20:58

进程
#
# 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         10.00.0   2156   664 ?      Ss   00:20   0:00 init
root      32590.00.0   2248   548 ?      S<s00:20   0:00 /sbin/udevd -d
root      54720.00.0   1812   560 ?      Ss   00:20   0:00 syslogd -m 0
root      54830.00.1   37121492 pts/0    Ss   09:10   0:00 -bash
root      57890.00.1   71921060 ?      Ss   00:20   0:00 /usr/sbin/sshd
root      74770.00.2100282896 ?      Rs   09:10   0:00 sshd: root@pts/0
root      96850.00.0   2832   892 ?      Ss   00:20   0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
root      97130.00.1   37081316 ?      S    00:20   0:00 /bin/sh /usr/local/mysql/bin/mysqld_safe --datadir=/usr/local
mysql   99750.00.8430129256 ?      Sl   00:20   0:03 /usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql --
root   139310.00.1   93001684 ?      Ss   00:20   0:00 sendmail: accepting connections
smmsp    140530.00.1   82481508 ?      Ss   00:20   0:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
root   141620.00.1   44961112 ?      Ss   00:20   0:00 crond
xfs      143300.00.0   3256   944 ?      Ss   00:20   0:00 xfs -droppriv -daemon
root   153900.00.0   5676   708 ?      Ss   00:20   0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam -n 2
root   153970.00.0   5676   440 ?      S    00:20   0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam -n 2
root   176490.00.0   2532   912 pts/0    R+   09:20   0:00 ps -aux
root   195850.00.5248645252 ?      Ss   00:20   0:00 /usr/local/php/bin/php-cgi --fpm --fpm-config /usr/local/php/
www      195910.01.126084 11656 ?      S    00:20   0:06 /usr/local/php/bin/php-cgi --fpm --fpm-config /usr/local/php/
www      195930.01.228104 13552 ?      S    00:20   0:06 /usr/local/php/bin/php-cgi --fpm --fpm-config /usr/local/php/
www      195950.01.429112 14916 ?      S    00:20   0:07 /usr/local/php/bin/php-cgi --fpm --fpm-config /usr/local/php/
www      195960.01.227656 13112 ?      S    00:20   0:08 /usr/local/php/bin/php-cgi --fpm --fpm-config /usr/local/php/
www      195970.01.126072 11632 ?      S    00:20   0:08 /usr/local/php/bin/php-cgi --fpm --fpm-config /usr/local/php/
root   203120.00.0   5804   752 ?      Ss   00:20   0:00 nginx: master process /usr/local/nginx/sbin/nginx
www      203130.01.116296 11768 ?      S    00:20   0:01 nginx: worker process
#

ahaha 发表于 2010-12-22 09:21:53

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

licess 发表于 2010-12-22 11:27:28

回复 5# 的帖子

ftp链接错误信息发上来。

ahaha 发表于 2010-12-22 11:41:25

FlashFXP 4.0.0 (build 1494)

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

麻烦看一下,谢谢

另外问一下安装pureftpd第四步时输入FTP地址时需要输:21端口吗,我填端口和不填都试了,还是没好。

licess 发表于 2010-12-22 11:46:00

回复 7# 的帖子

service xinetd stop
再/root/pureftpd restart ,再重新连接试试
21端口

ahaha 发表于 2010-12-22 14:45:48

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

# service xinetd stop
Stopping xinetd:                                          
# /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/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.
#

licess 发表于 2010-12-22 15:57:53

回复 9# 的帖子

0.4的状态判断脚本有问题,按https://bbs.vpser.net/thread-1973-1-1.html 这个方法修正。

ahaha 发表于 2010-12-22 20:52:56

谢谢,军哥好热心,赞一个
页: [1]
查看完整版本: 安装pureftpd后不能启动的问题