Can't open lease database /dev/shm/dhcpd/dhcpd.leases:
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!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dhcp-users