Find the answer to your Linux question:
Results 1 to 2 of 2
Hi friends I am using ubuntu linux and the problem is when restarting the networking service.... I have pasted the output of the sh /etc/init.d/networking restart command below. I tried ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2006
    Posts
    26

    problem with sh /etc/init.d/networking restart


    Hi friends

    I am using ubuntu linux and the problem is when restarting the networking service....

    I have pasted the output of the sh /etc/init.d/networking restart command below.

    I tried sh /etc/init.d/sendmail restart and sh /etc/init.d/sendmail reload. But the problem still exists.

    Pls help me to solve this issue.



    root@sourceforge:~# sh /etc/init.d/networking restart
    * Reconfiguring network interfaces... There is already a pid file /var/run/dhclient.eth0.pid with pid 14473
    killed old client process, removed PID file
    Internet Systems Consortium DHCP Client V3.0.4
    Copyright 2004-2006 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/sw/dhcp/

    Listening on LPF/eth0/00:11:43:c7:f7:b9
    Sending on LPF/eth0/00:11:43:c7:f7:b9
    Sending on Socket/fallback
    DHCPRELEASE on eth0 to 172.21.16.2 port 67
    Updating databases ...
    Reading configuration from /etc/mail/sendmail.conf.
    Validating configuration.
    Creating /etc/mail/databases...
    Updating Makefile ...
    Reading configuration from /etc/mail/sendmail.conf.
    Validating configuration.
    Creating /etc/mail/Makefile...
    Updating sendmail.cf ...
    WARNING: Antispam rules not available in deferred delivery mode.
    Creating /etc/mail/relay-domains
    # Optional file...
    The following file(s) have changed:
    /etc/mail/sendmail.cf
    ** ** You should issue `/etc/init.d/sendmail reload` ** **
    Mail Transport Agent: sendmail is not running
    There is already a pid file /var/run/dhclient.eth0.pid with pid 134993416
    Internet Systems Consortium DHCP Client V3.0.4
    Copyright 2004-2006 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/sw/dhcp/

    Listening on LPF/eth0/00:11:43:c7:f7:b9
    Sending on LPF/eth0/00:11:43:c7:f7:b9
    Sending on Socket/fallback
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
    DHCPOFFER from 10.66.151.1
    DHCPREQUEST on eth0 to 255.255.255.255 port 67
    DHCPACK from 10.66.151.1
    addr=10.66.151.58, name=sourceforge.ad.infosys.com
    Updating databases ...
    Reading configuration from /etc/mail/sendmail.conf.
    Validating configuration.
    Creating /etc/mail/databases...
    Updating Makefile ...
    Reading configuration from /etc/mail/sendmail.conf.
    Validating configuration.
    Creating /etc/mail/Makefile...
    Updating sendmail.cf ...
    Creating /etc/mail/relay-domains
    # Optional file...
    The following file(s) have changed:
    /etc/mail/sendmail.cf
    ** ** You should issue `/etc/init.d/sendmail reload` ** **
    bound to 10.66.151.58 -- renewal in 5697 seconds.
    Updating sendmail.cf ...
    Creating /etc/mail/relay-domains
    # Optional file...
    The following file(s) have changed:
    /etc/mail/sendmail.cf
    ** ** You should issue `/etc/init.d/sendmail reload` ** **
    Mail Transport Agent: sendmail is not running
    [ ok ]
    root@sourceforge:~#

  2. #2
    Linux Newbie objuan's Avatar
    Join Date
    Jul 2006
    Location
    california
    Posts
    234
    you do not need the sh but from root prompt # /etc/init.d/network restart
    this will restart the network without issue.

Posting Permissions

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