질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

proftpd 재시작시 에러

작성자 정보

  • 리눅스사랑 작성
  • 작성일

컨텐츠 정보

본문

ftp서버가 안되어서 셀상태에서 재시작했더니 다음같은 에러가 나는군요.

rpm으로 설치되어 있구요.

/etc/proftpd/proftpd.conf 파일은 별이상 없는것 같은데...

무슨 문제인지를 모르겠네요...

답변좀 부탁드립니다.

에러내용 :  proftpd:  - Fatal: DefaultRoot: directive not allowed in context

proftpd.conf 파일 내용

ServerName                              "Proftpd FTP Server"
ServerType                              standalone
# ServerType                            inetd
DefaultServer                   on
Port                                    21
Umask                                   022
MaxInstances                    30
User                                    nobody
Group                                   nobody
UseReverseDNS                   off
IdentLookups                    off
AuthPAMAuthoritative    on
RootLogin                               off
DenyFilter                              *.*/
DeferWelcome                    on
TimesGMT                                off
DefaultRoot                     ~

AllowOverwrite          on
AllowRetrieveRestart    on
AllowStoreRestart       on

# RateReadBPS                   256
# RateReadFreeBytes             5120
# RateReadHardBPS               on

TimeoutIdle                             0
TimeoutNoTransfer               0
TimeoutLogin                    300

MaxClientsPerHost               2       "Only one client is allowed to connect"

DisplayLogin                    /etc/proftpd/welcome.msg
DisplayFirstChdir               .message

<Directory /*>
  AllowOverwrite                on
  DefaultRoot                   ~ !wheel
</Directory>

 

관련자료

댓글 3

돌뺑님의 댓글

  • 돌뺑
  • 작성일
혹시 .. <Anonymous> 지시자 안에 DefaultRoot지시자를 쓰셨나요... ??

초보리눅서님의 댓글

  • 초보리눅서
  • 작성일
conf 파일에서  DefaultRoot 부분을 주석처리 하세요!! 서비스재시작요!!!1

리눅스사랑님의 댓글

  • 리눅스사랑
  • 작성일
해결했습니다. 초보리눅서님 말대로 제가 DefaultRoot 부분을 중복으로 올려서 그러네요. 한군데를 주석처리 하니깐 되는군요. 감사합니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,138 명
  • 현재 강좌수 :  36,196 개
  • 현재 접속자 :  791 명