寻觅生命中的那一片浅草......

每日存档 四月 27th, 2009

proftpd启动失败

服务器重启后,proftpd没有起来,service proftpd start报“proftpd启动失败”,但没有详细信息
cd /var/log/proftpd,tail了下面的日志,也没有关于不能启动的信息
幸好上网搜索到可以直接输入proftpd来测试启动。这样运行就有报错信息:
[root@test ~]# proftpd
– warning: the DisplayFirstChdir directive is deprecated and will be removed in a future release.  Please use the DisplayChdir directive.
– processing configuration directory ‘/etc/proftpd/ispcp’
– warning: unable to determine IP address of ‘test.test.com’
– error: no valid servers configured
– Fatal: error processing configuration file ‘/etc/proftpd.conf’

既然不能解析到test.test.com,就修改/etc/hosts啦!
vi /etc/hosts
192.168.100.100 test.test.com test

保存退出后就OK了,service proftpd start可以成功启动。
几个查看FTP状态的命令:
ftpcount
ftpwho
ftptop
ftpdctl

2009年四月
« 3月   5月 »
 12345
6789101112
13141516171819
20212223242526
27282930