LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-27-2012, 12:21 AM   #1
RhnBlack
LQ Newbie
 
Registered: Jan 2012
Location: Bangalore
Distribution: RHEL 5, fedora 16, open suse
Posts: 24

Rep: Reputation: Disabled
Dhcp Configuration RHEL 5


I installed DHCP-4.2.3 offline. It gets installed but I'm not able to find any thing called /etc/dhcpd.conf or /etc/dhcd/dhcp.conf. And also when I try to start dhcpd it shows an error "no such file or directory".

---------- Post added 01-27-12 at 12:22 AM ----------

help
 
Old 01-27-2012, 12:24 AM   #2
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,194
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
what is the distro you are using?

what is the output of this command?
Code:
#rpm -qa | grep dhcp
 
Old 01-27-2012, 01:20 AM   #3
RhnBlack
LQ Newbie
 
Registered: Jan 2012
Location: Bangalore
Distribution: RHEL 5, fedora 16, open suse
Posts: 24

Original Poster
Rep: Reputation: Disabled
Im using RHEL 5 n FEDORA 16
In RHEl 5 the command u mentioned gives nothing.
In FEDORA 16 it show
dhcp-common-4.2.3.3 f16.i686
dhcp-libs-4.2.3.3 f16.i686
but i want dhcp in RHEL.I'v installed using the source provided by ISC.
 
Old 01-27-2012, 01:26 AM   #4
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,194
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
In RHEl 5 the command u mentioned gives nothing.
It means the dhcp package is not installed in your rhel 5

this is one of the dhcp package
Code:
dhcp-3.0.5-3.el5

I don't see any dhcp package here as well.
Quote:
In FEDORA 16 it show
dhcp-common-4.2.3.3 f16.i686
dhcp-libs-4.2.3.3 f16.i686
 
Old 01-27-2012, 01:31 AM   #5
RhnBlack
LQ Newbie
 
Registered: Jan 2012
Location: Bangalore
Distribution: RHEL 5, fedora 16, open suse
Posts: 24

Original Poster
Rep: Reputation: Disabled
The installation procedure Im following is:
download the source.
unzip it
configure
and make
no errors.
SO i"ll be very thankful If some one can help me. I really need this thing called DHCP.
 
Old 01-27-2012, 01:35 AM   #6
RhnBlack
LQ Newbie
 
Registered: Jan 2012
Location: Bangalore
Distribution: RHEL 5, fedora 16, open suse
Posts: 24

Original Poster
Rep: Reputation: Disabled
this is one of the dhcp package
Code:

dhcp-3.0.5-3.el5

But the site is showing this package is obsolete

Last edited by RhnBlack; 01-27-2012 at 01:39 AM.
 
Old 01-27-2012, 01:50 AM   #7
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 190Reputation: 190
Since you installed from source, this wont work:
Quote:
Code:
#rpm -qa | grep dhcp
Since you are using Red Hat, you are paying for a support contract. You should contact Red Hat support, since that is what you are paying for.

Quote:
I really need this thing called DHCP.
This confuses me, it suggests you dont know what DHCP is, yet you know you need it?

I use CentOS not Red Hat, but I would assume that DHCP is installed by default.
 
Old 01-27-2012, 01:56 AM   #8
RhnBlack
LQ Newbie
 
Registered: Jan 2012
Location: Bangalore
Distribution: RHEL 5, fedora 16, open suse
Posts: 24

Original Poster
Rep: Reputation: Disabled
So kind of u ..but I Think i know what is DHCP. Well thanks for ur time. I figure it myself.
 
Old 01-27-2012, 02:04 AM   #9
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 190Reputation: 190
Quote:
Originally Posted by RhnBlack View Post
I figure it myself.
Seems silly when you are PAYING for people to figure it out for you.
I would suggest swapping to CentOS, and save yourself the support fee's.
 
Old 01-27-2012, 02:52 AM   #10
RhnBlack
LQ Newbie
 
Registered: Jan 2012
Location: Bangalore
Distribution: RHEL 5, fedora 16, open suse
Posts: 24

Original Poster
Rep: Reputation: Disabled
Smile

Quote:
Since you installed from source, this wont work:
Yeah its true RPM doesn't work for compiled source.

Quote:
Seems silly when you are PAYING for people to figure it out for you.
I would suggest swapping to CentOS, and save yourself the support fee's.
"I figure it myself" includes the RHEL support also.
 
Old 01-27-2012, 04:33 AM   #11
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
If you are not paying for red hat you will NOT get updates and you can NOT use yum

you will have to MANUALLY build from source EVERY dependency needed for EVERYTHING

you might as well install
" Linux From Scratch"

OR
install centOS6 or Scientific linux 6
AND GET THE UPDATES and be able to use "yum"
if you are NOT going to pay for RHEL then DO NOT USE RHEL!!!
 
1 members found this post helpful.
Old 01-27-2012, 06:13 AM   #12
RhnBlack
LQ Newbie
 
Registered: Jan 2012
Location: Bangalore
Distribution: RHEL 5, fedora 16, open suse
Posts: 24

Original Poster
Rep: Reputation: Disabled
Talking

I tried with installing rpm. Fortunately it is working now.

Anyways Thanks to all for their time.

I downloaded the source from ISC, while compiling it was generating some warnings. And the optimization level is 2.
Do you guys think that was a problem with the source??
 
Old 01-27-2012, 06:41 AM   #13
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,194
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by RhnBlack View Post
I installed DHCP-4.2.3 offline. It gets installed but I'm not able to find any thing called /etc/dhcpd.conf or /etc/dhcd/dhcp.conf. And also when I try to start dhcpd it shows an error "no such file or directory".

---------- Post added 01-27-12 at 12:22 AM ----------

help
If you are installing from a zip file or from a source then you won't find the configuration file inside /etc.

look for the README and INSTALL file inside the source directory which will help you find the dhcpd.conf after complete successful installation.


once you install using rpm and yum the default package available for RHEL then dhcpd.conf is saved in /etc and the original file is saved in
Code:
/usr/share/doc/dhcp*/dhcpd.conf.sample
to look for all the files installed using rpm try this

Code:
#rpm -ql dhcp-3.0.5-3.el5
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
DHCP configuration ameencse Linux - Newbie 3 11-22-2011 06:59 AM
Dns & dhcp rhel 5.1 ktmjamal Linux - Server 2 08-02-2010 05:57 PM
[SOLVED] How to configure DHCP in RHEL 5 srajeshkumar Linux - Server 6 07-15-2010 09:59 PM
DHCP RHEL --> Active Directory??? redwarrior77 Linux - Enterprise 3 12-14-2007 11:00 AM
DHCP relay agent on RHEL 4.0 santhavilas Red Hat 0 01-16-2006 02:00 AM


All times are GMT -5. The time now is 06:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration