Results 1 to 4 of 4

Thread: service command for network restart does not work lucid 64 bit properly

  1. #1
    Join Date
    Jun 2010
    Beans
    380

    service command for network restart does not work lucid 64 bit properly

    Here is a situation when I do
    Code:
    root@bond:~# service networking restart
    restart: Unknown instance:
    and when I do
    Code:
    root@bond:~# service networking stop
    stop: Unknown instance:
    now if I do
    Code:
     /etc/init.d/networking stop
     * Deconfiguring network interfaces...       Ignoring unknown interface eth1=eth1.
                                                                                                                                                                    [ OK ]
    note above I did not used service command and it shows working.

    and now if I start it in same way I get a warning.
    Code:
    /etc/init.d/networking start
    Rather than invoking init scripts through /etc/init.d, use the service(8)
    utility, e.g. service networking start
    
    Since the script you are attempting to invoke has been converted to an
    Upstart job, you may also use the start(8) utility, e.g. start networking
    networking stop/waiting
    In any case either service command or using /etc/init.d/networking with restart does not do any thing.
    It does not work and neither does it start.Is it ia problem with Ubuntu 10.04 that service utility does not work properly?
    Last edited by jamesbon; March 13th, 2011 at 06:28 PM.

  2. #2
    Join Date
    Nov 2005
    Location
    Washington, DC suburb
    Beans
    208
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: service command for network restart does not work lucid 64 bit properly

    I too am having that problem only I'm working in Lucid 32-bit. I've in fact run into an issue where my networking service (working with no problems before, and completely unchanged) will not start on boot as it normally did just a few days ago.

    I've tried starting it manually, only for the service command to tell me that it is stopped/waiting. I ran across this thread while trying to figure out how to start it up manually since the service command doesn't seem to work.
    Mythbuntu 12.04 ASUS MoBo - Phenom II X4 3.2Ghz, 2G RAM, 32GB SSD, BD-RE, 4 x 2TB RAID 5
    - HDHomerun Prime HDHR3-CC
    - SMB Server
    - XBMC MySQL Database Sharing

  3. #3
    Join Date
    Feb 2008
    Beans
    2

    Re: service command for network restart does not work lucid 64 bit properly

    The "instance" is which interface you want to start. Try something like:
    sudo service networking start INTERFACE=eth0
    which is simular to
    sudo start networking INTERFACE=eth0
    and
    sudo initctl networking start INTERFACE=eth0
    Last edited by PatrickChapman; January 5th, 2012 at 12:32 PM.

  4. #4
    Join Date
    Aug 2009
    Beans
    4

    Re: service command for network restart does not work lucid 64 bit properly

    On 12.04 the following does not work:
    Code:
    sudo service networking restart INTERFACE=eth0
    However, the following does work:
    Code:
    sudo service network-interface restart INTERFACE=eth0

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •