From: Andrew Nazarkin <gnomik@mtv.ru> To: sisyphus@altlinux.ru Subject: Re: [sisyphus] Сдуру обновил bind на сервере... Теперь не работает. Date: Tue, 24 Dec 2002 10:12:33 +0300 Message-ID: <20021224101233.531c4367.gnomik@mtv.ru> (raw) In-Reply-To: <200212240036.08780.yuda66@yandex.ru> On Tue, 24 Dec 2002 00:36:08 +0200 Igor Tertishny <yuda66@yandex.ru> wrote: > Решил я сервер чуть обновил, обновился с updates через apt. Он мне и > bind обновил. Теперь named при перезагрузке не запускается и сообщает: > > [root@srv zone]# service named restart > Shutting down named: > [ OK ] > Adjusting environment for named: > [ OK ] > Starting named: can't change directory to /var/lib/named/zone: No such > file or directory > > [FAILED] > > Чего я только не перепробовал. Пытался по другому писать, права на > папки меня. Ничего не помогает. Причем, если набрать ручками в консоли > named, он прекрасно запускается и работает. Но это же не дело - вдруг > что случится, что перегрузится, когда меня не будет? Выручайте, люди > добрые... Какая была версия до этого? Делалось ли update_chrooted all В последних версиях bind из-за их "чрутовости" (во сказанул!) Корневым каталогом является /var/lib/named Соответственно, в named.conf никаких /var/lib/named быть не должно! Грубо говоря, вместо /var/lib/named/zone надо писать просто /zone И последнее: из личного опыта: ВСЕ slave зоны должны быть помещены в соответствующий подкаталог с именем /slave ! Для primary это правило пока неактуально, но кто знает - может, в будущих весриях bind он тоже станет строгим. Удачи! P.S. А вот "ручками из консоли" он запускается не в chroot окружении - т.е. дыра! _______________________________________________ > Sisyphus mailing list > Sisyphus@altlinux.ru > http://altlinux.ru/mailman/listinfo/sisyphus
next prev parent reply other threads:[~2002-12-24 7:12 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-12-23 22:36 Igor Tertishny 2002-12-24 7:12 ` Andrew Nazarkin [this message] 2002-12-24 8:58 ` Igor Tertishny 2002-12-24 11:22 ` [sisyphus] " Evgeniy Kobzev 2002-12-25 9:52 ` [sisyphus] (ldv!) check "directory" in updates/bind* (was: Сдуру обновил bind на сервере... Теперь не работает.) Michael Shigorin 2002-12-25 10:02 ` Dmitry V. Levin 2002-12-25 12:40 ` [sisyphus] " Michael Shigorin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20021224101233.531c4367.gnomik@mtv.ru \ --to=gnomik@mtv.ru \ --cc=sisyphus@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git