LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-06-2018, 01:14 PM   #1
dwhswebhosting
LQ Newbie
 
Registered: Jun 2004
Location: Earth
Distribution: CentOS 6 and 7
Posts: 25

Rep: Reputation: 0
Unhappy No free leases error with SolusVM, can I disable logging it?


Hello,

I get a no lease error over and over on a SolusVM slave server.

dhcpd: DHCPDISCOVER from 00:25:90:cd:xx:xx via viifbr0: network 0.0.0.0/0: no free leases

My dhcpd file has the network information:

# Written by SolusVM - 2018-11-29 03:54:10

subnet 104.xxx.x.x netmask 255.255.255.0 {
authoritative;
default-lease-time 21600000;
max-lease-time 432000000;
}
ddns-update-style ad-hoc;

And everything is working o.k.. I was wondering if I missing something to cause the error or I can just disable logging it to my messages file?

It writes the error out every 30 seconds or so which is a ton of wasted IO activity.

Thanks,
 
Old 12-07-2018, 09:56 PM   #2
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: Redhat/Centos, Ubuntu, Raspbian, Fedora
Posts: 2,217

Rep: Reputation: 478Reputation: 478Reputation: 478Reputation: 478Reputation: 478
Your VM runs a DHCP server that has already allocated all its 254 leases (that is, IP addresses). Now device number 255 comes along and wants a lease as well. Thus the error.

If it's the proliferation of log messages that bothers you, perhaps the DHCP server can be configured to log fewer messages, but that carries the obvious risk that you might not be informed about important problems.

If it's the depletion of leases that worries you, you can review which devices received leases from that server. On my server, leases are recorded in /var/lib/dhcp/dhcpd.leases.
 
  


Reply

Tags
dhcpd, dhcpdconf


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
reason for multiple dhclient leases in /var/lib/dhclient/dhclient.leases psycroptic Linux - Networking 1 04-23-2014 10:24 AM
router - win machine - vmware workstation - solusvm - virtual machine vmicovic Linux - Networking 2 05-01-2011 06:22 PM
I have a solusvm control panel but.............. mymoney26 Linux - Server 1 02-12-2011 01:39 AM
Delete leases from dhcpd.leases when remove a subnet from dhcpd.conf phongnh Linux - Server 2 10-12-2010 05:49 AM
Wrote 0 leases to leases file - DHCP server lionel.rpm Linux - Server 3 07-22-2009 07:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:28 PM.

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