Page 1 of 1

Bind failure since update

Posted: Fri Jul 27, 2007 7:47 pm
by npavlidis
System: CentOS 4.4 updated to current
Plesk 8.1.1 installed from atomic repo
asl installed

Problem:
After a typical yum update that popped up the new available version in bind from the repo "update" I went ahead and updated the bind service and since then bind wont start.

Error logs: (/var/log/messages)
Jul 28 02:33:21 darkstar named[29614]: starting BIND 9.2.4 -u named -c /etc/named.conf -u named -t /var/named/run-root
Jul 27 23:33:21 darkstar named[29616]: could not configure root hints from 'named.root': file not found
Jul 27 23:33:21 darkstar named[29616]: loading configuration: file not found
Jul 27 23:33:21 darkstar named[29616]: exiting (due to fatal error)

Another weird thing is the directory-files that named appears to have:
ls -all /var/named produces

drwxr-x--- 5 root named 4096 Jul 24 19:51 chroot
drwxrwx--- 2 named named 4096 Jul 24 19:51 data
lrwxrwxrwx 1 root root 44 Jul 23 18:41 localdomain.zone -> /var/named/chroot/var/named/localdomain.zone
lrwxrwxrwx 1 root root 42 Jul 23 18:41 localhost.zone -> /var/named/chroot/var/named/localhost.zone
lrwxrwxrwx 1 root root 43 Jul 23 18:41 named.broadcast -> /var/named/chroot/var/named/named.broadcast
lrwxrwxrwx 1 root root 36 Jul 23 18:41 named.ca -> /var/named/chroot/var/named/named.ca
lrwxrwxrwx 1 root root 43 Jul 23 18:41 named.ip6.local -> /var/named/chroot/var/named/named.ip6.local
lrwxrwxrwx 1 root root 39 Jul 23 18:41 named.local -> /var/named/chroot/var/named/named.local
lrwxrwxrwx 1 root root 38 Jul 23 18:41 named.zero -> /var/named/chroot/var/named/named.zero
drwxr-xr-x 6 root root 4096 Jul 23 22:08 run-root
drwxrwx--- 2 named named 4096 Jul 24 19:51 slaves

instead of the 3 folder pattern expected.... i looks like the 2 packages kinda mixed up...
what do I do? if I try to remove bind it asks to remove 67 packages......

The yum info of the package:
Installed Packages
Name : bind
Arch : i386
Epoch : 20
Version: 9.2.4
Release: 27.0.1.el4
Size : 1.8 M
Repo : installed
Summary: A DNS (Domain Name System) server.

Reading repository metadata in from local files
Installed Packages
Name : bind-chroot
Arch : i386
Epoch : 20
Version: 9.2.4
Release: 27.0.1.el4
Size : 0.0
Repo : installed
Summary: A chrooted tree for the BIND name server

These are the definite 2 that I remember being installed :/

Any help will be much appreciated

Thank you

Posted: Sat Jul 28, 2007 9:52 am
by scott
Try removing bind-chroot

Posted: Sat Jul 28, 2007 3:48 pm
by npavlidis
problem solved! :) thanks man

Posted: Mon Aug 06, 2007 5:54 am
by nomojo
Had same problem. Solution suggested by Scott above also worked for me.

Thanks!