Unix/Linux Go Back    


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

Network interfaces error

Linux


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 10-27-2017   -   Original Discussion by DOkuwa
DOkuwa's Unix or Linux Image
DOkuwa DOkuwa is offline
Registered User
 
Join Date: Jan 2011
Last Activity: 25 April 2018, 4:29 AM EDT
Posts: 33
Thanks: 2
Thanked 0 Times in 0 Posts
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.
Sponsored Links
    #2  
Old Unix and Linux 10-27-2017   -   Original Discussion by DOkuwa
RudiC's Unix or Linux Image
RudiC RudiC is offline Forum Staff  
Moderator
 
Join Date: Jul 2012
Last Activity: 28 May 2018, 2:49 AM EDT
Location: Aachen, Germany
Posts: 12,756
Thanks: 417
Thanked 3,923 Times in 3,607 Posts
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.
Sponsored Links
    #3  
Old Unix and Linux 10-27-2017   -   Original Discussion by DOkuwa
DOkuwa's Unix or Linux Image
DOkuwa DOkuwa is offline
Registered User
 
Join Date: Jan 2011
Last Activity: 25 April 2018, 4:29 AM EDT
Posts: 33
Thanks: 2
Thanked 0 Times in 0 Posts
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 Unix and Linux 10-27-2017   -   Original Discussion by DOkuwa
RudiC's Unix or Linux Image
RudiC RudiC is offline Forum Staff  
Moderator
 
Join Date: Jul 2012
Last Activity: 28 May 2018, 2:49 AM EDT
Location: Aachen, Germany
Posts: 12,756
Thanks: 417
Thanked 3,923 Times in 3,607 Posts
Looks like there's something missing in your status output.

How did you add that "route"?
Did you remove that and try to restart?
Sponsored Links
    #5  
Old Unix and Linux 10-27-2017   -   Original Discussion by DOkuwa
DOkuwa's Unix or Linux Image
DOkuwa DOkuwa is offline
Registered User
 
Join Date: Jan 2011
Last Activity: 25 April 2018, 4:29 AM EDT
Posts: 33
Thanks: 2
Thanked 0 Times in 0 Posts
I just added it to the file /etc/network/interfaces
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
/etc/network/interfaces g0dlik3 UNIX for Dummies Questions & Answers 1 12-02-2011 10:19 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 IP Networking 0 09-19-2007 07:45 AM



All times are GMT -4. The time now is 03:29 AM.