Chinaunix首页 | 论坛 | 博客
  • 博客访问: 446228
  • 博文数量: 104
  • 博客积分: 3016
  • 博客等级: 中校
  • 技术积分: 1992
  • 用 户 组: 普通用户
  • 注册时间: 2006-04-24 11:37
文章分类

全部博文(104)

文章存档

2009年(44)

2008年(60)

我的朋友

分类:

2009-04-27 09:02:53

服务器重启后,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

阅读(5792) | 评论(0) | 转发(0) |
0

上一篇:yum介绍

下一篇:没有了

给主人留下些什么吧!~~