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;
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
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.
add a comment |
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
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 ofls -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
add a comment |
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
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
centos ifconfig
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 ofls -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
add a comment |
ifconfig does not use network-scripts ; please edit the question and add to it the output ofls -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
add a comment |
2 Answers
2
active
oldest
votes
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.
add a comment |
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
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment |
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.
add a comment |
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.
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.
answered Jun 29 '17 at 0:25
Blacky BirdBlacky Bird
1012
1012
add a comment |
add a comment |
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
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
add a comment |
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
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
add a comment |
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
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
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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