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
Submitted by andreychek on Wed, 10/12/2016 - 22:25 Comment #1
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!
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.
Submitted by JamieCameron on Wed, 10/12/2016 - 22:37 Comment #3
Which specific page in Webmin or Virtualmin were you on when you got that original error message?
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?
Submitted by JamieCameron on Wed, 10/12/2016 - 22:49 Comment #5
OK, I see the bug - this will be fixed in the next Webmin release.
Submitted by JamieCameron on Wed, 10/12/2016 - 22:49 Comment #6
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
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
Submitted by JamieCameron on Sun, 10/16/2016 - 12:52 Comment #9
Yes, you can see the fix here : https://github.com/webmin/webmin/commit/56270624d1b0e073c3c13f1e938c2084...