[오회근]님이 남기신 글:
>안녕하세요..
>
>요즘 정말 죽을맛입니다.
>
>벌써 일주일째 삽질하고 있습니다.
>정말 별짓을 다해봤습니다. ㅠㅠ
>
>리눅스는 파아란 7.1 을 쓰고있구여
>ProFTPD Version 1.2.1 를 쓰고 있습니다.
>ProFTP는 StandAlone로 돌리구 있습니다.
>
>다름이 아니라 대략 1초에 70번 이상 이미지를 전송을 하고 있습니다. 커넥션
>은 20~30개 정도를 유지하고 있구여..
>
>처음에 설치할때는 잘되는데 1~2주정도 지난후에는 파일을 못보내더라구여..
>글서 테스트를 해보았는데 다음과 같이 나옴니다
>
>ftp 192.168.1.10
>.
>.
>.
>ftp> mput at.deny? y
>200 PORT command successful.
>150 Opening BINARY mode data connection for at.deny.
>421 Service not available,closing control connection.
>ftp>
>ftp> ls
>Not connected.
>ftp>
>
>이렇게요.. ㅠㅠ
>FTP를 다시깔구 멀 해봐도 똑같습니다.
>다만 localhost로 테스트해볼때는 에러메세지는 같지만 커넥션이 끊어지지는
>않네요..
>부탁드립니다. 꼭 좀 알려주세요
>
>설정파일을 밑에 써드리겠습니다. 정말 부탁드립니다. ㅠㅠ
>
># ProFTPD configuration file. Need more information of configuration,
># See the References in '/usr/share/doc/proftpd-core-{version}/'
>directory
># If u have any question, visit our Web Site. http://www.wowlinux.com
># or http://proftpd.oops.org
># Thank you - WOWLINUX.COM
>
>ServerName "Proftpd FTP Server"
>ServerType standalone
>DefaultServer on
>Port 21
>Umask 022
>#MaxInstances 300
>User nobody
>Group nobody
>UseReverseDNS off
>IdentLookups off
>AuthPAMAuthoritative off
>RootLogin off
>DenyFilter \*.*/
>DeferWelcome off
>TimesGMT off
>UseReverseDNS off
>IdentLookups off
>
>#RateReadBPS 256
>#RateReadFreeBytes 5120
>#RateReadHardBPS on
>
>TimeoutIdle 0
>TimeoutNoTransfer 0
>TimeoutLogin 300
>
>DisplayLogin /etc/proftpd/conf/welcome.msg
>DisplayFirstChdir .message
>
><Directory /*>
> AllowOverwrite on
></Directory>
>
><Anonymous ~ftp>
> User ftp
> Group ftp
> UserAlias anonymous ftp
> MaxClients 10 "Sorry, maxium users %m -- try again
>later"
> MaxClientsPerHost 2 "Sorry, Over 2 connection not allow"
> DisplayLogin welcome.msg
> DisplayFirstChdir .message
> RequireValidShell off
>
># HideUser root
># HideGroup root
>
># Anonymous's Uploads Directory
> <Directory incoming/*>
> AllowOverwrite on
> AllowRetrieveRestart on
> AllowStoreRestart on
> <Limit DELE RMD>
> DenyAll
> </Limit>
> <Limit READ STOR MDK>
> AllowAll
> </Limit>
> </Directory>
>
># Anonymous's Public Directory
> <Directory pub/*>
> <Limit READ>
> AllowAll
> </Limit>
> <Limit STOR DELE RMD MKD>
> DenyAll
> </Limit>
> </Directory>
>
></Anonymous>
========================================
TimeoutLogin 600
TimeoutNoTransfer 600
TimeoutIdle 600
TimeoutStalled 600
이렇게 4개의 지시자에 동일하게 설정해 보세요..
http://www.linuxchannel.net/book/bookfaq-proftpd-timeout.txt
참고로 위의 문서에 있는 내용인것 같군요...
혹 이외의 문제라면 좀더 숙고해 볼만한 문제가 되겠군요.. |