Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo' when I use ifdown or ifup Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election Results Why I closed the “Why is Kali so hard” questionCentos 5.01 can't connect to the internetCentOS 7 - Rename network interface without rebootingWhy can't I configure a static IP on my CentOS7 system?Centos 7 disable predictable network interface names with packer/vagrantCentOS 7 teamed bridge network only works on single NICWhy do I have to restart the network service every time I turn on CentOS?unable to receive logs on CentOS 7.3 from remote devicesCentos 7: network.service failed to start because systemd starts the daemon too earlyifconfig shows the interface but no IPBridge two ethernet interfaces in virtualbox. CentOS 7

How do I stop a creek from eroding my steep embankment?

How to deal with a team lead who never gives me credit?

Should I discuss the type of campaign with my players?

Storing hydrofluoric acid before the invention of plastics

What is the musical term for a note that continously plays through a melody?

Can a non-EU citizen traveling with me come with me through the EU passport line?

Stars Make Stars

What would be the ideal power source for a cybernetic eye?

Problem drawing boxes with arrows in tikZ

What are the pros and cons of Aerospike nosecones?

Disable hyphenation for an entire paragraph

Can inflation occur in a positive-sum game currency system such as the Stack Exchange reputation system?

How much radiation do nuclear physics experiments expose researchers to nowadays?

When is phishing education going too far?

Letter Boxed validator

I am not a queen, who am I?

Is 1 ppb equal to 1 μg/kg?

Do I really need recursive chmod to restrict access to a folder?

What do you call a plan that's an alternative plan in case your initial plan fails?

Why are there no cargo aircraft with "flying wing" design?

Were Kohanim forbidden from serving in King David's army?

Why does Python start at index -1 when indexing a list from the end?

The logistics of corpse disposal

What's the difference between `auto x = vector<int>()` and `vector<int> x`?



Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo' when I use ifdown or ifup



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionCentos 5.01 can't connect to the internetCentOS 7 - Rename network interface without rebootingWhy can't I configure a static IP on my CentOS7 system?Centos 7 disable predictable network interface names with packer/vagrantCentOS 7 teamed bridge network only works on single NICWhy do I have to restart the network service every time I turn on CentOS?unable to receive logs on CentOS 7.3 from remote devicesCentos 7: network.service failed to start because systemd starts the daemon too earlyifconfig shows the interface but no IPBridge two ethernet interfaces in virtualbox. CentOS 7



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















When using ifdown or ifup for the lookback interface in CentOS 7:



[root@localhost etc]# ifup lo


I have got the error below:




Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'

Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'

Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'

Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'




However if I use the ifconfig command, it shows the command(ifdown or ifup) works with success.




As I tested, the use of the ifconfig lo up/down does not show any signs of errors.



What is happening?




EDIT



I checked the ifcfg-lo file, it shows the info below:



[root@localhost etc]# ls -la /etc/sysconfig/network-scripts/ifcfg-lo
-rw-r--r--. 1 root root 254 Jun 26 20:07 /etc/sysconfig/network-scripts/ifcfg-lo









share|improve this question
















bumped to the homepage by Community 11 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • ifconfig does not use network-scripts ; please edit the question and add to it the output of ls -la /etc/sysconfig/network-scripts/ifcfg-lo

    – Rui F Ribeiro
    Jun 26 '17 at 12:41












  • Does chmod a+rx /etc/sysconfig/network-scripts/ifcfg-lo correct the situation? (probably not, I suspect it must be something with selinux...)

    – Rui F Ribeiro
    Jun 26 '17 at 13:01











  • @RuiFRibeiro it still reports the error. and in the front, I tells it even reports the mentioned error but the command works.

    – three-blocks
    Jun 26 '17 at 13:06











  • Or the command appears to work. I am sure, I do not use selinux, someone else will hopefully help you.

    – Rui F Ribeiro
    Jun 26 '17 at 13:08

















1















When using ifdown or ifup for the lookback interface in CentOS 7:



[root@localhost etc]# ifup lo


I have got the error below:




Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'

Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'

Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'

Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'




However if I use the ifconfig command, it shows the command(ifdown or ifup) works with success.




As I tested, the use of the ifconfig lo up/down does not show any signs of errors.



What is happening?




EDIT



I checked the ifcfg-lo file, it shows the info below:



[root@localhost etc]# ls -la /etc/sysconfig/network-scripts/ifcfg-lo
-rw-r--r--. 1 root root 254 Jun 26 20:07 /etc/sysconfig/network-scripts/ifcfg-lo









share|improve this question
















bumped to the homepage by Community 11 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • ifconfig does not use network-scripts ; please edit the question and add to it the output of ls -la /etc/sysconfig/network-scripts/ifcfg-lo

    – Rui F Ribeiro
    Jun 26 '17 at 12:41












  • Does chmod a+rx /etc/sysconfig/network-scripts/ifcfg-lo correct the situation? (probably not, I suspect it must be something with selinux...)

    – Rui F Ribeiro
    Jun 26 '17 at 13:01











  • @RuiFRibeiro it still reports the error. and in the front, I tells it even reports the mentioned error but the command works.

    – three-blocks
    Jun 26 '17 at 13:06











  • Or the command appears to work. I am sure, I do not use selinux, someone else will hopefully help you.

    – Rui F Ribeiro
    Jun 26 '17 at 13:08













1












1








1








When using ifdown or ifup for the lookback interface in CentOS 7:



[root@localhost etc]# ifup lo


I have got the error below:




Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'

Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'

Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'

Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'




However if I use the ifconfig command, it shows the command(ifdown or ifup) works with success.




As I tested, the use of the ifconfig lo up/down does not show any signs of errors.



What is happening?




EDIT



I checked the ifcfg-lo file, it shows the info below:



[root@localhost etc]# ls -la /etc/sysconfig/network-scripts/ifcfg-lo
-rw-r--r--. 1 root root 254 Jun 26 20:07 /etc/sysconfig/network-scripts/ifcfg-lo









share|improve this question
















When using ifdown or ifup for the lookback interface in CentOS 7:



[root@localhost etc]# ifup lo


I have got the error below:




Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'

Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'

Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'

Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'




However if I use the ifconfig command, it shows the command(ifdown or ifup) works with success.




As I tested, the use of the ifconfig lo up/down does not show any signs of errors.



What is happening?




EDIT



I checked the ifcfg-lo file, it shows the info below:



[root@localhost etc]# ls -la /etc/sysconfig/network-scripts/ifcfg-lo
-rw-r--r--. 1 root root 254 Jun 26 20:07 /etc/sysconfig/network-scripts/ifcfg-lo






centos ifconfig






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 26 '17 at 12:58









Rui F Ribeiro

42.1k1483142




42.1k1483142










asked Jun 26 '17 at 12:13









three-blocksthree-blocks

228718




228718





bumped to the homepage by Community 11 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 11 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.














  • ifconfig does not use network-scripts ; please edit the question and add to it the output of ls -la /etc/sysconfig/network-scripts/ifcfg-lo

    – Rui F Ribeiro
    Jun 26 '17 at 12:41












  • Does chmod a+rx /etc/sysconfig/network-scripts/ifcfg-lo correct the situation? (probably not, I suspect it must be something with selinux...)

    – Rui F Ribeiro
    Jun 26 '17 at 13:01











  • @RuiFRibeiro it still reports the error. and in the front, I tells it even reports the mentioned error but the command works.

    – three-blocks
    Jun 26 '17 at 13:06











  • Or the command appears to work. I am sure, I do not use selinux, someone else will hopefully help you.

    – Rui F Ribeiro
    Jun 26 '17 at 13:08

















  • ifconfig does not use network-scripts ; please edit the question and add to it the output of ls -la /etc/sysconfig/network-scripts/ifcfg-lo

    – Rui F Ribeiro
    Jun 26 '17 at 12:41












  • Does chmod a+rx /etc/sysconfig/network-scripts/ifcfg-lo correct the situation? (probably not, I suspect it must be something with selinux...)

    – Rui F Ribeiro
    Jun 26 '17 at 13:01











  • @RuiFRibeiro it still reports the error. and in the front, I tells it even reports the mentioned error but the command works.

    – three-blocks
    Jun 26 '17 at 13:06











  • Or the command appears to work. I am sure, I do not use selinux, someone else will hopefully help you.

    – Rui F Ribeiro
    Jun 26 '17 at 13:08
















ifconfig does not use network-scripts ; please edit the question and add to it the output of ls -la /etc/sysconfig/network-scripts/ifcfg-lo

– Rui F Ribeiro
Jun 26 '17 at 12:41






ifconfig does not use network-scripts ; please edit the question and add to it the output of ls -la /etc/sysconfig/network-scripts/ifcfg-lo

– Rui F Ribeiro
Jun 26 '17 at 12:41














Does chmod a+rx /etc/sysconfig/network-scripts/ifcfg-lo correct the situation? (probably not, I suspect it must be something with selinux...)

– Rui F Ribeiro
Jun 26 '17 at 13:01





Does chmod a+rx /etc/sysconfig/network-scripts/ifcfg-lo correct the situation? (probably not, I suspect it must be something with selinux...)

– Rui F Ribeiro
Jun 26 '17 at 13:01













@RuiFRibeiro it still reports the error. and in the front, I tells it even reports the mentioned error but the command works.

– three-blocks
Jun 26 '17 at 13:06





@RuiFRibeiro it still reports the error. and in the front, I tells it even reports the mentioned error but the command works.

– three-blocks
Jun 26 '17 at 13:06













Or the command appears to work. I am sure, I do not use selinux, someone else will hopefully help you.

– Rui F Ribeiro
Jun 26 '17 at 13:08





Or the command appears to work. I am sure, I do not use selinux, someone else will hopefully help you.

– Rui F Ribeiro
Jun 26 '17 at 13:08










2 Answers
2






active

oldest

votes


















0














First of all stop Using ifconfig command anymore with Centos 7 version and later versions because it doesnt give you full information about your network card parameters (For example if you assigened 2 IP addresses to your Card)
instead use ipa command or ip addr show command.
Second This problem is currently being tracked as a bug by Red Hat.
To Fix this problem: Add NM_CONTROLLED=no to /etc/sysconfig/network-scripts/ifcfg-lo.
Root Cause: ifcfg-rh plugin in NetworkManager does not support loopback interface type and logs a message about it in system log.






share|improve this answer






























    0














    If you want to fully resolve this issues, update to higher version.
    And in current version you can fix it by adding "NM_CONTROLLED=no" to /etc/sysconfig/network-scripts/ifcfg-lo configuration file, then restart the network following this link https://access.redhat.com/solutions/1549693






    share|improve this answer


















    • 1





      Please add some details from the external webpage in your answer, using the page as a reference rather than the primary resource.

      – Munir
      Jan 5 '18 at 3:58











    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f373441%2fcould-not-load-file-etc-sysconfig-network-scripts-ifcfg-lo-when-i-use-ifdown%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    First of all stop Using ifconfig command anymore with Centos 7 version and later versions because it doesnt give you full information about your network card parameters (For example if you assigened 2 IP addresses to your Card)
    instead use ipa command or ip addr show command.
    Second This problem is currently being tracked as a bug by Red Hat.
    To Fix this problem: Add NM_CONTROLLED=no to /etc/sysconfig/network-scripts/ifcfg-lo.
    Root Cause: ifcfg-rh plugin in NetworkManager does not support loopback interface type and logs a message about it in system log.






    share|improve this answer



























      0














      First of all stop Using ifconfig command anymore with Centos 7 version and later versions because it doesnt give you full information about your network card parameters (For example if you assigened 2 IP addresses to your Card)
      instead use ipa command or ip addr show command.
      Second This problem is currently being tracked as a bug by Red Hat.
      To Fix this problem: Add NM_CONTROLLED=no to /etc/sysconfig/network-scripts/ifcfg-lo.
      Root Cause: ifcfg-rh plugin in NetworkManager does not support loopback interface type and logs a message about it in system log.






      share|improve this answer

























        0












        0








        0







        First of all stop Using ifconfig command anymore with Centos 7 version and later versions because it doesnt give you full information about your network card parameters (For example if you assigened 2 IP addresses to your Card)
        instead use ipa command or ip addr show command.
        Second This problem is currently being tracked as a bug by Red Hat.
        To Fix this problem: Add NM_CONTROLLED=no to /etc/sysconfig/network-scripts/ifcfg-lo.
        Root Cause: ifcfg-rh plugin in NetworkManager does not support loopback interface type and logs a message about it in system log.






        share|improve this answer













        First of all stop Using ifconfig command anymore with Centos 7 version and later versions because it doesnt give you full information about your network card parameters (For example if you assigened 2 IP addresses to your Card)
        instead use ipa command or ip addr show command.
        Second This problem is currently being tracked as a bug by Red Hat.
        To Fix this problem: Add NM_CONTROLLED=no to /etc/sysconfig/network-scripts/ifcfg-lo.
        Root Cause: ifcfg-rh plugin in NetworkManager does not support loopback interface type and logs a message about it in system log.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jun 29 '17 at 0:25









        Blacky BirdBlacky Bird

        1012




        1012























            0














            If you want to fully resolve this issues, update to higher version.
            And in current version you can fix it by adding "NM_CONTROLLED=no" to /etc/sysconfig/network-scripts/ifcfg-lo configuration file, then restart the network following this link https://access.redhat.com/solutions/1549693






            share|improve this answer


















            • 1





              Please add some details from the external webpage in your answer, using the page as a reference rather than the primary resource.

              – Munir
              Jan 5 '18 at 3:58















            0














            If you want to fully resolve this issues, update to higher version.
            And in current version you can fix it by adding "NM_CONTROLLED=no" to /etc/sysconfig/network-scripts/ifcfg-lo configuration file, then restart the network following this link https://access.redhat.com/solutions/1549693






            share|improve this answer


















            • 1





              Please add some details from the external webpage in your answer, using the page as a reference rather than the primary resource.

              – Munir
              Jan 5 '18 at 3:58













            0












            0








            0







            If you want to fully resolve this issues, update to higher version.
            And in current version you can fix it by adding "NM_CONTROLLED=no" to /etc/sysconfig/network-scripts/ifcfg-lo configuration file, then restart the network following this link https://access.redhat.com/solutions/1549693






            share|improve this answer













            If you want to fully resolve this issues, update to higher version.
            And in current version you can fix it by adding "NM_CONTROLLED=no" to /etc/sysconfig/network-scripts/ifcfg-lo configuration file, then restart the network following this link https://access.redhat.com/solutions/1549693







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jan 5 '18 at 3:54









            Nguyen BacNguyen Bac

            11




            11







            • 1





              Please add some details from the external webpage in your answer, using the page as a reference rather than the primary resource.

              – Munir
              Jan 5 '18 at 3:58












            • 1





              Please add some details from the external webpage in your answer, using the page as a reference rather than the primary resource.

              – Munir
              Jan 5 '18 at 3:58







            1




            1





            Please add some details from the external webpage in your answer, using the page as a reference rather than the primary resource.

            – Munir
            Jan 5 '18 at 3:58





            Please add some details from the external webpage in your answer, using the page as a reference rather than the primary resource.

            – Munir
            Jan 5 '18 at 3:58

















            draft saved

            draft discarded
















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f373441%2fcould-not-load-file-etc-sysconfig-network-scripts-ifcfg-lo-when-i-use-ifdown%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            -centos, ifconfig

            Popular posts from this blog

            Mobil Contents History Mobil brands Former Mobil brands Lukoil transaction Mobil UK Mobil Australia Mobil New Zealand Mobil Greece Mobil in Japan Mobil in Canada Mobil Egypt See also References External links Navigation menuwww.mobil.com"Mobil Corporation"the original"Our Houston campus""Business & Finance: Socony-Vacuum Corp.""Popular Mechanics""Lubrite Technologies""Exxon Mobil campus 'clearly happening'""Toledo Blade - Google News Archive Search""The Lion and the Moose - How 2 Executives Pulled off the Biggest Merger Ever""ExxonMobil Press Release""Lubricants""Archived copy"the original"Mobil 1™ and Mobil Super™ motor oil and synthetic motor oil - Mobil™ Motor Oils""Mobil Delvac""Mobil Industrial website""The State of Competition in Gasoline Marketing: The Effects of Refiner Operations at Retail""Mobil Travel Guide to become Forbes Travel Guide""Hotel Rankings: Forbes Merges with Mobil"the original"Jamieson oil industry history""Mobil news""Caltex pumps for control""Watchdog blocks Caltex bid""Exxon Mobil sells service station network""Mobil Oil New Zealand Limited is New Zealand's oldest oil company, with predecessor companies having first established a presence in the country in 1896""ExxonMobil subsidiaries have a business history in New Zealand stretching back more than 120 years. We are involved in petroleum refining and distribution and the marketing of fuels, lubricants and chemical products""Archived copy"the original"Exxon Mobil to Sell Its Japanese Arm for $3.9 Billion""Gas station merger will end Esso and Mobil's long run in Japan""Esso moves to affiliate itself with PC Optimum, no longer Aeroplan, in loyalty point switch""Mobil brand of gas stations to launch in Canada after deal for 213 Loblaws-owned locations""Mobil Nears Completion of Rebranding 200 Loblaw Gas Stations""Learn about ExxonMobil's operations in Egypt""Petrol and Diesel Service Stations in Egypt - Mobil"Official websiteExxon Mobil corporate websiteMobil Industrial official websiteeeeeeeeDA04275022275790-40000 0001 0860 5061n82045453134887257134887257

            My Life (Mary J. Blige album) Contents Background Critical reception Accolades Commercial performance Track listing Personnel Charts Certifications See also References External links Navigation menu"1. Mary J Blige, My Life - The 50 Best R&B albums of the '90s""American album certifications – Mary J. Blige – My Life""Mary J. Blige's My Life LP (1994) revisited with co-producer Chucky Thompson | Return To The Classics"the original"Key Tracks: Mary J. Blige's My Life""My Life – Mary J. Blige""Worth The Wait""My Life""Forget '411,' Mary J., Better Call 911""Spins"My Life AccoladesThe 500 Greatest Albums of All TimeTime's All-TIME 100 Albums"Top RPM Albums: Issue chartid""Dutchcharts.nl – Mary J. Blige – My Life""Mary J. Blige | Artist | Official Charts""Mary J. Blige Chart History (Billboard 200)""Mary J. Blige Chart History (Top R&B/Hip-Hop Albums)""Canadian album certifications – Mary J Blige – My Life""British album certifications – Mary J Blige – My Life""American album certifications – Mary J Blige – My Life"My LifeMy Life accoladesee

            Frič See also Navigation menuinternal link