• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Issue Problem with restoring DNS settings, `Error occurred during /bin/cp command.`

jmar83

Regular Pleskian
So we see, /bin/cp is existing:


root@h2845013:~# ls /bin/cp
/bin/cp



So where is the problem?

Full messages are:

- The NS configuration file '/var/named/run-root/etc/named.conf' is absent.
- Restoring the DNS configuration file '/var/named/run-root/etc/named.conf' filemng failed: filemng: Error occurred during /bin/cp command.


Thx for feedback,
Jan
 
Have you tried to fix it with

# plesk repair dns

?
 
I think the process i've started is for problem detection and fixing for ALL plesk components - not just DNS?
 
j have this issue now too.
Code:
plesk repair dns

Checking the DNS configuration file

  The NS configuration file '/var/named/run-root/etc/named.conf' is   
  absent ............................................................ [ERROR]
 
  Restore the DNS configuration file from '/var/named/run-root/etc/named.conf.default'? [Y/n] y
    Restoring the DNS configuration file                             
    '/var/named/run-root/etc/named.conf' ............................ [2020-05-04 08:47:10.283] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/filemng' 'root' 'cp' '-r' '/var/named/run-root/etc/named.conf.default' '/var/named/run-root/etc/named.conf' '--allow-root'] with exit code [1]
[FAILED]
    - filemng failed: filemng: Error occurred during /bin/cp command.

Restoring DNS server configuration
 
  Synchronize DNS zones with the DNS server? [Y/n] y
    Synchronizing DNS zones with the DNS server ..................... [OK]

Error messages: 1; Warnings: 0; Errors resolved: 0


PHP Fatal error:  Uncaught PleskMultipleException: Error during adomain1.de updateZone: dnsmng failed: dnsmng: Unable to open DNS config file: No such file or directory

System error 2: No such file or directory

Error during adomain2.de updateZone: dnsmng failed: dnsmng: Unable to open DNS config file: No such file or directory

System error 2: No such file or directory

Error during adomain3.de updateZone: dnsmng failed: dnsmng: Unable to open DNS config file: No such file or directory

System error 2: No such file or directory

Error during adomain4.de updateZone: dnsmng failed: dnsmng: Unable to open DNS config file: No such file or directory

System error 2: No such file or directory

Error during adomain5.de updateZone: dnsmng failed: dnsmng: Unable to open DNS config file: No such file or directory

System error 2: No such file or directory

Error during adomain6.de updateZone: dnsmng failed: dnsmng: Unable to open DNS config file: No such file or directory

System error 2: No such file or directo in /opt/psa/admin/plib/Service/Dns/Connector/Plesk.php on line 14
exit status 1

here some information
 
Back
Top