• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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