免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1203 | 回复: 1
打印 上一主题 下一主题

Could not determine the server's FQDN [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-02-28 10:08 |只看该作者 |倒序浏览
[root@mail mail]# service httpd start
启动 httpd:httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
                                                          [失败]


/etc/httpd/conf/httpd.conf中有关ServerName的部分

NameVirtualHost 192.168.16.68:80
<VirtualHost 192.168.16.68:80>
    ServerAdmin webmaster@mail.cdfun.net
    DocumentRoot /var/www/html/mail
    ServerName mail.cdfun.net.
    ErrorLog logs/mail.cdfun.net-error_log
    CustomLog logs/mail.cdfun.net-access_log common
</VirtualHost>


每次登陆root用户,老是报错(如图)!

请教:应该如果修改httpd.conf???

PS:网络设置
DNS:192.168.16.67
gateway:192.168.16.1
mail:192.168.16.68

DNS工作正常!
[root@mail conf]# host dns.cdfun.net
dns.cdfun.net has address 192.168.16.67
[root@mail conf]# host mail.cdfun.net
mail.cdfun.net has address 192.168.16.68
[root@mail conf]# host gateway.cdfun.net.
gateway.cdfun.net has address 192.168.16.1


[ 本帖最后由 xy-coordinate 于 2006-2-28 10:13 编辑 ]

gnome_err.JPG (40.84 KB, 下载次数: 9)

gnome_err.JPG

论坛徽章:
0
2 [报告]
发表于 2006-02-28 11:05 |只看该作者
在mail(192.168.16.68)上可以发送邮件,但是如果在DNS(192.168.16.67)上发送邮件却接收不到???

192.168.16.68:
[root@mail etc]# mail xjy@mail.cdfun.net
Subject: xxxxxx
xxxxxxxxx
.
Cc: x


[root@mail mail]# vi /etc/spool/mail/xjy
From root@mail.cdfun.net.16.168.192.in-addr.arpa  Tue Feb 28 10:57:55 2006
Return-Path: <root@mail.cdfun.net.16.168.192.in-addr.arpa>
Received: from mail.cdfun.net.16.168.192.in-addr.arpa (localhost.localdomain [127.0.0.1])
        by mail.cdfun.net.16.168.192.in-addr.arpa (8.12.8/8.12.8 ) with ESMTP id k1S2vsi2002164;
        Tue, 28 Feb 2006 10:57:54 +0800
Received: (from root@localhost)
        by mail.cdfun.net.16.168.192.in-addr.arpa (8.12.8/8.12.8/Submit) id k1S2vs8o002162;
        Tue, 28 Feb 2006 10:57:54 +0800
Date: Tue, 28 Feb 2006 10:57:54 +0800
From: root <root@mail.cdfun.net.16.168.192.in-addr.arpa>
Message-Id: <200602280257.k1S2vs8o002162@mail.cdfun.net.16.168.192.in-addr.arpa>
To: xjy@mail.cdfun.net
Subject: xxxxxx
Cc: x@mail.cdfun.net.16.168.192.in-addr.arpa
xxxxxxxxx


[root@mail mail]# su - xjy
[xjy@mail yinyan]$ mail
Mail version 8.1 6/6/93.  Type ? for help.
"/var/spool/mail/xjy": 1 messages 1 new
>N  1 root@mail.cdfun.net.  Tue Feb 28 10:58  18/779   "xxxxxx"
&

[ 本帖最后由 xy-coordinate 于 2006-2-28 11:47 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP