감사합니다~ 확인해보니까 아래처럼 되어있더라구요.
Jul 21 16:17:32 localhost proftpd[18464]: localhost - Failed binding to 0.0.0.0, port 21: Address already in use
21번 포트가 이미 사용되고 있다는건데...
telnet localhost 21 해보니까
Connection refused 가 안나오고
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
이렇게 나오는걸로 봐서 사용되고 있긴한것 같은데
어디서 뭐하는데 사용되고 있는지 어떻게 알수있을까요?
: 로그를 확인하세요.
: /var/log/messages
: 원인이 나올겁니다.
:
:
: : proftpd restart 를 해주면
: : shutdown 은 [FAILED] 라고 나오고
: : start 는 [OK] 라고 나옵니다
: : 그거 한담에 또 restart 하면 shutdown 이 [OK] 로 나와야할텐데
: : 역시나 [FAILED] 라고 나오고 또 start 는 [OK] 라고 나오네요
: :
: : 글고 start 가 [OK] 로 나온담에 ftp 접속을 할려고하면 접속이 안되고요
: : 뭣땜에 안되는건지 로그같은게 있을텐데 그런건 어디서보나요?
: :
: : 아래는 제가 한거 그대로 복사합겁니다.
: :
: : [root@localhost root]# /etc/rc.d/init.d/proftpd restart
: : Shutting down proftpd: [FAILED]
: : Starting proftpd: [ OK ]
: : [root@localhost root]# /etc/rc.d/init.d/proftpd restart
: : Shutting down proftpd: [FAILED]
: : Starting proftpd: [ OK ]
: : [root@localhost root]# /etc/rc.d/init.d/proftpd restart
: : Shutting down proftpd: [FAILED]
: : Starting proftpd: [ OK ]
: : [root@localhost root]# ftp localhost
: : Connected to localhost (127.0.0.1).
: : 421 Service not available, remote server has closed connection
: : ftp> quit
: : [root@localhost root]# /etc/rc.d/init.d/proftpd restart
: : Shutting down proftpd: [FAILED]
: : Starting proftpd: [ OK ]
: : [root@localhost root]# /etc/rc.d/init.d/proftpd restart
: : Shutting down proftpd: [FAILED]
: : Starting proftpd: [ OK ]
: : [root@localhost root]#
:
: --
: F/ R/ E/ E/ 4/ U/