Error/etc/resolv. conf isn' t a symlink, not doing anything. [solution]

Source: Internet
Author: User
Tags symlink

After the interfaces file is configured, run the/etc/init. d/networking restart command to restart the network configuration. The following error occurs:

* Running/etc/init. d/networking restart is deprecated because it may not enable again some interfaces * reconfiguring network interfaces... resolvconf: Error:/etc/resolv. conf isn't a symlink, not doing anything. rtnetlink answers: file existsfailed to bring up eth0.resolvconf: Error:/etc/resolv. conf isn't a symlink, not doing anything. * setting up iSCSI targets... done. SSH stop/waitingssh start/running, process 15220... done.

 

Solution:

Sudo dpkg-reconfigure resolvconf

 

Attach my complete interfaces file:

Auto loiface lo Inet loopbackauto eth0iface eth0 Inet static address 192.168.1.188 // ipnetmask mask 255.255.0 // subnet mask gateway 192.168.1.1 // gateway # broadcast 192.168.1.255 # DNS-nameservers 192.168.1.1

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.