Network interfaces error


 
Thread Tools Search this Thread
Operating Systems Linux Network interfaces error
# 1  
Old 10-27-2017
Network interfaces error

I just ran sudo service networking start on Ubuntu 16.00 and came out with error message
Code:
Job for networking service failed because control process exited with error code see systemctl status networking.service

I tried to also run this command
Code:
systemctl status networking.service

I also got an error message
Code:
failed to start Raise network interfaces

Moderator's Comments:
Mod Comment Please use CODE tags as required by forum rules!

Last edited by RudiC; 10-27-2017 at 12:14 PM.. Reason: Added CODE tags.
# 2  
Old 10-27-2017
Well, that might be the first step in a long and stony itinerary. You now need to investigate why it failed to start. Could the IFs be raised before? When did that stop functioning? Any system / systemd modifications ever since? Possible HW failures? Or, maybe a far fetched thought: does it fail because the IFs are already running?

Above is stating that the service can't raise the interface(s). Is that all or do you get more info?
When I issue the command
Code:
systemctl status networking.service
● networking.service - Raise network interfaces
   Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
   Active: active (exited) since Fri 2017-10-27 09:48:38 CEST; 8h ago
     Docs: man:interfaces(5)
. . .

you see IFs have been raised, but there's also a hint to read a man page. Therein, there are references to config files which you might want to double check (Are the right IFs listed? Do they exist?) and examples plus links for further reading like e.g. the Debian Reference manual.
# 3  
Old 10-27-2017
thanks
I did add a route in the /etc/network/interface file
and wanted to stop and start the networking service using
service networking stop and start

---------- Post updated at 12:27 PM ---------- Previous update was at 12:21 PM ----------

Code:
systemctl status networking.service
● networking.service - Raise network interfaces
   Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor prese
  Drop-In: /run/systemd/generator/networking.service.d
           └─50-insserv.conf-$network.conf
   Active: failed (Result: exit-code) since Fri 2017-10-27 16:50:42 BST; 12s ago
     Docs: man:interfaces(5)
  Process: 16089 ExecStart=/sbin/ifup -a --read-environment (code=exited, status
  Process: 16079 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] &&
 Main PID: 16089 (code=exited, status=1/FAILURE)

Oct 27 16:50:42 ukldn-ixhs-nms02 systemd[1]: Starting Raise network interfaces..
Oct 27 16:50:42 ukldn-ixhs-nms02 ifup[16089]: RTNETLINK answers: File exists
Oct 27 16:50:42 ukldn-ixhs-nms02 ifup[16089]: Failed to bring up ens160.
Oct 27 16:50:42 ukldn-ixhs-nms02 systemd[1]: networking.service: Main process ex
Oct 27 16:50:42 ukldn-ixhs-nms02 systemd[1]: Failed to start Raise network inter
Oct 27 16:50:42 ukldn-ixhs-nms02 systemd[1]: networking.service: Unit entered fa
Oct 27 16:50:42 ukldn-ixhs-nms02 systemd[1]: networking.service: Failed with res


Moderator's Comments:
Mod Comment Seriously! Please use CODE tags as required by forum rules!

Last edited by RudiC; 10-27-2017 at 01:45 PM.. Reason: Added CODE tags.
# 4  
Old 10-27-2017
Looks like there's something missing in your status output.

How did you add that "route"?
Did you remove that and try to restart?
# 5  
Old 10-27-2017
I just added it to the file /etc/network/interfaces
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

network interfaces on vio server

Hi, I would like to know after the installation of vio server. how many logical network interfaces will be created on vio server if I am having two physical interfaces on vio server. I am asking this question because I would like know to on the basis of logical network interfaces creation on... (0 Replies)
Discussion started by: manoj.solaris
0 Replies

2. UNIX for Dummies Questions & Answers

/etc/network/interfaces

i need a one liner command that writes in /var/log/net.log the date when i connect to the network and when i disconect ..i know that i need to write somethin in /etc/network/interfaces but idk what ! please help (1 Reply)
Discussion started by: g0dlik3
1 Replies

3. UNIX for Advanced & Expert Users

How to bond network interfaces

All, I have a quad NIC on a V880 running Solaris 9. I've heard you can bond interfaces together and get better throughput. I found this link that seems to describe the process well. However, the command mentioned (dladm) is missing. Is there some package I need to install to get this command? Thx.... (2 Replies)
Discussion started by: agcodba
2 Replies

4. Debian

/etc/network/interfaces problem

Hello i am configuring a debian lenny sever ,/etc/network/interfaces is modified so that eth1 takes a static IP address then i save it wq! then i restart the networking , /etc/init.d/networking restart . but after reboot ,the file is reset ,note that the interfaces had by defauklt IPv6 address... (5 Replies)
Discussion started by: learn82
5 Replies

5. Solaris

Network Interfaces

I got second IOU in my M5000 but not able bring internal network interfcae .. ike i don't get link on those 2 interfaces .. and the same network cable plugged in PCI network card it works like a charm Is there any special way to enable the internal IOU interfaces or i have bad nics ? (8 Replies)
Discussion started by: fugitive
8 Replies

6. AIX

NIM w/ two network interfaces

Hi all, this is my first post on this forum. My main problem is this: I have a NIM server that I am trying to configure two interfaces on. One interface is for an internal Admin VLAN, the other is so that the server can use SUMA to pull updates. The problem is that I need help w/ the routing.... (1 Reply)
Discussion started by: snakernetb
1 Replies

7. AIX

NIM w/ two network interfaces

Hi all, this is my first post on this forum. My main problem is this: I have a NIM server that I am trying to configure two interfaces on. One interface is for an internal Admin VLAN, the other is so that the server can use SUMA to pull updates. The problem is that I need help w/ the routing.... (0 Replies)
Discussion started by: snakernetb
0 Replies

8. SCO

Network interfaces problem

Hi, I have problems with my SCO unix network interfaces. Intel integrated adapter was failing, so I installed new one - 3COM adapter into free PCI slot. Installed driver using SCO Software manager - successfully Added new Network adapter using SCO Network configuration manager - successfully... (0 Replies)
Discussion started by: vilius
0 Replies

9. IP Networking

Network interfaces problem

Hi, I have problems with my SCO unix network interfaces. Intel integrated adapter was failing, so I installed new one - 3COM adapter into free PCI slot. Installed driver using SCO Software manager - successfully Added new Network adapter using SCO Network configuration manager - successfully... (0 Replies)
Discussion started by: vilius
0 Replies

10. Solaris

HOW-TO Retrieve all network interfaces??!

Yes. But just wait a bit. How to do it via system calls? I'm just a newbie in Unix\Linux\Solaris e.t.c. programming. Can anyone help me? I need an advice probably how to do it or may be what API to read... :) Please, help... (2 Replies)
Discussion started by: LocalStorm
2 Replies
Login or Register to Ask a Question