From: Michael Shigorin <mike@osdn.org.ua> To: ALT Linux Sisyphus mailing list <sisyphus@altlinux.ru> Subject: [sisyphus] Re: bind 9 & monit Date: Wed, 27 Aug 2003 12:12:41 +0300 Message-ID: <20030827091241.GD12801@osdn.org.ua> (raw) In-Reply-To: <Pine.LNX.4.55L.0308241520020.17784@gw.lincomp.ru> <20030826171358.GA12430@basalt.office.altlinux.org> [-- Attachment #1: Type: text/plain, Size: 2123 bytes --] On Tue, Aug 26, 2003 at 09:13:58PM +0400, Dmitry V. Levin wrote: > > > Тут недавно возникла задача настроить машинку с Linux и по > > > старой памяти поставил, обновил до текущего Sisyphus-а и > > > выяснилось, что текущий bind не создает pid файла, > > > соответственно monit к нему применить не удается. При использовании pid-file "/var/run/named.pid" (как указано во втором процитированном письме) "у мну работает". monit, естественно, сказано "/var/lib/bind/var/run/named.pid". > > Это нетривиальная задача, у меня в TODO, с низким > > приоритетом, > > см. http://bugzilla.altlinux.ru/show_bug.cgi?id=2866 Долго думал. Так пока и не осознал нетривиальности, если на практике работает изменение конфигурационного файла, который можно изменить и в коробке. > Вопрос ко всем заинтересованным: Чтобы реализовать создание > pid-файла, нужно придумать ещё один параметр для > /usr/sbin/named; просьба уже задействованные не предлагать. Видимо, это лучше согласовывать с upstream. On Sun, Aug 24, 2003 at 03:21:25PM +0400, Dmitriy Gnidchenko wrote: > Посмотри в options.conf > options { > ... > pid-file ""; > ... > }; > > > Отсутствие pid файла - это бага или новая политика в части > > сервисов ? Что тогда делать с монитом, не патчить же каждый > > раз скрипты запуска сервисов? Дима, насчет "host localhost": вообще-то не факт, что в resolv.conf именно локальный намед. Далее, тот же monit является достаточно удобным _централизованным_ средством мониторинга по крайней мере в пределах хоста, поэтому у меня сейчас все, что можно, забивается под него. Но, к сожалению, с внешними тестами и произвольными действиями (кроме почтового alert и костылей вокруг скриптов stop/start, которые все равно неадекватны) у текущего 3.2 плохо, или по крайней мере мне при заинтересованности найти не удалось. Игорь предложил отслеживать CVS, где изменения вроде как в правильную сторону. Попробую помочь с этим, а пока -- pidfiles вроде как не только для monit применяются, или это просто слишком привычный UNIX-костыль? -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-08-27 9:12 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-08-24 9:15 [sisyphus] " Sergey Solopov 2003-08-24 11:21 ` Dmitriy Gnidchenko 2003-08-24 17:24 ` Dmitry V. Levin 2003-08-26 17:13 ` Dmitry V. Levin 2003-08-27 9:12 ` Michael Shigorin [this message] 2003-08-27 11:10 ` [sisyphus] " Dmitry V. Levin 2003-08-27 11:27 ` Michael Shigorin 2003-08-27 12:45 ` Dmitry V. Levin 2003-08-27 13:40 ` Michael Shigorin 2003-08-29 16:12 ` [sisyphus] Michael Shigorin 2003-08-29 16:23 ` Serge Ryabchun 2003-08-29 16:28 ` Michael Shigorin 2003-08-30 17:39 ` [sisyphus] Re: .mov? Michael Shigorin 2003-08-30 16:34 ` [sisyphus] winex ? Ilya 2003-08-30 12:26 ` [sisyphus] .mov? Alexandre Prokoudine 2003-08-24 19:42 ` [sisyphus] bind 9 & monit Dmitry V. Levin
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=20030827091241.GD12801@osdn.org.ua \ --to=mike@osdn.org.ua \ --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