If we get this error in Ubuntu while restarting network service.

Here /etc/resolv.conf is a file move it to /run/resolvconf/resolv.conf.

 

# sudo mv /etc/resolv.conf /run/resolvconf/resolv.conf

Then create the symlink using ln -s.

# sudo ln -s ../run/resolvconf/resolv.conf /etc/resolv.conf

Then restart the network service

# sudo /etc/init.d/networking restart

Or there is an Alternative way to reconfigure the network service by issuing following command.

# sudo dpkg-reconfigure resolvconf

This will be solution for the titled error.

Babin Lonston
Overall 14+ Years of experience in IT field, 7+ years of experience in Linux administration with Virtualization & Cloud technologies. Love documentation and being Numismatics for a long time.

Chroot Ubuntu or recovering from multi boot issue (windows Installation)

Previous article

Setting up a Ruby gem server to use locally

Next article

You may also like

Comments

Leave a reply

Your email address will not be published.