RedHat 8.0 下 proftpd的问题。

由 xlwcat 在 10-05-2002 16:22 发表:

RedHat 8.0 下 proftpd的问题。

在Redhat8.0下装proftpd_1.2.6,每次服务启动完后,登陆的时候总是显示:500 FTP server shut down (going down at Sat Oct 5 15:59:31 2002) -- please try again later. 这是怎么回事啊?!

我的配置文件(最简单的)如下:

This is a basic ProFTPD configuration file (rename it to

'proftpd.conf' for actual use. It establishes a single server

and a single anonymous login. It assumes that you have a user/group

"nobody" and "ftp" for normal operation and anon.

ServerName "ProFTPD Default Installation"

ServerType standalone

DefaultServer on

Port 21 is the standard FTP port.

Port 21

Umask 022 is a good standard umask to prevent new dirs and files

from being group and world writable.

Umask 022

To prevent DoS attacks, set the maximum number of child processes

to 30. If you need to allow more than 30 concurrent connections

at once, simply increase this value. Note that this ONLY works

in standalone mode, in inetd mode you should use an inetd server

that allows you to limit maximum number of processes per service

(such as xinetd)

MaxInstances 30

Set the user and group that the server normally runs at.

User nobody

Group nobody

RequireValidShell off

Normally, we want files to be overwriteable.

1<directory *="">   
2  
3AllowOverwrite on   
4  
5</directory>

A basic anonymous configuration, no upload directories.

 1<anonymous ftp="" tmp="">   
 2  
 3User ftp   
 4  
 5Group ftp   
 6  
 7# We want clients to be able to login with "anonymous" as well as "ftp"   
 8  
 9UserAlias anonymous ftp   
10  
11  
12  
13# Limit the maximum number of anonymous logins   
14  
15MaxClients 10   
16  
17  
18  
19# We want 'welcome.msg' displayed at login, and '.message' displayed   
20  
21# in each newly chdired directory.   
22  
23DisplayLogin welcome.msg   
24  
25DisplayFirstChdir .message   
26  
27  
28  
29# Limit WRITE everywhere in the anonymous chroot   
30  
31<limit write="">   
32  
33DenyAll   
34  
35</limit>
36</anonymous>

由 jeffwu 在 10-05-2002 17:41 发表:


检查一下,系统中是不是有 nobody 用户,nobody 组,

正确设置一下 User Group 两个指令应该就没问题了。

建议你仔细阅读一下安装指南。


------------------------------------------------------

http://www.openfamp.com/

QQ:6249612


由 xlwcat 在 10-05-2002

Published At
Categories with 服务器类
comments powered by Disqus