• 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.

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