Symptoms
-
The following error is returned when customizing the global DNS Configuration at Tools & Settings > DNS Settings:
dnsmng failed: dnsmng: Could not start named-checkconf
System error 2: No such file or directory -
When manually adjusting the DNS records via Domains > example.com > Hosting and DNS > DNS Settings, upon pressing Update button, Plesk is redirected to Tools & Settings page with the Warning:
Permission denied.
-
The following error is triggered in the /var/log/syslog:
Jul 25 22:04:17 hostname.com named[926361]: couldn't mkdir '//run': Permission denied
Jul 25 22:04:17 hostname.com named[926361]: could not create //run/named/session.key
Jul 25 22:04:17 hostname.com named[926361]: failed to generate session key for dynamic DNS: permission deniedThere is no session.key in /run/named/, yet the permissions are correct (compared with test).
-
Also other errors reported:
dnsmng failed: Fatal error: boost::process::process_error(execve failed: No such file or directory)
Cause
named-checkconf and named-checkzone are not available in /usr/sbin/
.
This has been reported as bug ID PPPM-14510.
Resolution
Update Plesk to version 18.0.62.2 by following this article How to update Plesk Obsidian to the latest build? If for some reason an update is not preferred:
-
Connect to the server via SSH
-
Create a symlink:
# ln -s /usr/bin/named-checkconf /usr/sbin/named-checkconf
# ln -s /usr/bin/named-checkzone /usr/sbin/named-checkzone -
Customize configuration in Tools & Settings > DNS Settings.
Comments
0 comments
Please sign in to leave a comment.