<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:10pt"><P>I have tried it, and the resultat returned is:</P>
<P> </P>
<P>"can't  open lease database /var/db/dhcpd.leases/no such file or directory"</P>
<P> </P>
<P>And in fact there is no folder whose name is db in /var.</P>
<P>I have search for the file lease and it is in /usr/local/share/man/man5, but the name is dhcpd.leases.5. I found that there is nothing important inside, just the explaination of what the file dhcpd.lease is. However, i tried this command:</P>
<P> </P>
<P>sudo /usr/local/sbin/dhcpd -lf /usr/local/share/man/man5/dhcpd.leases.5</P>
<P> </P>
<P>It return a resultat "can not open /etc/dhcpd.conf: no such file or directory" (there is not this file in /etc).</P>
<P>I have created a file named dhcpd.leases in other folder et tried the command above. It gave the same resultat.</P>
<P> </P>
<DIV></DIV>
<DIV><BR> </DIV>
<DIV><STRONG>DO Phan Cam Thach</STRONG></DIV>
<DIV>email: <A href="mailto:dophancamthach@yahoo.co.uk" target=_blank rel=nofollow>dophancamthach@yahoo.co.uk</A></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: times new roman, new york, times, serif"><BR><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: y vasavi <y_vasavi@yahoo.com><BR>To: dhcp-users@isc.org<BR>Sent: Monday, 26 May, 2008 4:12:45 PM<BR>Subject: Re: DHCP Server Configuration Problem<BR><BR>
<TABLE style="FONT-SIZE: 10pt; WIDTH: 100%; COLOR: #000000; FONT-FAMILY: arial; BACKGROUND-COLOR: #ffffff" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD vAlign=top>
<P>can you try </P>
<P> </P>
<P>sudo /usr/local/sbin/dhcpd -cf /usr/local/etc/dhcpd.conf<BR><BR>--- On <B>Mon, 5/26/08, DÔ Phan-Cam-Thach <I><dophancamthach@yahoo.co.uk></I></B> wrote:<BR></P>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">From: DÔ Phan-Cam-Thach <dophancamthach@yahoo.co.uk><BR>Subject: Re: DHCP Server Configuration Problem<BR>To: dhcp-users@isc.org<BR>Date: Monday, May 26, 2008, 7:32 PM<BR><BR>
<DIV id=yiv26413181>
<STYLE type=text/css><!--#yiv26413181  DIV {margin:0px;}--></STYLE>

<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: times new roman, new york, times, serif">
<P>If there were the files in the rights folders as u mentionned, il should be start, the server. But there are nor file dhcpd.conf in /etc, neither file dhcpd in /etc/init.d (i have talked about this in the precedent lettre). There is a file dhcpd in /usr/local/sbin and dhcpd.conf in /usr/local/etc. i went to that folder to use the command:</P>
<P> </P>
<P>dhcpd start/stop</P>
<P> </P>
<P>There was a warning "can't open /etc/dhcpd.conf/ no such file or directory"</P>
<P> </P>
<P>It also seems that it must have a file dhcpd.conf in /etc for apply the configuration for the interfaces. So i have created a file whose name like that and try to put the infos in it. All seemed to be normal till the time i tried to enregister my modification. The system didnt accpet to enregister it.<BR></P>
<P>Hope now you undestand my problem and thank you so much for your answers.</P>
<P> </P>
<DIV><STRONG>DO Phan Cam Thach</STRONG></DIV>
<DIV>email: <A href="mailto:dophancamthach@yahoo.co.uk" target=_blank rel=nofollow ymailto="mailto:dophancamthach@yahoo.co.uk">dophancamthach@yahoo.co.uk</A></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: times new roman, new york, times, serif"><BR><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: Simon Hobson <dhcp1@thehobsons.co.uk><BR>To: dhcp-users@isc.org<BR>Sent: Monday, 26 May, 2008 2:58:51 PM<BR>Subject: Re: DHCP Server Configuration Problem<BR><BR>DÔ Phan-Cam-Thach wrote:<BR><BR>>My distribution est Ubuntu 8.04. I installed <BR>>dhcpd from source sur le site de isc. And i have <BR>>tried with sudo, so i was in the root mode.<BR>><BR>>I haven't found the file dhcpd.conf in /etc/init.d either.<BR><BR>You are confusing the program (and scripts to <BR>start/stop it) with the config file.<BR><BR>The default location for the config file is <BR>/etc/dhcpd.conf, and it should be sufficient to <BR>type "dhcpd" to start the server. You do NOT type <BR>"./dhcpd" unless you are in the directory where <BR>the binary is located, nor do you try to execute <BR>dhcpd.conf.<BR><BR>I think you will find it easier to
 use the <BR>packaged binary as that will provide scripts for <BR>controlling the server and save you the effort of <BR>writing those, and any dependencies will be taken <BR>care of for you. Since you are using Ubuntu which <BR>is Debian based, the packaged version would place <BR>the config file at /etc/dhcp3/dhcpd.conf, and you <BR>would control the program by using <BR>/etc/init.d/dhcpd - eg to start the service you <BR>would type "/etc/init.d/dhcpd start", to stop it <BR>you would type "/etc/init.d/dhcpd stop" and so on.<BR><BR></DIV></DIV></DIV><BR>
<HR SIZE=1>
Sent from <A href="http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52418/*http://uk.docs.yahoo.com/nowyoucan.html" target=_blank rel=nofollow>Yahoo! Mail</A>. <BR>A Smarter Email.</DIV></BLOCKQUOTE></TD></TR></TBODY></TABLE><BR></DIV></DIV></div><br>



      <hr size=1>
Sent from <a  
href="http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52418/*http://uk.docs.yahoo.com/nowyoucan.html" target=_blank>Yahoo! Mail</a>.
<br>
A Smarter Email.</body></html>