Adding new nameservers causes odd error

On my NS1, I added 2 more name servers as part of a cluster in the bind module. Upon trying to push the domains to the slaves, I get this error:

Failed to add server : flush_file_lines called on non-loaded file /etc/named.conf

I can't find any definitive reason for that in any of the trackers.

Status: 
Closed (fixed)

Comments

Hmm, that's a pretty strange error! What are the contents of your /etc/named.conf file on that server?

Also, what output does this command produce:

ls -l /etc/named.conf

Thanks!

Steffan's picture
Submitted by Steffan on Wed, 10/12/2016 - 22:28 Pro Licensee

[root@ns1 ~]# ls -l /etc/named.conf
-rw-r----- 1 root named 1008 Jul 19  2010 /etc/named.conf

This one is chrooted but the new NS3 and NS4 are not. It seems to have pushed the zones. I will be replacing my NS1 and NS2 soon.

Which specific page in Webmin or Virtualmin were you on when you got that original error message?

Steffan's picture
Submitted by Steffan on Wed, 10/12/2016 - 22:38 Pro Licensee

On my NS1, I added the new NS3 and NS4 into the cluster and upon pushing the zones to them, that error came up. Is it because the NS1 (master) is/was chrooted (I think you turned that off) and the new NS3 and NS4 are not chrooted?

OK, I see the bug - this will be fixed in the next Webmin release.

Status: Active ยป Fixed
Steffan's picture
Submitted by Steffan on Wed, 10/12/2016 - 22:50 Pro Licensee

Ok... Seems I'm keeping you busy. With all the other things I've worked on with you, will all these hit at the same time? LOL

Steffan's picture
Submitted by Steffan on Sun, 10/16/2016 - 02:50 Pro Licensee

You said you fixed this. Can I get a patch until the next release?

Failed to add server : flush_file_lines called on non-loaded file /etc/named.conf