Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 04-25-2006, 03:42 PM   #1
Registered: Jan 2006
Posts: 51

Rep: Reputation: 15
DHCP SERVER ... no free leases!!!!!

i had a problem at my dhcpd.conf

i think i gave a few ips to the network

i fixed it given more range of ips but i want to monitor when it happends again ... i found a way thath is restarting dhcpd with this parameters

 dhcpd -d -f
and started viewing all the proces of DISCOVER OFFER PACK ....

but i cant stay allways front the monitor...

is there some file where stores all this information?

or if dont ... how can i save all into a file

i tried

 dhcpd -d -f | cat >> filedhcplog
but doesnt work .. i tried

 dhcpd -d -f | >> filedhcplog
 dhcpd -d -f  >> filedhcplog
nothing works you have some idea?
Old 04-25-2006, 03:48 PM   #2
LQ Guru
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Configure logging... you should be able to set the level of detail logged as well..

The log-facility statement

log-facility facility;

This statement causes the DHCP server to do all of its logging on the
specified log facility once the dhcpd.conf file has been read. By
default the DHCP server logs to the daemon facility. Possible log
facilities include auth, authpriv, cron, daemon, ftp, kern, lpr,
mail, mark, news, ntp, security, syslog, user, uucp, and local0
through local7. Not all of these facilities are available on all
systems, and there may be other facilities available on other sys-

In addition to setting this value, you may need to modify your sys-
log.conf file to configure logging of the DHCP server. For example,
you might add a line like this:

local7.debug /var/log/dhcpd.log

Last edited by farslayer; 04-25-2006 at 03:50 PM.
Old 04-25-2006, 05:47 PM   #3
Registered: Jan 2006
Posts: 51

Original Poster
Rep: Reputation: 15
local7.debug /var/log/dhcpd.log

this line where goes???
dhcpd.conf?? or syslog.conf?? and is it all?? nothing more to do?


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCPD no free leases HiOctane21 Linux - Networking 6 10-02-2013 11:21 PM
DHCPD Has No free leases? FishGills Linux - Networking 7 01-24-2009 06:49 PM
find out all free leases from dhcpd saavik Linux - Networking 2 07-27-2005 02:03 AM
DNS not resolving notes server name and dhcp not releasing leases DanielKwok Linux - Networking 1 02-10-2004 10:04 PM
DHCPD problem - no free leases ms_lyon Linux - Networking 3 02-26-2003 10:52 AM

All times are GMT -5. The time now is 12:35 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration