I got BIG dns with 10000+ zones. When i try restart a named process: /etc/init.d/named restart named stop but don`t start But when i give: /etc/init.d/named stop sleep 10 /etc/init.d/named start Working good. Reproducible: Always Steps to Reproduce: 1. /etc/init.d/named restart 2. 3. Actual Results: DNS1 ~ # /etc/init.d/named restart * Stopping chrooted named ... [ ok ] * Starting chrooted named ... [ !! ] Nothing in daemon.log and other logs :/ Expected Results: DNS1 ~ # /etc/init.d/named restart * Stopping chrooted named ... [ ok ] * Starting chrooted named ... [ OK ] named running in chroot /chroot/
Which bind version?
(In reply to comment #1) > Which bind version? > [ebuild R ] net-dns/bind-9.4.3_p5 USE="berkdb ipv6 ssl -dlz -doc -idn -ldap -mysql -odbc -postgres -resolvconf (-selinux) -threads -urandom" 0 kB DNS1 ~ # emerge --info Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r7 i686) ================================================================= System uname: Linux-2.6.32-gentoo-r7-i686-Intel-R-_Xeon-R-_CPU_E5430_@_2.66GHz-with-gentoo-1.12.13 Timestamp of tree: Mon, 17 May 2010 04:45:01 +0000 app-shells/bash: 4.0_p37 dev-lang/python: 2.4.4-r13, 2.5.4-r3, 2.6.4-r1 dev-python/pycrypto: 2.0.1-r6 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.5, 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.1.2, 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=prescott -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-Os -march=prescott -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl/ http://mirror.switch.ch/ftp/mirror/gentoo/" LANG="pl_PL" LC_ALL="pl_PL" LDFLAGS="-Wl,-O1" LINGUAS="pl" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="acl autofs berkdb bidi bzip2 cli cracklib crypt ctype cxx devfs dri foomaticdb fortran gd gdbm gif gpm iconv imap ipv6 jadetex jpeg md5sum modules mudflap ncurses nls no-htdocs nptl nptlonly openmp pam pcre png pppd python ra readline reflection ruby scriptdev2 session slang snmp spl sse sse2 ssl symlink sysfs tcpd unicode vda x86 xml xml2 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
The init-script and esp. the chroot part became major changes in >=9.6.x so if possible please test one of the more recent versions and let me know if it works.