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

            Frič See also Navigation menuinternal link

            Identify plant with long narrow paired leaves and reddish stems Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?What is this plant with long sharp leaves? Is it a weed?What is this 3ft high, stalky plant, with mid sized narrow leaves?What is this young shrub with opposite ovate, crenate leaves and reddish stems?What is this plant with large broad serrated leaves?Identify this upright branching weed with long leaves and reddish stemsPlease help me identify this bulbous plant with long, broad leaves and white flowersWhat is this small annual with narrow gray/green leaves and rust colored daisy-type flowers?What is this chilli plant?Does anyone know what type of chilli plant this is?Help identify this plant

            fontconfig warning: “/etc/fonts/fonts.conf”, line 100: unknown “element blank” The 2019 Stack Overflow Developer Survey Results Are In“tar: unrecognized option --warning” during 'apt-get install'How to fix Fontconfig errorHow do I figure out which font file is chosen for a system generic font alias?Why are some apt-get-installed fonts being ignored by fc-list, xfontsel, etc?Reload settings in /etc/fonts/conf.dTaking 30 seconds longer to boot after upgrade from jessie to stretchHow to match multiple font names with a single <match> element?Adding a custom font to fontconfigRemoving fonts from fontconfig <match> resultsBroken fonts after upgrading Firefox ESR to latest Firefox