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

proftp 오류가 나옵니다 .. 맨날 난 말썽만 ㅠㅠ

작성자 정보

  • 박세우 작성
  • 작성일

컨텐츠 정보

본문

root@localhost ~]# cd /usr/local/proftpd/sbin/proftpd
-bash: cd: /usr/local/proftpd/sbin/proftpd: 디렉토리가 아닙니다
[root@localhost ~]# /usr/local/proftpd/sbin/proftpd
 - IPv4 getaddrinfo 'localhost.sewoo' error: Name or service not known
 - warning: unable to determine IP address of 'localhost.sewoo'
 - error: no valid servers configured
 - Fatal: error processing configuration file '/usr/local/proftpd/etc/proftpd.conf'

위의 에러가 나옵니다. 음 제가 스스로 한번 노력은 해보겠지만..

혹시 답변을 달아주시면 하다하다 안대면 참고하려고 해요 ㅠㅠ 어떤이유일까요?

밑에는 proftpd.conf 파일입니다.

# 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                      "sewoo ProFtp server good ^^/"
ServerType                      standalone

###2006 09-18 modify sewoo gaham Start###
#ServerType                     inetd

### 2006 09-18 modify sewoo gaham End###

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 under which the server will run.
User                            nobody
Group                           nogroup

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~/

# Normally, we want files to be overwriteable.
AllowOverwrite          on

# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
  DenyAll
</Limit>

# A basic anonymous configuration, no upload directories.  If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<Anonymous ~ftp>
  User                          ftp
  Group                         ftp

  # We want clients to be able to login with "anonymous" as well as "ftp"
  UserAlias                     anonymous ftp

  # Limit the maximum number of anonymous logins
  MaxClients                    10

  # We want 'welcome.msg' displayed at login, and '.message' displayed
  # in each newly chdired directory.
  DisplayLogin                  welcome.msg
  DisplayFirstChdir             .message

  # Limit WRITE everywhere in the anonymous chroot
  <Limit WRITE>
    DenyAll
  </Limit>
</Anonymous>
"/usr/local/proftpd/etc/proftpd.conf" 63L, 1882C

관련자료

댓글 1

박세우님의 댓글

  • 박세우
  • 작성일
핫 해결했습니다. 읽어주신분들중에 검색도 안해보나.. 하셨을분들 많았을거 같네요

^^;; 근데 혹 호스트 네임을 변경하면 왜 안대는지 이유좀 알려주시면 감사드리겠

습니다. 결과는 많은데 이유가 몬지... 어떤구조인지 궁금해서요 ㅡㅠ

관심을 가져주시면 감사드려요 ^^/

공지사항


뉴스광장


  • 현재 회원수 :  60,088 명
  • 현재 강좌수 :  36,051 개
  • 현재 접속자 :  227 명