实验准备.
1.关掉iptables
# service iptables stop
# chkconfig iptables off
*************************************************
# netconfig 配置IP
# ifconfig 看IP地址
# ifdown eth0 关闭网卡
# ifup eth0 开启网卡
2.检查安装必要软件
# rpm -q bind
# rpm -q bind-utils
# rpm -q caching-nameserver
3.根据结果,安装没安装的软件,从安装盘里找出没安装的包,有选择的执行下列步骤:
# rpm -Uvh bind-9*
# rpm -Uvh bind-utils*
# rpm -Uvh caching-nameserver*
4.编辑相应文件.(编辑最好用vi,以下也是)
下面是我配置DNS的实例:
所需配置文件:
/etc/named.conf 系统自带,需要配置 说明:DNS主配置文件,定义了域数据库信息的基本参数和 源点,该文件可以存放在本地或远程的服务器上。
/etc/resolv.conf 系统自带,需要配置 说明:指定域名服务器的IP和搜索顺序。
/var/named/hutek.com.zone 系统没有,自已创建 说明:正向解析配置文件,即实现域名到IP的对应。
/var/named/10.12.3.1.zone 系统没有,自已创建 说明:DNS反向解析配置文件,即实现IP地址很域名的映射
/var/named/named.local 系统自带,不需要修改
/var/named/named.ca 系统自带,不需要修改
首先,让我们弄清楚我们需要处理的文件及其所在位置:
/etc/named.conf
/etc/host.conf
/etc/resolv.boot
/etc/hosts
/etc/named.boot
/var/named/named.ca
/var/named/named.hosts
/var/named/named.local
/var/named/named.rev
一共有9个文件,其中关键的是两个:“/etc/named.conf”和“/var/named/named.hosts”。前者是域名解析配置文件,后者为域配置文件。
[root@rhce root]#vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
IPADDR=10.12.3.1
NETMASK=255.255.255.0
[root@rhce root]#vi /etc/hosts
127.0.0.1 localhost localhost.localdomain
[root@rhce root]#vi /etc/resolv.conf
nameserver 10.12.3.1
[root@rhce root]#vi /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=rhce
************************************************************************************************
[root@rhce root]# cat /etc/named.conf
// generated by named-bootconf.pl
options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};
//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "hutek.com" IN {
type master;
file "hutek.com.zone";
allow-update { none; };
};
zone "3.12.10.in-addr.arpa" IN {
type master;
file "10.12.3.1.zone";
allow-update { none; };
};
include "/etc/rndc.key";
[root@rhce root]# cat /var/named/hutek.com.zone
$TTL 86400
@ IN SOA rhce.hutek.com. root.rhce.hutek.com. (
2004092800 ; Serial
3600 ; Refresh
300 ; Retry
3600000 ;Expire
3600 ) ; Minimum
IN NS rhce.hutek.com.
@ IN MX 10 mail.hutek.com.
localhost IN A 127.0.0.1
rhce IN A 10.12.3.1
www IN A 10.12.3.1
mail IN A 10.12.3.1
pop3 IN A 10.12.3.1
smtp IN A 10.12.3.1
@ IN A 10.12.3.1
[root@rhce root]# cat /var/named/10.12.3.1.zone
$TTL 86400
@ IN SOA rhce.hutek.com. root.rhce.hutek.com. (
2004092800 ; Servial
3600 ; Refresh
300 ; Retry
3600000 ; Expire
3600 ) ; Minimum
IN NS rhce.hutek.com.
@ IN MX 10 mail.hutek.com.
1.3.12.10.in-addr.arpa IN PTR rhce.hutek.com.
1.3.12.10.in-addr.arpa IN PTR .
[root@rhce root]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
10.12.3.1 rhce.hutek.com rhce
[root@rhce root]# cat /etc/resolv.conf
search hutek.com
nameserver 10.12.3.1
**********************************************************************************
重新启动域名服务器
ps -eaf |grep named
看看,
好象bind都没有启动成功
用 named-checkconf 检查/etc/named.conf
用named-checkzone zone 检查没每个zone文件 /var/named/hutek.com.zone
server named restart 然后看看/var/log/message的信息!
server dns restart
发表于: 2004-10-05 08:10 发表主题: 配好了DNS,运行了/usr/sbin/named-checkconf提示如下
ps aux|grep -v named
--------------------------------------------------------------------------------
"the default for the 'auth-nxdomain' option is now 'no' "请问这句话是什么意思?
另外我运行了:/usr/sbin/named-checkzone zone /var/named/正(反)向解析文件
都提示OK!
但运行nslookup IP后提示:
** server can't find xx.xx.168.192.in-addr.arpa.: NXDOMAIN
请问是什么原因?TKS!!!
1. 修改完DNS的配置文件,需要执行/etc/rc.d/init.d/named restart来使更改生效。
2. nslookup:测试正向、反向的解析是否正常
service named restart
pidof named
service named reload
# cat >> /var/log/messages
******
******
[ctrl]+d
可以到日志/var/log/messages里查看.具体位置在文件末尾的两行*******后,和调试
程序一样,甚至他会告诉你哪个文件,哪行错了.修改后,重新执行:
1. 在由caching-nameserver提供的/etc/named.conf中的“option”区域添加下面的内容:
forwarders {192.168.0.254; };
forward only;
这将导致您工作站上的仅有缓存的域名服务器转发其不能解析的DNS查询到在192.168.0.254的域名服务器,并且如果超时,不与根域名服务器直接联系。
2. 启动named: service named start
3. 重新启动named: servcie named restart测试您的配置使用host或者dig来查询一些example.com名称和一些真实的Internet域名(如果您有Internet访问接口的话)
**************************************************************************************
@ IN SOA . root. (
1997022700 ; Serial #序列号
28800 ; Refresh #刷新周期,以秒为单位
14400 ; Retry #循环周期
3600000 ; Expire #中止时间
86400 ) ; Minimum #time-to-live的时间
IN NS .
#定义域名服务器
IN MX 10 mail.ctgu.edu.cn.
#定义邮件服务器,10表示优先级,越小越高
#实现域到IP的映射:
localhost IN A 127.0.0.1
www IN A 192.168.0.21
mail IN A 192.168.0.21
pop3 IN A 192.168.0.21
smtp IN A 192.168.0.21
@ IN A 192.168.0.21
“开始授权”(SOA)记录是数据库文件的第一个资源记录,但是它可能带了一个前导符$TTL(缺省存活时间)。SOA记录使得数据库文件称为该区域的授权的信息源。第一个标记是后继记录适合的域,通常以“@”简化形式出现,如果扩展开来那就是在named.conf文件中“zone”节中所指明的域名(或者是在文件通过$ORIGIN定义的当前区域,如果该定义存在的话)。
第四个标记使该域的主域名服务器,第五个是负责维护这个数据库的系统管理员的电子邮件的地址,注意第一个分隔符替换了第一个标记的@符号(你能解释为什么吗?)。接下来在记录中的条目指定了交互解析域名服务器的动态特性。
域名服务器记录
@ IN NS stationX.domainX.example.com.
域名服务器(NS)标识了主机作为特定域的授权的域名服务器。他们对于这个区域指定了主和从服务器和代表授权的子域的其他的服务器(例如,server1.example.com对于所有domainX.example.com的域名服务器有一个NS记录)。正如您对于“domainX.example.com”只能有一个单一的域名服务器,您也只能有一个单一的NS记录。
domainX.example.com IN A 192.168.0.X
stationX.domainX.example.com IN A 192.168.0.X
www IN A 192.168.0.X
ftp IN A 192.168.0.X
pop IN A 192.168.0.X
地址(A)记录将主机名称映射到IP地址(域名服务器的主要功能)。一个数据库文件通常包含A记录对应着许多IP地址。然而在我们的教室的环境里,在您的区域里面只有一台主机。注意第一个A记录设定了域的“缺省的IP地址”。接下来的A记录建立了多个主机名称对应一个IP地址。
主机名称可以是一个完全符合标准的名称(FQDN),也可以是一个缩写。所有的不以点号结尾的主机名称都将被视为缩写,并且区域名称被附加到主机名称的后面。例如,第三个A记录就是主机名称.
规范名称(别名)记录
www1 IN CNAME stationX.domainX.example.com.
www2 IN CNAME stationX.domainX.example.com.
别名(CNAME)记录建立了主机名称的别名。注意到别名映射到主机名称而不是IP地址。
CNAME不应该出现在右边的数据区域作为真实的主机名称,对于多重别名的解析的速度会很慢。
邮件交换记录
邮件交换记录(MX)记录了一个主机它将会处理给定的域或者主机邮件的转发。当一个邮件传递代理(MTA)试图投递信件的时候,它将首先试图在DNS中查找目的主机的MX记录。如果该MX记录存在,那么将直接发送到MX记录指定的主机。反之,如果不存在MX记录,MTA对于目的主机进行标准的DNS查询,并且直接投递到该主机上去。MX记录用来建立邮件的网关,和作为缺省的对于域的邮件的目的地。
开始授权记录
注意在NS记录开头的空白的地方是非常特别的,并且被解释为“和上一条记录相同”的缩写。在本例中,上一条记录为符号“@”,其本身就是在主配置文件中定义的域名的缩写。
指针记录
指针(PTR)记录通过间接的机制将名称映射到IP地址。作为分离的技术来进行IP地址的反查询的替代,BIND采用了一种修改的对于特定主机名称的正向查询的方式。这种“反向域名查询”以反转的IP地址后面添加“in-addr.arpa”域的形式出现。这将允许域名服务器使用相同的机制进行正反两方面的查询。
******************************************************************************
测试结果
[root@rhce root]# host rhce.hutek.com
Host rhce.hutek.com not found: 2(SERVFAIL)
[root@rhce root]# host rhce
Host rhce not found: 3(NXDOMAIN)
[root@rhce root]# host www
Host www not found: 3(NXDOMAIN)
[root@rhce root]# host mail
Host mail not found: 3(NXDOMAIN)
[root@rhce root]# nslookup
Note: nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead. Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
> host 10.12.3.75
Server: 10.12.3.1
Address: 10.12.3.1#53
** server can't find host: NXDOMAIN
> host 10.12.3.1
Server: 10.12.3.1
Address: 10.12.3.1#53
** server can't find host: NXDOMAIN
> dig 10.12.3.75
Server: 10.12.3.1
Address: 10.12.3.1#53
** server can't find dig: NXDOMAIN
> dig 10.12.3.1
Server: 10.12.3.1
Address: 10.12.3.1#53
** server can't find dig: NXDOMAIN
>
*******************************************************************************************
[root@rhce root]# dig rhce
; <<>> DiG 9.2.1 <<>> rhce
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 44051
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;rhce. IN A
;; AUTHORITY SECTION:
. 10435 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISI
GN-GRS.COM. 2004092801 1800 900 604800 86400
;; Query time: 1 msec
;; SERVER: 10.12.3.1#53(10.12.3.1)
;; WHEN: Wed Sep 29 11:06:05 2004
;; MSG SIZE rcvd: 97
[root@rhce root]# dig 10.12.3.1
; <<>> DiG 9.2.1 <<>> 10.12.3.1
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 56115
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;10.12.3.1. IN A
;; AUTHORITY SECTION:
. 10336 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISI
GN-GRS.COM. 2004092801 1800 900 604800 86400
;; Query time: 0 msec
;; SERVER: 10.12.3.1#53(10.12.3.1)
;; WHEN: Wed Sep 29 11:07:16 2004
;; MSG SIZE rcvd: 102
[root@rhce root]# dig mail.hutek.com
; <<>> DiG 9.2.1 <<>> mail.hutek.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 41715
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;mail.hutek.com. IN A
;; Query time: 0 msec
;; SERVER: 10.12.3.1#53(10.12.3.1)
;; WHEN: Wed Sep 29 11:08:39 2004
;; MSG SIZE rcvd: 32
[root@rhce root]# dig pop3.hutek.com
; <<>> DiG 9.2.1 <<>> pop3.hutek.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 55480
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;pop3.hutek.com. IN A
;; Query time: 0 msec
;; SERVER: 10.12.3.1#53(10.12.3.1)
;; WHEN: Wed Sep 29 11:13:15 2004
;; MSG SIZE rcvd: 32
[root@rhce root]# dig smtp.hutek.com
; <<>> DiG 9.2.1 <<>> smtp.hutek.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 35169
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;smtp.hutek.com. IN A
;; Query time: 0 msec
;; SERVER: 10.12.3.1#53(10.12.3.1)
;; WHEN: Wed Sep 29 11:15:25 2004
;; MSG SIZE rcvd: 32
[root@rhce root]# dig
; <<>> DiG 9.2.1 <<>>
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 42325
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
; IN A
;; Query time: 0 msec
;; SERVER: 10.12.3.1#53(10.12.3.1)
;; WHEN: Wed Sep 29 11:16:07 2004
;; MSG SIZE rcvd: 31
*********************************************************************************************
user=root
Sep 29 10:53:53 rhce 9月 29 10:53:53 su(pam_unix)[1148]: session opened for use
r root by hutekmis(uid=500)
Sep 29 10:58:52 rhce named[1202]: starting BIND 9.2.1 -u named
Sep 29 10:58:52 rhce named[1202]: using 1 CPU
Sep 29 10:58:52 rhce 9月 29 10:58:52 named: named 启动 succeeded
Sep 29 10:58:52 rhce named[1202]: loading configuration from '/etc/named.conf'
Sep 29 10:58:52 rhce named[1202]: no IPv6 interfaces found
Sep 29 10:58:52 rhce named[1202]: listening on IPv4 interface lo, 127.0.0.1#53
Sep 29 10:58:52 rhce named[1202]: listening on IPv4 interface eth0, 10.12.3.1#53
Sep 29 10:58:52 rhce named[1202]: command channel listening on 127.0.0.1#953
Sep 29 10:58:52 rhce named[1202]: zone 3.12.10.in-addr.arpa/IN: has no NS record
s
Sep 29 10:58:52 rhce named[1202]: zone 0.0.127.in-addr.arpa/IN: loaded serial 19
97022700
Sep 29 10:58:52 rhce named[1202]: zone hutek.com/IN: has no NS records
Sep 29 10:58:52 rhce named[1202]: zone localhost/IN: loaded serial 42
Sep 29 10:58:52 rhce named[1202]: running
Sep 29 10:59:12 rhce named[1202]: app.c:561: unexpected error:
Sep 29 10:59:12 rhce named[1202]: isc_app_shutdown() pthread_kill: No such proce
ss
[root@rhce root]#
cat /var/log/messages
Sep 29 10:48:35 rhce kernel: CPU: Trace cache: 12K uops, L1 D cache: 8K
Sep 29 10:48:35 rhce kernel: CPU: L2 cache: 512K
Sep 29 10:48:35 rhce kernel: Intel machine check architecture supported.
Sep 29 10:48:35 rhce kernel: Intel machine check reporting enabled on CPU#0.
Sep 29 10:48:36 rhce 9月 29 10:48:35 portmap: portmap startup succeeded
Sep 29 10:48:35 rhce kernel: CPU: Intel(R) Pentium(R) 4 CPU 1.80GHz stepping 07
Sep 29 10:48:35 rhce nfslock: rpc.statd startup succeeded
Sep 29 10:48:35 rhce rpc.statd[634]: Version 1.0.1 Starting
Sep 29 10:48:35 rhce kernel: Enabling fast FPU save and restore... done.
Sep 29 10:48:36 rhce keytable: Loading keymap:
Sep 29 10:48:36 rhce kernel: Enabling unmasked SIMD FPU exception support... don
e.
Sep 29 10:48:36 rhce kernel: Checking 'hlt' instruction... OK.
Sep 29 10:48:36 rhce kernel: POSIX conformance testing by UNIFIX
Sep 29 10:48:36 rhce kernel: mtrr: v1.40 (20010327) Richard Gooch (
siro.au)
Sep 29 10:48:36 rhce kernel: mtrr: detected mtrr type: Intel
Sep 29 10:48:36 rhce kernel: PCI: PCI BIOS revision 2.10 entry at 0xfb820, last
bus=1
Sep 29 10:48:36 rhce kernel: PCI: Using configuration type 1
Sep 29 10:48:36 rhce kernel: PCI: Probing PCI hardware
Sep 29 10:48:36 rhce kernel: PCI: Ignoring BAR0-3 of IDE controller 00:1f.1
Sep 29 10:48:36 rhce kernel: Transparent bridge - Intel Corp. 82801BA/CA/DB PCI
Bridge
Sep 29 10:48:36 rhce kernel: PCI: Using IRQ router PIIX [8086/24c0] at 00:1f.0
Sep 29 10:48:36 rhce kernel: PCI: Found IRQ 5 for device 00:1f.1
Sep 29 10:48:36 rhce keytable:
Sep 29 10:48:36 rhce kernel: PCI: Sharing IRQ 5 with 00:02.0
Sep 29 10:48:36 rhce keytable:
Sep 29 10:48:36 rhce kernel: isapnp: Scanning for PnP cards...
Sep 29 10:48:36 rhce rc: Starting keytable: succeeded
Sep 29 10:48:36 rhce kernel: isapnp: No Plug & Play device found
Sep 29 10:48:36 rhce kernel: Linux NET4.0 for Linux 2.4
Sep 29 10:48:36 rhce kernel: Based upon Swansea University Computer Society NET3
.039
Sep 29 10:48:36 rhce kernel: Initializing RT netlink socket
Sep 29 10:48:36 rhce kernel: apm: BIOS version 1.2 Flags 0x07 (Driver version 1.
16)
Sep 29 10:48:36 rhce kernel: Starting kswapd
Sep 29 10:48:36 rhce kernel: VFS: Disk quotas vdquot_6.5.1
Sep 29 10:48:36 rhce kernel: pty: 2048 Unix98 ptys configured
Sep 29 10:48:36 rhce kernel: Serial driver version 5.05c (2001-07-08) with MANY_
PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
Sep 29 10:48:36 rhce kernel: ttyS0 at 0x03f8 (irq = 4) is a 16550A
Sep 29 10:48:36 rhce kernel: Real Time Clock Driver v1.10e
Sep 29 10:48:36 rhce kernel: Floppy drive(s): fd0 is 1.44M
Sep 29 10:48:36 rhce random: Initializing random number generator: succeeded
Sep 29 10:48:36 rhce kernel: FDC 0 is a post-1991 82077
Sep 29 10:48:36 rhce kernel: NET4: Frame Diverter 0.46
Sep 29 10:48:36 rhce kernel: RAMDISK driver initialized: 16 RAM disks of 4096K s
ize 1024 blocksize
Sep 29 10:48:36 rhce kernel: Uniform Multi-Platform E-IDE driver Revision: 7.00b
eta-2.4
Sep 29 10:48:36 rhce kernel: ide: Assuming 33MHz system bus speed for PIO modes;
override with idebus=xx
Sep 29 10:48:36 rhce kernel: ICH4: IDE controller at PCI slot 00:1f.1
Sep 29 10:48:36 rhce kernel: PCI: Found IRQ 5 for device 00:1f.1
Sep 29 10:48:36 rhce kernel: PCI: Sharing IRQ 5 with 00:02.0
Sep 29 10:48:36 rhce kernel: ICH4: chipset revision 2
Sep 29 10:48:36 rhce kernel: ICH4: not 100%% native mode: will probe irqs later
Sep 29 10:48:36 rhce kernel: ide0: BM-DMA at 0xf000-0xf007, BIOS settings: h
da:DMA, hdb:pio
Sep 29 10:48:36 rhce kernel: ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: h
dc:DMA, hdd:pio
Sep 29 10:48:36 rhce kernel: hda: IC35L060AVV207-0, ATA DISK drive
Sep 29 10:48:36 rhce kernel: blk: queue c03c9f40, I/O limit 4095Mb (mask 0xfffff
fff)
Sep 29 10:48:36 rhce kernel: hdc: LTN486S, ATAPI CD/DVD-ROM drive
Sep 29 10:48:36 rhce kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Sep 29 10:48:36 rhce kernel: ide1 at 0x170-0x177,0x376 on irq 15
Sep 29 10:48:36 rhce kernel: hda: host protected area => 1
Sep 29 10:48:36 rhce kernel: hda: 120103200 sectors (61493 MB) w/1821KiB Cache,
CHS=7476/255/63, UDMA(100)
Sep 29 10:48:36 rhce kernel: ide-floppy driver 0.99.newide
Sep 29 10:48:36 rhce kernel: Partition check:
Sep 29 10:48:36 rhce kernel: hda: hda1 hda2 < hda5 hda6 hda7 hda8 hda9 hda10 hd
a11 hda12 hda13 hda14 hda15 hda16 hda17 hda18 >
Sep 29 10:48:36 rhce rc: Starting pcmcia: succeeded
Sep 29 10:48:36 rhce kernel: ide-floppy driver 0.99.newide
Sep 29 10:48:36 rhce kernel: md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=2
7
Sep 29 10:48:36 rhce kernel: md: Autodetecting RAID arrays.
Sep 29 10:48:36 rhce kernel: [events: 9e9d9cfc]
Sep 29 10:48:36 rhce kernel: md: invalid raid superblock magic on hda10
Sep 29 10:48:36 rhce kernel: md: hda10 has invalid sb, not importing!
Sep 29 10:48:36 rhce kernel: md: could not import hda10!
Sep 29 10:48:36 rhce kernel: [events: 3ade1754]
Sep 29 10:48:36 rhce kernel: md: invalid raid superblock magic on hda11
Sep 29 10:48:36 rhce kernel: md: hda11 has invalid sb, not importing!
Sep 29 10:48:36 rhce kernel: md: could not import hda11!
Sep 29 10:48:37 rhce kernel: md: autorun ...
Sep 29 10:48:37 rhce kernel: md: ... autorun DONE.
Sep 29 10:48:37 rhce netfs: Mounting other filesystems: succeeded
Sep 29 10:48:37 rhce kernel: NET4: Linux TCP/IP 1.0 for NET4.0
Sep 29 10:48:37 rhce kernel: IP Protocols: ICMP, UDP, TCP, IGMP
Sep 29 10:48:37 rhce kernel: IP: routing cache hash table of 2048 buckets, 16Kby
tes
Sep 29 10:48:37 rhce kernel: TCP: Hash tables configured (established 16384 bind
32768)
Sep 29 10:48:37 rhce kernel: Linux IP multicast router 0.06 plus PIM-SM
Sep 29 10:48:37 rhce kernel: NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Sep 29 10:48:37 rhce apmd[699]: Version 3.0.2 (APM BIOS 1.2, Linux driver 1.16)
Sep 29 10:48:37 rhce apmd: apmd startup succeeded
Sep 29 10:48:37 rhce kernel: RAMDISK: Compressed image found at block 0
Sep 29 10:48:37 rhce kernel: Freeing initrd memory: 146k freed
Sep 29 10:48:37 rhce kernel: VFS: Mounted root (ext2 filesystem).
Sep 29 10:48:37 rhce kernel: Journalled Block Device driver loaded
Sep 29 10:48:37 rhce kernel: kjournald starting. Commit interval 5 seconds
Sep 29 10:48:37 rhce kernel: EXT3-fs: mounted filesystem with ordered data mode.
Sep 29 10:48:37 rhce kernel: Freeing unused kernel memory: 132k freed
Sep 29 10:48:37 rhce kernel: usb.c: registered new driver usbdevfs
Sep 29 10:48:37 rhce autofs: automount startup succeeded
Sep 29 10:48:37 rhce kernel: usb.c: registered new driver hub
Sep 29 10:48:35 rhce network: Bringing up interface eth0: succeeded
Sep 29 10:48:37 rhce kernel: ehci-hcd 00:1d.7: Intel Corp. 82801DB USB EHCI Cont
roller
Sep 29 10:48:37 rhce kernel: ehci-hcd 00:1d.7: irq 9, pci mem d0049000
Sep 29 10:48:37 rhce kernel: usb.c: new USB bus registered, assigned bus number
1
Sep 29 10:48:38 rhce kernel: ehci-hcd 00:1d.7: enabled 64bit PCI DMA
Sep 29 10:48:38 rhce kernel: PCI: 00:1d.7 PCI cache line size set incorrectly (0
bytes) by BIOS/FW.
Sep 29 10:48:38 rhce kernel: PCI: 00:1d.7 PCI cache line size corrected to 128.
Sep 29 10:48:38 rhce kernel: ehci-hcd 00:1d.7: USB 2.0 enabled, EHCI 1.00, drive
r 2003-Jan-22
Sep 29 10:48:38 rhce kernel: hub.c: USB hub found
Sep 29 10:48:38 rhce kernel: hub.c: 6 ports detected
Sep 29 10:48:38 rhce kernel: usb-uhci.c: $Revision: 1.275 $ time 17:59:01 Mar 13
2003
Sep 29 10:48:38 rhce kernel: usb-uhci.c: High bandwidth mode enabled
Sep 29 10:48:38 rhce kernel: usb-uhci.c: USB UHCI at I/O 0xd800, IRQ 5
Sep 29 10:48:38 rhce kernel: usb-uhci.c: Detected 2 ports
Sep 29 10:48:38 rhce apmd[699]: Charge: * * * (-1% unknown)
Sep 29 10:48:38 rhce kernel: usb.c: new USB bus registered, assigned bus number
2
Sep 29 10:48:38 rhce kernel: hub.c: USB hub found
Sep 29 10:48:38 rhce kernel: hub.c: 2 ports detected
Sep 29 10:48:38 rhce kernel: usb-uhci.c: USB UHCI at I/O 0xd000, IRQ 11
Sep 29 10:48:38 rhce kernel: usb-uhci.c: Detected 2 ports
Sep 29 10:48:39 rhce kernel: usb.c: new USB bus registered, assigned bus number
3
Sep 29 10:48:39 rhce kernel: hub.c: USB hub found
Sep 29 10:48:39 rhce kernel: hub.c: 2 ports detected
Sep 29 10:48:39 rhce kernel: usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 11
Sep 29 10:48:39 rhce kernel: usb-uhci.c: Detected 2 ports
Sep 29 10:48:39 rhce kernel: usb.c: new USB bus registered, assigned bus number
4
Sep 29 10:48:39 rhce kernel: hub.c: USB hub found
Sep 29 10:48:39 rhce kernel: hub.c: 2 ports detected
Sep 29 10:48:39 rhce kernel: usb-uhci.c: v1.275:USB Universal Host Controller In
terface driver
Sep 29 10:48:39 rhce kernel: usb.c: registered new driver hiddev
Sep 29 10:48:39 rhce kernel: usb.c: registered new driver hid
Sep 29 10:48:39 rhce sshd: succeeded
Sep 29 10:48:39 rhce kernel: hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik >
Sep 29 10:48:39 rhce kernel: hid-core.c: USB HID support drivers
Sep 29 10:48:39 rhce kernel: mice: PS/2 mouse device common for all mice
Sep 29 10:48:39 rhce kernel: hub.c: new USB device 00:1d.0-1, assigned address 2
Sep 29 10:48:39 rhce kernel: input0: USB HID v1.10 Mouse [Logitech Optical USB M
ouse] on usb2:2.0
Sep 29 10:48:39 rhce kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,17), i
nternal journal
Sep 29 10:48:39 rhce kernel: Adding Swap: 305192k swap-space (priority -1)
Sep 29 10:48:39 rhce kernel: kjournald starting. Commit interval 5 seconds
Sep 29 10:48:39 rhce kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,9), in
ternal journal
Sep 29 10:48:39 rhce kernel: EXT3-fs: mounted filesystem with ordered data mode.
Sep 29 10:48:39 rhce kernel: kjournald starting. Commit interval 5 seconds
Sep 29 10:48:40 rhce kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,15), i
nternal journal
Sep 29 10:48:40 rhce kernel: EXT3-fs: mounted filesystem with ordered data mode.
Sep 29 10:48:40 rhce kernel: kjournald starting. Commit interval 5 seconds
Sep 29 10:48:40 rhce kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,14), i
nternal journal
Sep 29 10:48:40 rhce kernel: EXT3-fs: mounted filesystem with ordered data mode.
Sep 29 10:48:40 rhce kernel: kjournald starting. Commit interval 5 seconds
Sep 29 10:48:40 rhce kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,16), i
nternal journal
Sep 29 10:48:40 rhce kernel: EXT3-fs: mounted filesystem with ordered data mode.
Sep 29 10:48:40 rhce kernel: kjournald starting. Commit interval 5 seconds
Sep 29 10:48:40 rhce kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,13), i
nternal journal
Sep 29 10:48:40 rhce kernel: EXT3-fs: mounted filesystem with ordered data mode.
Sep 29 10:48:40 rhce kernel: kjournald starting. Commit interval 5 seconds
Sep 29 10:48:40 rhce kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,12), i
nternal journal
Sep 29 10:48:40 rhce kernel: EXT3-fs: mounted filesystem with ordered data mode.
Sep 29 10:48:40 rhce kernel: parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE
,EPP]
Sep 29 10:48:40 rhce kernel: parport0: irq 7 detected
Sep 29 10:48:40 rhce kernel: ip_tables: (C) 2000-2002 Netfilter core team
Sep 29 10:48:40 rhce kernel: 8139too Fast Ethernet driver 0.9.26
Sep 29 10:48:40 rhce kernel: PCI: Found IRQ 11 for device 01:0d.0
Sep 29 10:48:40 rhce kernel: eth0: RealTek RTL8139 Fast Ethernet at 0xd0091000,
00:0c:76:38:38:c2, IRQ 11
Sep 29 10:48:40 rhce kernel: ip_tables: (C) 2000-2002 Netfilter core team
Sep 29 10:48:40 rhce kernel: eth0: Setting 100mbps full-duplex based on auto-neg
otiated partner ability 41e1.
Sep 29 10:48:41 rhce xinetd[750]: xinetd Version 2.3.10 started with libwrap opt
ions compiled in.
Sep 29 10:48:41 rhce xinetd[750]: Started working: 2 available services
Sep 29 10:48:43 rhce xinetd: xinetd startup succeeded
Sep 29 10:48:44 rhce sendmail: sendmail startup succeeded
Sep 29 10:48:44 rhce sendmail: sm-client startup succeeded
Sep 29 10:48:44 rhce gpm: gpm startup succeeded
Sep 29 10:48:45 rhce crond: crond startup succeeded
Sep 29 10:48:46 rhce kernel: parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE
,EPP]
Sep 29 10:48:46 rhce kernel: parport0: irq 7 detected
Sep 29 10:48:46 rhce kernel: lp0: using parport0 (polling).
Sep 29 10:48:46 rhce kernel: lp0: console ready
Sep 29 10:48:47 rhce modprobe: modprobe: Can't locate module char-major-188
Sep 29 10:48:47 rhce last message repeated 15 times
Sep 29 10:48:47 rhce cups: cupsd startup succeeded
Sep 29 10:48:48 rhce xfs: xfs startup succeeded
Sep 29 10:48:48 rhce anacron: anacron startup succeeded
Sep 29 10:48:48 rhce atd: atd startup succeeded
Sep 29 10:48:48 rhce xfs: ignoring font path element /usr/X11R6/lib/X11/fonts/cy
rillic (unreadable)
Sep 29 10:48:49 rhce rc: Starting webmin: succeeded
Sep 29 10:48:52 rhce kernel: Linux agpgart interface v0.99 (c) Jeff Hartmann
Sep 29 10:48:52 rhce kernel: agpgart: Maximum main memory to use for agp memory:
196M
Sep 29 10:48:52 rhce kernel: agpgart: Detected an Intel(R) 845G Chipset.
Sep 29 10:48:52 rhce kernel: agpgart: Detected 8060K stolen memory.
Sep 29 10:48:52 rhce kernel: agpgart: AGP aperture is 128M @ 0xd8000000
Sep 29 10:48:52 rhce modprobe: modprobe: Can't locate module char-major-226
Sep 29 10:48:52 rhce last message repeated 3 times
Sep 29 10:48:52 rhce kernel: [drm] AGP 0.99 on Intel i810 @ 0xd8000000 128MB
Sep 29 10:48:52 rhce kernel: [drm] Initialized i830 1.3.2 20021108 on minor 0
Sep 29 10:48:52 rhce kernel: mtrr: base(0xd8020000) is not aligned on a size(0x2
58000) boundary
Sep 29 10:48:52 rhce kernel: PCI: Found IRQ 5 for device 00:02.0
Sep 29 10:48:52 rhce kernel: PCI: Sharing IRQ 5 with 00:1f.1
Sep 29 10:51:59 rhce 9月 29 10:51:59 gdm(pam_unix)[943]: authentication failure
; logname= uid=0 euid=0 tty=:0 ruser=gdm rhost=localhost user=root
Sep 29 10:52:01 rhce 9月 29 10:52:01 gdm-binary[943]: 无法认证用户
Sep 29 10:52:08 rhce 9月 29 10:52:08 gdm(pam_unix)[943]: session opened for use
r root by (uid=0)
Sep 29 10:52:24 rhce kernel: Intel 810 + AC97 Audio, version 0.24, 17:59:48 Mar
13 2003
Sep 29 10:52:24 rhce kernel: PCI: Found IRQ 3 for device 00:1f.5
Sep 29 10:52:24 rhce kernel: PCI: Sharing IRQ 3 with 00:1f.3
Sep 29 10:52:24 rhce kernel: i810: Intel ICH4 found at IO 0xe400 and 0xe000, MEM
0xe2081000 and 0xe2082000, IRQ 3
Sep 29 10:52:24 rhce kernel: i810: Intel ICH4 mmio at 0xd0678000 and 0xd067a000
Sep 29 10:52:24 rhce insmod: insmod: a module named ac97_codec already exists
Sep 29 10:52:24 rhce insmod: insmod: insmod sound-slot-0 failed
Sep 29 10:52:24 rhce modprobe: modprobe: Can't locate module sound-service-0-0
Sep 29 10:52:24 rhce modprobe: modprobe: Can't locate module sound-service-0-0
Sep 29 10:52:24 rhce modprobe: modprobe: Can't locate module sound-slot-1
Sep 29 10:52:24 rhce modprobe: modprobe: Can't locate module sound-service-1-0
Sep 29 10:52:24 rhce modprobe: modprobe: Can't locate module sound-slot-1
Sep 29 10:52:24 rhce modprobe: modprobe: Can't locate module sound-service-1-0
Sep 29 10:52:24 rhce modprobe: modprobe: Can't locate module sound-service-0-3
Sep 29 10:52:24 rhce kernel: i810_audio: Primary codec has ID 2
Sep 29 10:52:24 rhce kernel: i810_audio: Audio Controller supports 6 channels.
Sep 29 10:52:24 rhce kernel: i810_audio: Defaulting to base 2 channel mode.
Sep 29 10:52:24 rhce kernel: i810_audio: Resetting connection 0
Sep 29 10:52:24 rhce kernel: i810_audio: Connection 0 with codec id 2
Sep 29 10:52:24 rhce kernel: ac97_codec: AC97 Audio codec, id: ALG32 (ALC650)
Sep 29 10:52:24 rhce kernel: i810_audio: AC'97 codec 2, new EID value = 0x05c7
Sep 29 10:52:24 rhce kernel: i810_audio: AC'97 codec 2, DAC map configured, tota
l channels = 6
Sep 29 10:52:30 rhce 9月 29 10:52:30 gconfd (root-1113): 正在启动(版本 2.2.0)
,pid 1113 用户“root”
Sep 29 10:52:31 rhce 9月 29 10:52:31 gconfd (root-1113): 解析的地址“xml:readon
ly:/etc/gconf/gconf.xml.mandatory”指向位于 0 的只读配置源
Sep 29 10:52:31 rhce 9月 29 10:52:31 gconfd (root-1113): 解析的地址“xml:readwr
ite:/root/.gconf”指向位于 1 的可写入配置源
Sep 29 10:52:31 rhce 9月 29 10:52:31 gconfd (root-1113): 解析的地址“xml:readon
ly:/etc/gconf/gconf.xml.defaults”指向位于 2 的只读配置源
Sep 29 10:53:31 rhce login(pam_unix)[1117]: session opened for user hutekmis by
(uid=0)
Sep 29 10:53:32 rhce -- hutekmis[1117]: LOGIN ON pts/1 BY hutekmis FROM 10.12.3
.75
Sep 29 10:53:38 rhce 9月 29 10:53:38 su(pam_unix)[1147]: authentication failure
; logname=hutekmis uid=500 euid=0 tty= ruser=hutekmis rhost= user=root
Sep 29 10:53:53 rhce 9月 29 10:53:53 su(pam_unix)[1148]: session opened for use
r root by hutekmis(uid=500)
Sep 29 10:58:52 rhce named[1202]: starting BIND 9.2.1 -u named
Sep 29 10:58:52 rhce named[1202]: using 1 CPU
Sep 29 10:58:52 rhce 9月 29 10:58:52 named: named 启动 succeeded
Sep 29 10:58:52 rhce named[1202]: loading configuration from '/etc/named.conf'
Sep 29 10:58:52 rhce named[1202]: no IPv6 interfaces found
Sep 29 10:58:52 rhce named[1202]: listening on IPv4 interface lo, 127.0.0.1#53
Sep 29 10:58:52 rhce named[1202]: listening on IPv4 interface eth0, 10.12.3.1#53
Sep 29 10:58:52 rhce named[1202]: command channel listening on 127.0.0.1#953
Sep 29 10:58:52 rhce named[1202]: zone 3.12.10.in-addr.arpa/IN: has no NS record
s
Sep 29 10:58:52 rhce named[1202]: zone 0.0.127.in-addr.arpa/IN: loaded serial 19
97022700
Sep 29 10:58:52 rhce named[1202]: zone hutek.com/IN: has no NS records
Sep 29 10:58:52 rhce named[1202]: zone localhost/IN: loaded serial 42
Sep 29 10:58:52 rhce named[1202]: running
Sep 29 10:59:12 rhce named[1202]: app.c:561: unexpected error:
Sep 29 10:59:12 rhce named[1202]: isc_app_shutdown() pthread_kill: No such proce
ss
[root@rhce root]#