resolvconf: Error: /etc/resolv.conf isn’t a symlink, not doing anything

0 0
0 0

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.

resolvconf: Error: /etc/resolv.conf isn't a symlink, not doing anything 1

About Author

Babin Lonston

Overall 14+ Years of experience in the IT field, currently working as a Senior Linux administration with Virtualization & Cloud. Being numismatist for a long time.
Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %

Leave a Comment

Subscribe To Our Newsletter

Subscribe To Our Newsletter

Join our mailing list to receive the latest news and updates from our team.

We promise not to spam you, and we don't usually send more than one email a week.

You have Successfully Subscribed!