proftpd 错误解决

Posted 2 months, 1 week ago at 9:19 am. 0 comments

ftp 经常连接不上,需要 sudo /etc/init.d/proftpd restart,但显示错误信息

- warning: unable to determine IP address of ‘btwww’
- error: no valid servers configured
- Fatal: error processing configuration file ‘/etc/proftpd/proftpd.conf’

一直以为 warning 和 Fatal 是两回事,但其实就是因为 /etc/hosts 文件中曾经修改过 btwww 的ip(后来注释掉了) ,sudo vim /etc/hosts 加入手工 dns 之后,一切正常。

Popularity: 12% [?]

Tags:

ad 468x60