• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Resolved error writing NTA file for view '_bind'

FredFoster

New Pleskian
Server operating system version
Debian 10
Plesk version and microupdate number
Last version of Plesk
Hi Everyone

A couple of days ago, I upgraded my OS version from Debian 9 to 10. Since then, I have been facing a problem with the bind installation

I’ve got theses two messages errors in the bind.service status :
”……
error writing NTA file for view '_default': permission denied
error writing NTA file for view '_bind': permission denied
…..”

I really don’t which file might be related

I really appreciate any help

Thanks

Freddy
 
Looks like something is wrong with /var/named directory permissions. Check it with

Code:
# stat /var/named
  File: /var/named
  Size: 22              Blocks: 0          IO Block: 4096   directory
Device: 801h/2049d      Inode: 23116614    Links: 3
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)

# ls -la /var/named/
# ls -la /var/named/run-root/
 
Maybe too late for the topic starter, but seems reasonable for those who will face the problem on dist-upgrade.
I’ve had the same problem as described in the original post and the problem was in Apparmor.
Just check /var/log/messages file for errors.
AppArmor is installed and enabled by default in Debian 10.
So, I just added
/var/named/* rw,
into /etc/apparmor.d/local/usr.sbin.named and the problem gone.
 
Back
Top