Home Man
Search
Today's Posts
Register

RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

Network interfaces error

Tags
linux

Login to Reply

 
Thread Tools Search this Thread
# 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:
Network interfaces error Please use CODE tags as required by forum rules!

Last edited by RudiC; 10-27-2017 at 11:14 AM.. 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:
Network interfaces error Seriously! Please use CODE tags as required by forum rules!

Last edited by RudiC; 10-27-2017 at 12: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 to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
network interfaces on vio server manoj.solaris AIX 0 10-12-2012 07:24 AM
/etc/network/interfaces g0dlik3 UNIX for Dummies Questions & Answers 1 12-02-2011 10:19 AM
How to bond network interfaces agcodba UNIX for Advanced & Expert Users 2 10-26-2010 05:22 AM
/etc/network/interfaces problem learn82 Debian 5 10-26-2010 04:50 AM
Network Interfaces fugitive Solaris 8 05-30-2009 05:08 AM
NIM w/ two network interfaces snakernetb AIX 1 03-04-2008 01:21 PM
NIM w/ two network interfaces snakernetb AIX 0 03-04-2008 11:03 AM
Network interfaces problem vilius SCO 0 09-19-2007 07:47 AM
Network interfaces problem vilius IP Networking 0 09-19-2007 07:45 AM
HOW-TO Retrieve all network interfaces??! LocalStorm Solaris 2 12-21-2005 03:16 PM


All times are GMT -4. The time now is 05:28 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password