[Bug 440179] Re: service fails to start/stop/restart networking daemon
KOMATSU Seiji
skomatsu.comutt at gmail.com
Sat Mar 30 14:45:29 UTC 2013
I'm also still stuck on this problem.
Only way to stop networking that works on 12.04.2 LTS is /etc/init.d/networking.
Restarting networking is also done only by /etc/init.d/networking.
skomatsu at tokito:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise
skomatsu at tokito:~$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 08:00:27:62:08:36
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe62:836/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:53193 errors:0 dropped:0 overruns:0 frame:0
TX packets:30937 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:76448766 (76.4 MB) TX bytes:2160269 (2.1 MB)
skomatsu at tokito:~$ sudo /etc/init.d/networking restart
* Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
* Reconfiguring network interfaces...
ssh stop/waiting
ssh start/running, process 16511
...done.
skomatsu at tokito:~$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 08:00:27:62:08:36
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe62:836/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:53202 errors:0 dropped:0 overruns:0 frame:0
TX packets:30952 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:76451045 (76.4 MB) TX bytes:2162258 (2.1 MB)
skomatsu at tokito:~$ sudo restart networking
restart: Unknown instance:
skomatsu at tokito:~$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 08:00:27:62:08:36
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe62:836/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:53203 errors:0 dropped:0 overruns:0 frame:0
TX packets:30954 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:76451135 (76.4 MB) TX bytes:2162418 (2.1 MB)
skomatsu at tokito:~$ sudo stop networking
stop: Unknown instance:
skomatsu at tokito:~$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 08:00:27:62:08:36
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe62:836/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:53203 errors:0 dropped:0 overruns:0 frame:0
TX packets:30954 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:76451135 (76.4 MB) TX bytes:2162418 (2.1 MB)
skomatsu at tokito:~$ sudo service networking restart
stop: Unknown instance:
networking stop/waiting
skomatsu at tokito:~$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 08:00:27:62:08:36
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe62:836/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:53203 errors:0 dropped:0 overruns:0 frame:0
TX packets:30954 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:76451135 (76.4 MB) TX bytes:2162418 (2.1 MB)
skomatsu at tokito:~$ sudo service networking stop
stop: Unknown instance:
skomatsu at tokito:~$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 08:00:27:62:08:36
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe62:836/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:53203 errors:0 dropped:0 overruns:0 frame:0
TX packets:30954 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:76451135 (76.4 MB) TX bytes:2162418 (2.1 MB)
skomatsu at tokito:~$ sudo /etc/init.d/networking stop
* Deconfiguring network interfaces...
...done.
skomatsu at tokito:~$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 08:00:27:62:08:36
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:53203 errors:0 dropped:0 overruns:0 frame:0
TX packets:30955 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:76451135 (76.4 MB) TX bytes:2162760 (2.1 MB)
skomatsu at tokito:~$ sudo start networking
networking stop/waiting
skomatsu at tokito:~$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 08:00:27:62:08:36
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe62:836/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:53211 errors:0 dropped:0 overruns:0 frame:0
TX packets:30967 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:76453324 (76.4 MB) TX bytes:2164247 (2.1 MB)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sysvinit in Ubuntu.
https://bugs.launchpad.net/bugs/440179
Title:
service fails to start/stop/restart networking daemon
Status in “sysvinit” package in Ubuntu:
Fix Released
Bug description:
Binary package hint: sysvinit-utils
The 'service' program (in sysvinit-utils) fails to start, stop, or
restart a daemon, as follows:
root at lightning:~# service networking restart
restart: Unknown instance:
It should have the same effect as the following:
root at lightning:~# /etc/init.d/networking restart
* Reconfiguring network interfaces...
Ubuntu version and kernel version
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.10
DISTRIB_CODENAME=karmic
DISTRIB_DESCRIPTION="Ubuntu karmic (development branch)"
Linux lightning 2.6.31-11-generic #36-Ubuntu SMP Fri Sep 25 06:37:51 UTC 2009 i686 GNU/Linux
model name : VIA Samuel 2
cpu MHz : 798.000
This system was updated earlier today.
ProblemType: Bug
Architecture: i386
Date: Thu Oct 1 12:28:49 2009
DistroRelease: Ubuntu 9.10
Package: sysvinit-utils 2.87dsf-4ubuntu7
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-11.36-generic
SourcePackage: sysvinit
Uname: Linux 2.6.31-11-generic i686
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/440179/+subscriptions
More information about the foundations-bugs
mailing list