From: Martin M. <mm...@me...> - 2004-02-19 08:56:54
|
Howdy folks, I think I reported this some days ago but did not get a response, so maybe you missed it. I have recently upgraded my Bind and now Webmin says it is not running. Bind (Version 9.2.3-1.backports.org.1) is up and running, but a) Webmin checks for it every five minutes in the System and Server Status-Module and reports an error. b) In Virtualmin (latest version) reports Bind is down d) The Bind-Module itself says it is not up and running If I do a ps ds217-115-144-166:/etc/mail# pp | grep named 3907 ? S 0:00 /usr/sbin/named 3908 ? S 0:04 \_ /usr/sbin/named 3909 ? S 0:08 \_ /usr/sbin/named 3910 ? S 0:01 \_ /usr/sbin/named 3911 ? S 0:01 \_ /usr/sbin/named I can find it. The search for the PID-file says ds217-115-144-166:/etc/mail# locate named.pid /var/run/bind/run/named.pid So I went back to the Bind-Modules-Configuration and explicity set the location of the PID-File to that file and everything works ok. Maybe this is a weird configuration, because I use a backport of Bind. Can someone confirm this issue. bis dahin - kind regards Martin Mewes --=20 http://webmin.mamemu.de/ Official Webmin/Usermin Translation Co-Ordinator 2003/2004 Proud Forte Agent 2.0 Beta Tester |
From: Jamie C. <jca...@we...> - 2004-02-19 22:15:36
|
It looks like BIND is running under a chroot directory, perhaps /var/run/bind. Is that the case on your system? It is quite possible that a new version of the Debian BIND package has changed the default location of the PID file. However, Webmin should be able to find it automatically by looking at the pid-file directive in named.conf (assuming there is one). - Jamie On Thu, 2004-02-19 at 19:51, Martin Mewes wrote: > Howdy folks, > > I think I reported this some days ago but did not get a response, so > maybe you missed it. > > I have recently upgraded my Bind and now Webmin says it is not > running. Bind (Version 9.2.3-1.backports.org.1) is up and running, but > > a) Webmin checks for it every five minutes in the System and Server > Status-Module and reports an error. > b) In Virtualmin (latest version) reports Bind is down > d) The Bind-Module itself says it is not up and running > > If I do a ps > > ds217-115-144-166:/etc/mail# pp | grep named > 3907 ? S 0:00 /usr/sbin/named > 3908 ? S 0:04 \_ /usr/sbin/named > 3909 ? S 0:08 \_ /usr/sbin/named > 3910 ? S 0:01 \_ /usr/sbin/named > 3911 ? S 0:01 \_ /usr/sbin/named > > I can find it. > > The search for the PID-file says > > ds217-115-144-166:/etc/mail# locate named.pid > /var/run/bind/run/named.pid > > So I went back to the Bind-Modules-Configuration and explicity set the > location of the PID-File to that file and everything works ok. > > Maybe this is a weird configuration, because I use a backport of Bind. > Can someone confirm this issue. > > > bis dahin - kind regards > > Martin Mewes |
From: Conny B. <ko...@ni...> - 2004-03-25 22:10:00
|
2004-02-19 kl. 23.09 skrev Jamie Cameron: > It looks like BIND is running under a chroot directory, perhaps > /var/run/bind. Is that the case on your system? > Yes, that seems to be the case. I had once the exact same behavior on one system. > It is quite possible that a new version of the Debian BIND package has > changed the default location of the PID file. However, Webmin should be > able to find it automatically by looking at the pid-file directive in > named.conf (assuming there is one). Oh, that explains it. The pid-file statement not in named.conf itself but in a separate, included file (named.conf.options). At least if I'm not confusing myself - I'm unable to check it at the moment. Martin, maybe you can confirm that you have a statement like: include "named.conf.options"; ...in your /etc/bind/named.conf? //conny |
From: Martin M. <mm...@me...> - 2004-03-26 08:56:00
|
Hi Conny, Conny Brunnkvist <ko...@ni...> wrote: >Oh, that explains it. The pid-file statement not in named.conf itself=20 >but in a separate, included file (named.conf.options). At least if I'm=20 >not confusing myself - I'm unable to check it at the moment. >Martin, maybe you can confirm that you have a statement like: > > include "named.conf.options"; > >...in your /etc/bind/named.conf? root@ds217-115-144-166:~# named -v BIND 9.2.3 root@ds217-115-144-166:~# locate named.conf /etc/bind/named.conf /etc/bind/named.conf.dpkg-dist /etc/bind/named.conf.local /etc/bind/named.conf.options /etc/bind/named.conf~ /root/backup/bind/named.conf root@ds217-115-144-166:~# grep include /etc/bind/named.conf nothing, next one is testing "grep" only ... root@ds217-115-144-166:~# grep port /etc/bind/named.conf // questions using port 53, but BIND 8.1 and later use an unprivileged // port by default. // query-source address * port 53; bis dahin - kind regards Martin Mewes --=20 http://webmin.mamemu.de/ Official Webmin/Usermin Translation Co-Ordinator 2003/2004 Proud Forte Agent 2.0 Beta Tester |