Can't open lease database /dev/shm/dhcpd/dhcpd.leases:

18905913309 18905913309 at 189.cn
Tue Apr 3 09:49:18 UTC 2012


thanks for your reply.

>/tmp/dhcpd/dhcpd.leases is different to /tmp/dhcpd.leases and both 
>are different to /dev/shm/dhcpd/dhcpd.leases 

no matter with /dev/shm,or /tmp,or anywhere,it doesn't work.

the key point is :
when the leases file in default path /var/lib/dhcpd/,everything is ok.
when i put the leases file in different path( not the default /var/lib/dhcpd/),
for example:/tmp/dhcpd.leases,even if i used "cp -p"

when system reboot,the dhcpd daemon can not start ,and report the permission deny error

but if i log on,and run dhcpd -lf /tmp/dhcpd.leases, i can work! 

2012-04-03 



18905913309 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20120403/502ca6f1/attachment.html>


More information about the dhcp-users mailing list