System Information Reports Bind Not Up but named running?

Running Virtualmin 4.05

There is a red "X" and green arrow beside "BIND DNS Server" under "Status" on the System Information page. Clicking the green arrow does not change this.

when I check the named status I get:

[root@mx ~]# service named status version: 9.8.2rc1-RedHat-9.8.2-0.23.rc1.el6_5.1 CPUs found: 4 worker threads: 4 number of zones: 28 debug level: 0 xfers running: 0 xfers deferred: 0 soa queries in progress: 0 query logging is OFF recursive clients: 1/0/1000 tcp clients: 0/100 server is up and running named (pid 1178) is running...

What should I look for to fix this?



The BIND module might be looking in the wrong place for the PID file. You can edit that location in "Webmin -> Servers -> BIND -> Module Configuration -> System configuration".

I looked there and found "Default PID file location(s)" set to /var/run/named/

I looked in /var/run/ and found an empty "named" directory and "" which is a link to "/var/named/chroot//var/run/named/". The linked-to file exists and contains the pid of named.

I note that in the Bind Module System configuration, "PID file is under chroot directory?" is set to yes.

I changed the "Default PID file location(s)" to /var/run/, saved the configuration, restarted named (from the command line), went to the System Information page and refreshed. No change. I clicked the green arrow, no change.

I went back to Webmin -> Servers -> BIND -> Module Configuration -> System configuration

I changed the "Default PID file location(s)" back to /var/run/named/

Saved the configuration again.

Now, with everything set back to where it was when I first noticed the problem, System Information reports that Bind is running!

This seems an odd result, but at least System Information is now reporting correctly.

Thanks for pointing me in this direction.