Fail to start OpenVZ VPS: ERROR: Can't copy file /etc/resolvconf/resolv.conf.d/base

Have more questions? Submit a request

Applicable to:

  • SolusVM

Symptoms 

  • Fail to start SolusVM OpenVZ VPS - VPS stays offline
  • When trying to Reboot server with debug at SolusVM > Virtual Servers > VPS > Reboot(Debug) there is an error:

    CONFIG_TEXT: ERROR: Can't copy file /etc/resolvconf/resolv.conf.d/base 

Cause

/etc/resolvconf/resolv.conf.d/ directory is missing inside the VPS

Resolution

  1. Connect to OpenVZ node via SSH
  2. Unassign all the IP addresses for the affected VPS and restart it:

    # vzctl set CTID --ipdel <IP_Address> --save
    # vzctl restart CTID

  3. Create missing directory inside the VPS:

    # vzctl exec CTID mkdir -p /etc/resolvconf/resolv.conf.d

  4. Login to SolusVM admin panel
  5. Reboot the VPS at SolusVM > Virtual Servers > VPS > Reboot

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.