Tag Archives: ERROR: Can’t change file /etc/resolv.conf – virtuozzo

Error when booting a Virtuozzo VPS !

Are you facing the following error when you try to boot up a Virtuozzo VPS ?

 
mv: cannot move `/etc/resolv.conf.xxxx' to /etc/resolv.conf': Operation not permitted
ERROR: Can't change file /etc/resolv.conf
File resolv.conf was modified

This might be if you have set an immutable flag on the file
/etc/resolv.conf.

This file is automatically generated at boot based on the VPS conf.
So, remove/rename the file /etc/resolv.conf ( for the respective VPS )
from the Virtuozzo node and reboot the VPS in question.