LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-17-2008, 12:42 PM   #1
zeynep
Member
 
Registered: Jan 2008
Posts: 34
Blog Entries: 1

Rep: Reputation: 15
service network start problem


hello,

when i would like to start network its giving an error like this,

service network start
Bringing up loopback interface: [ OK ]
Bringing up interface eth0:
Determining IP information for eth0...dhclient(1649) is already running - exiting.
This version of ISC DHCP is based on the release available
on ftp.isc.org. Features have been added and other changes
have been made to the base software release in order to make
it work better with this distribution.
Please report for this software via the Red Hat Bugzilla site:
http://bugzilla.redhat.com
exiting.
failed.
[FAILED]
Bringing up interface eth1:
Determining IP information for eth1... failed; no link present. Check cable?
[FAILED]
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
[root@localhost ~]#
so i am waiting your advices what should i do?

Thank you
 
Old 02-17-2008, 12:49 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
NetworkManager is running and taking over the nics themselves. If you have the network adapters set the way you want them from /etc/sysconfig/network/scripts in the files ifcfg-eth0 and ifcfg-eth1 then I would disable NetworkManager.

Brian
 
Old 02-17-2008, 01:01 PM   #3
zeynep
Member
 
Registered: Jan 2008
Posts: 34

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Obviously, i couldnt understans clearly

Should i change eth0 to eth1?

Can you explain again what sould i do?How i will disable?

Thank you for respond
 
Old 02-17-2008, 01:29 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
EDIT: Wait a minute. Is networking already started and you try to restart it. If so the use the restart option so the service is stopped and then started.
service network restart
EDIT:

If of no help then continue on with post. Explain the purpose of what you want.

OK you have two nics (Network Interface Cards) in the machine. One eth0 and the other eth1. Lets see eaxctly what you have. Post the two related sections for the network ethernet cards from this command ' /sbin/lspci -v '.
Next lets see the contents of the following files.
/etc/modprobe.conf
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network-scripts/ifcfg-eth1

Output of the following commands.
/sbin/ifconfig -a
route -n

Brian
 
Old 02-17-2008, 01:48 PM   #5
zeynep
Member
 
Registered: Jan 2008
Posts: 34

Original Poster
Blog Entries: 1

Rep: Reputation: 15
hello again,

when i write service network restart it was going well but it sad faild check your eth1 cable.

My purpose is first to connect internet and then install some packets and then i will try to configure,install dns,postfix,apache servers.

When i write;

[root@localhost ~]# cd /sbin
[root@localhost sbin]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0E:A6:B9:F4:95
inet addr:10.0.0.6 Bcast:255.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::20e:a6ff:feb9:f495/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16976 errors:0 dropped:0 overruns:0 frame:0
TX packets:18207 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14442335 (13.7 MiB) TX bytes:3439812 (3.2 MiB)
Interrupt:4

eth1 Link encap:Ethernet HWaddr 00:0E:35:156:2D
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:1481 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:5 Base address:0x2000 Memory:fde00000-fde00ff

contens are like this any suggestion?

Regards & Thanks
 
Old 02-17-2008, 01:52 PM   #6
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
What is in /etc/sysconfig/network-scripts/ ifcfg-eth0 and ifcfg-eth1
Why are you enabling both nics?

Brian
 
Old 02-17-2008, 01:58 PM   #7
zeynep
Member
 
Registered: Jan 2008
Posts: 34

Original Poster
Blog Entries: 1

Rep: Reputation: 15
GNU nano 2.0.6 File: ifcfg-eth0

DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=00:0E:A6:B9:F4:95
ONBOOT=yes
TYPE=Ethernet

GNU nano 2.0.6 File: ifcfg-eth1

# Intel Corporation PRO/Wireless 2200BG Network Connection
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=dhcp
HWADDR=00:0e:35:15:d6:2d
NETMASK=
DHCP_HOSTNAME=
IPADDR=
DOMAIN=
TYPE=Wireless
ESSID=
CHANNEL=
MODE=
RATE=

i tried eth1 down but it didnt change
 
Old 02-17-2008, 03:44 PM   #8
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
So why are you starting both nics. You can only use one at a time. Both ifcfg files have ONBOOT=yes. You need to set one or the other as yes and the other as no.

Brian
 
Old 02-18-2008, 04:07 AM   #9
zeynep
Member
 
Registered: Jan 2008
Posts: 34

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Brian1,

Thank you very much ..with your helps i solved to this problem.

Now i am very happy
 
Old 02-19-2008, 03:44 PM   #10
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Your very welcome. The main reason is both being set as dhcp is getting an IP plus setting a gateway. Only one interface can have a gateway defined and routing is used for anything else as well as using iptables.

Brian
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what is the difference between service network reload and service network restart ? markraem Linux - Networking 3 11-21-2007 03:08 PM
when i try to start samba pdc's smb service nmbd failed to start . sandeepchau123 Linux - Newbie 2 10-20-2007 01:59 PM
Network service start at boot? King of Japan Linux - Networking 2 09-01-2005 10:23 AM
PostgeSQL problem: can't start service borgy_t Programming 3 04-27-2005 12:17 AM
service network restart - mandrake 9.1 problem perry Linux - General 0 01-25-2004 07:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration