*** From dhcp-server -- To unsubscribe, see the end of this message. ***

Tony Andrews wrote:

> I've worked with DHCP servers on both Novell and Macintosh and am just
> beginning my adventure into the land of Linux.  I have installed
> V2.0b1pl18 of dhcpd on my box and have set up dhcpd.config with a very
> simple set of parameters.
>
> When I launch dhcpd I get the following:
> Can't open lease database /var/state/dhcp/dhcpd.leases: No such file or
> director
> y -- check for failed database rewrite attempt!
> exiting.
>
> Well, I created the directory...but am not sure if or how I should create
> a dhcpd.leases file from scratch.
>
> Any recommendations as to how I might proceed?

so you did something like mkdir -p var/state/dhcp
Now what I did next was the equivalent of
touch /var/state/dhcp/dhcpd.leases
This will create a zero-length file.

That is okay, because your server hasn't allocated any IP info to any computers
yet, so the information about allocated IP addresses is empty.

Enjoy your dhcp server!

--
Nick Urbanik, Dept. of Electrical & Communications Engineering
Hong Kong Institute of Vocational Education (Tsing Yi)
email: [EMAIL PROTECTED], [EMAIL PROTECTED]
Tel: (852) 2436 8660   Fax: (852) 2436 8643





------------------------------------------------------------------------------
To unsubscribe from this list, please visit http://www.fugue.com/dhcp/lists
If you are without web access, or if you are having trouble with the web page,
please send mail to [EMAIL PROTECTED]   Please try to use the web
page first - it will take a long time for your request to be processed by hand.
------------------------------------------------------------------------------

Reply via email to