回文章列表
作者ficecmiraror.bbs@ptt.cc (秘密ID) 看板: linux
標題Re: [問題] PROFTPD的問題
時間批踢踢實業 (2008/10/03 Fri 09:40:19)
※ 引述《nsc89 (繼續....)》之銘言:
: 基本上建議你先說明你的OS環境
: 你可以先看看log file是否有錯誤或是其它message
這個我不知要在那裡看@@~

: 再來是Firewall問題, check 是否有 阻擋
: iptables -L
我查出來的結果:

Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

: 另外有時候SELinux會造成使用上許多困擾, 除非你很熟
: 否則先關閉它
這個我不知要怎麼關@@~
網路上查到都RH或FEDORA版的~
但我是用UBUNTU
: 另外你先觀察你的Daemon是否真的有在Run
: ps -aux | grep ftp
應該是有在跑@@~
因為出現這二行
1001      5201  0.0  0.1   2888   608 ?        Ss   09:03   0:00 proftpd:
(accepting connections)
1000      6159  0.0  0.1   3008   760 pts/0    R+   09:33   0:00 grep ftp

: 再觀察你的port status
: netstat -an
: 希望對你有所幫助
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 0.0.0.0:631             0.0.0.0:*               LISTEN
tcp        0      0 140.123.102.201:48451   140.112.172.11:23
ESTABLISHED
tcp        0      0 140.123.102.201:48726   209.85.143.19:80        TIME_WAIT
tcp        0      0 140.123.102.201:58874   209.85.143.83:80
ESTABLISHED
tcp6       0      0 :::5900                 :::*                    LISTEN
tcp6       0      0 :::21                   :::*                    LISTEN
tcp6       0      0 :::631                  :::*                    LISTEN
udp        0      0 0.0.0.0:46806           0.0.0.0:*
udp        0      0 0.0.0.0:5353            0.0.0.0:*
udp        0      0 0.0.0.0:631             0.0.0.0:*

最下面還有一行
Active UNIX domain sockets (servers and established)
但在裡頭我沒有找到FTP的@@~

煩請教一下小弟@@~

--
※ 發信站: 批踢踢實業坊(ptt.cc) 
◆ From: 140.123.102.201
文章選讀←離開[主題上]主題下(k)上篇(j)下篇S/a搜尋 G串列 TAB精華 ↑↓捲 Pg/Space翻