[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bind appears to restart before the kernel is fully loaded



On Mon, 2001-10-01 at 21:06, Philippe Clérié wrote:
> I have a bad feeling about this. Below are the first few lines after a
> reboot. It seems to me that bind cannot possibly start before the kernel has
> finished loading. Any comments and hints will really be appreciated.

While the kernel boots, it cannot write to the log file, because that
filesystem might not be mounted yet.  It has to wait for init to run
klogd before writing the kernel startup messages.  If named starts quick
enough, it can write through syslog at the same time as klogd is
writing, hence the interleaved messages.

Its uncommon, but not impossible.
> 
> Regards,
> Philippe Clérié
> 
> Oct  1 08:07:48 taurus kernel: klogd 1.3-3#33.1, log source = /proc/kmsg
> started.
> Oct  1 08:07:48 taurus kernel: Inspecting /boot/System.map-2.2.17
> Oct  1 08:07:49 taurus named[143]: starting (/etc/bind/named.conf).  named
> 8.2.3-REL-NOESW Sat Jan 27 01:46:37 MST 2001
> ^Ibdale@winfree:/home/bdale/debian/bind-8.2.3/src/bin/named
> Oct  1 08:07:49 taurus named[143]: hint zone "" (IN) loaded (serial 0)
> Oct  1 08:07:49 taurus named[143]: master zone "localhost" (IN) loaded
> (serial 1)
> Oct  1 08:07:49 taurus named[143]: master zone "127.in-addr.arpa" (IN)
> loaded (serial 1)
> Oct  1 08:07:49 taurus named[143]: master zone "0.in-addr.arpa" (IN) loaded
> (serial 1)
> Oct  1 08:07:49 taurus named[143]: master zone "255.in-addr.arpa" (IN)
> loaded (serial 1)
> < other zones loaded here >
> Oct  1 08:07:49 taurus named[143]: listening on [127.0.0.1].53 (lo)
> Oct  1 08:07:49 taurus named[143]: listening on [192.168.5.1].53 (eth0)
> < listening on device eth1 here >
> Oct  1 08:07:49 taurus named[143]: Forwarding source address is
> [0.0.0.0].1024
> Oct  1 08:07:49 taurus named[144]: Ready to answer queries.
> Oct  1 08:07:50 taurus kernel: Loaded 9577 symbols from
> /boot/System.map-2.2.17.
> Oct  1 08:07:50 taurus kernel: Symbols match kernel version 2.2.17.
> Oct  1 08:07:50 taurus kernel: Loaded 6 symbols from 1 module.
> Oct  1 08:07:50 taurus kernel: Linux version 2.2.17 (root@taurus) (gcc
> version 2.95.2 20000220 (Debian GNU/Linux)) #1 Tue Dec 19 11:16:08 EST 2000
> Oct  1 08:07:50 taurus kernel: Detected 99474 kHz processor.
> Oct  1 08:07:50 taurus kernel: Console: colour VGA+ 80x25
> Oct  1 08:07:50 taurus kernel: Calibrating delay loop... 198.66 BogoMIPS
> Oct  1 08:07:50 taurus kernel: Memory: 47272k/49152k available (744k kernel
> code, 412k reserved, 684k data, 40k init)
> 
> 
> 
> 
-- 
Berend De Schouwer



Reply to: