OPNsense Forum

English Forums => General Discussion => Topic started by: Pr1mEzz on February 25, 2019, 04:53:40 pm

Title: Can't open lease database /var/db/dhcpd.leases: No such file or directory --
Post by: Pr1mEzz on February 25, 2019, 04:53:40 pm
Hey Guys,

after the update 19.1 I got a problem with my dhcp-server. He doesn't start automatically. If I start it manually I get the following Message:

]
Internet Systems Consortium DHCP Server 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Config file: /usr/local/etc/dhcpd.conf
Database file: /var/db/dhcpd.leases
PID file: /var/run/dhcpd.pid
Can't open lease database /var/db/dhcpd.leases: No such file or directory --
  check for failed database rewrite attempt!
Please read the dhcpd.leases manual page if you
don't know what to do about this.

If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug.  These pages explain the proper
process and the information we find helpful for debugging.
]

In the directory /var/db is no dhcpd.leases...

Title: Re: Can't open lease database /var/db/dhcpd.leases: No such file or directory --
Post by: hammer on February 25, 2019, 07:03:37 pm
have you tried re-installing DHCP related packages at system->firmware->packages?
Title: Re: Can't open lease database /var/db/dhcpd.leases: No such file or directory --
Post by: Pr1mEzz on February 26, 2019, 08:38:05 am
Thx