PDA

查看完整版本 : [問題]vsftpd的啟動問題(已解決)


coca
2004-12-04, 03:13
我下指令vi /etc/xinetd.d/vsftpd ,內容為
service ftp
{
socket_type = stream
wait = no
user = root
server = /usr/local/sbin/vsftpd
log_on_success += DURATION USERID
log_on_failure += USERID
nice = 10
disable = no
}
然後/etc/rc.d/init.d/xinetd start
用ftp連線卻發生
500 OOPS: could not bind listening IPv4 socket
錯誤訊息

Google找到的資料還是不能解決><
http://www.fedoraforum.org/forum/archive/index.php/t-17228.html
http://www.fedoraforum.org/forum/showthread.php?t=18451

coca
2004-12-04, 03:44
實驗多次以後終於找到解決方法,原來將/etc/vsftpd/vsftpd.conf裡頭的listen改
為no就非得要用/etc/rc.d/init.d/xinetd來啟動不可,而原先的設定是yes是可以
獨立啟動。熬夜一晚為了這個小問題...= ="

參考:
http://phorum.vbird.org/viewtopic.php?t=15644