Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-20-2009, 10:42 AM   #1
LQ Newbie
Registered: May 2009
Posts: 8

Rep: Reputation: 0
DHCPD not installed in the default library, gives me trouble

Hi all

I have install dhcpd by this

./configure --prefix=/srv/dhcp-4.1.0/
make install

When i start up the dhcpd with a correct dhcpd.conf file it gives me this error, no subnet declararion for eth0 bla bla bla, mostly because i think it cannot find the dhcpd.conf file. Maybe its because i have to link the DHCPD to know where to find the dhcpd.conf file?

does anybody have an idea of what could be wrong and what should i look for?

Thanx for all reply
Old 05-20-2009, 05:38 PM   #2
Registered: Feb 2006
Distribution: Debian Sid
Posts: 792

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Originally Posted by namicron View Post
Maybe its because i have to link the DHCPD to know where to find the dhcpd.conf file?
The above statement confused me, so maybe I misunderstand your question, but from the source code (dhcbd.h):
#define _PATH_DHCPD_CONF	"/etc/dhcpd.conf"
Is that the location of your config file?
Old 05-22-2009, 05:45 AM   #3
LQ Newbie
Registered: May 2009
Posts: 8

Original Poster
Rep: Reputation: 0
if I do this
./configure --prefix=/srv/dhcp-4.1.0/
make install

my dhcp.conf is in /srv/dhcp-4.1.0/etc/dhcp.conf

and btw, i have made it work now with the ./dhcpd -cf /srv/dhcp/etc/dhcpd.conf

-cf defines where dhcpd should look for its configuration file if it is not place by default

Last edited by namicron; 05-22-2009 at 07:14 AM.


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
Problem assigning default gateway to clients through dhcpd (ubuntu) milpoer Linux - Networking 2 04-16-2009 08:05 AM
install from source - unable to find the libcurl library - but library is installed pulper Linux - Newbie 2 02-23-2009 09:00 PM
Default thread library nuxrl Linux - Software 1 03-07-2007 01:57 PM
CERTŪ Advisory CA-2003-01 Buffer Overflows in ISC DHCPD Minires Library Astro Slackware 1 01-21-2003 06:54 AM
Installed DHCP on RH7.2, no dhcpd.conf file??? AnthonyM Linux - Networking 8 07-30-2002 07:21 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:43 AM.

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