看板 Linux 關於我們 聯絡資訊
※ 引述《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.xxx.xxx:48451 140.112.172.11:23 ESTABLISHED tcp 0 0 140.123.xxx.xxx:48726 209.85.143.19:80 TIME_WAIT tcp 0 0 140.123.xxx.xxx: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
joexx12:非常建議你去看一下鳥哥網站 基礎東西有些要先知道 10/03 09:53
ficecmiraror:我有去鳥哥網站看過了~但只有看PROFTPD的那篇@@~ 10/03 10:19
joexx12:基礎的東西沒弄清楚直接跳著學會有問題 所以建議弄懂先 10/03 18:47
ficecmiraror:好@@~謝謝 10/03 19:35
※ 編輯: ficecmiraror 來自: 220.129.161.7 (10/03 19:36)