• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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