- 论坛徽章:
- 0
|
安装中碰到了一些问题,向大家请教一下。
1.安装proftpd,基本按照《FreeBSD网站平台建设全过程》,但是如果用他的proftpd.conf就会出现以下错误。
#./proftpd -n -d 5 -c /usr/local/proftpd/etc/proftpd.conf
.
.
.
.
ent.com.cn - deleting existing scoreboard '/usr/local/proftpd/var/proftpd/proftpd.scoreboard'
ent.com.cn - Failed binding to 0.0.0.0, port 21: Address already in useent.com.cn - Check the ServerType directive to ensure you are configured correctly.
2.用自己的proftpd.conf,出现了不能登陆的现象:
- ServerName "Welcome to FTP Server"
- ServerType standalone
- DefaultServer on
- PidFile /usr/local/proftpd/var/proftpd/proftpd.pid
- UseReverseDNS off
- port 9708
- TimeoutIdle 0
- TimeoutLogin 50
- TimeoutNoTransfer 0
- Umask 000
- MaxInstances 300
- <Directory />;
- AllowOverwrite on
- AllowRetrieveRestart on
- AllowStoreRestart on
- </Directory>;
- <Global>;
- AllowForeignAddress on
- DefaultTransferMode binary
- DisplayFirstChdir /usr/local/proftpd/etc/.message
- DisplayLogin /usr/local/proftpd/etc/welcome
- HiddenStor off
- IdentLookups off
- MaxLoginAttempts 1
- ServerIdent on "Welcome To FTP Server...."
- RequireValidShell off
- TimesGMT off
- User nobody
- Group nobody
- ServerLog /var/log/proftpd.log
- file:/usr/local/proftpd/etc/anonymous.allow file:/usr/local/proftpd/etc/anonymous.den
- WtmpLog off
- </Global>;
- <Anonymous /data/ftp/>;
- User ftp
- Group ftpusers
- <Limit LOGIN>;
- AllowAll
- </Limit>;
- </Anonymous>;
复制代码
出错情况是:
- #/usr/local/etc# ftp localhost 9708
- Connected to localhost.
- 220 Welcome To FTP Server....
- Name (localhost:fly): fly
- 421 Service not available, remote server has closed connection.
- ftp: Login failed.
- ftp: No control connection for command.
- ftp>;
复制代码
在问完name后就直接close了。
请大大们指教一下。谢谢! |
|