dhcp support NSS file system?
kalyanasundaram S
s.kalyanasundaram at inbox.com
Thu Aug 2 10:36:32 UTC 2007
> Hash: SHA1
>
> kalyanasundaram S wrote:
>>> Hello,
>>> did u touch
>>>
>>> /media/nss/LOCALVOL/var/lib/dhcp/db/dhcpd.leases ?
>>>
>>>
>>> shishir
>>>
>>
>> Yes i touched it. The server is able to come up. But it it could not
>> write down. But i observed after some time it generated more than 50000
>> file of dhcpd.leases.{randum-numbers} in the same directory. But those
>> files does not contain any lease information. It contains the lease file
>> comments.
>> All the files contain the below,
>
> Can you check the system logs to see if there are any messages from the
> DHCP server?
>
It logs the message but nothing much. The initial log messages are,
--------------------------
Aug 2 15:59:19 test-54 dhcpd: Internet Systems Consortium DHCP Server V3.0.3
Aug 2 15:59:19 test-54 dhcpd: Copyright 2004-2005 Internet Systems Consortium.
Aug 2 15:59:19 test-54 dhcpd: All rights reserved.
Aug 2 15:59:19 test-54 dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Aug 2 15:59:19 test-54 dhcpd: Wrote 0 leases to leases file.
Aug 2 15:59:19 test-54 dhcpd: Can't backup lease database /media/nss/LOCALVOL/var/lib/dhcp/db/dhcpd.leases to /media/nss/LOCALVOL/var/lib/dhcp/db/dhcpd.leases~: Invalid argument
Aug 2 15:59:19 test-54 dhcpd: Listening on LPF/eth0/00:14:38:4c:60:80/152.98.169/24
Aug 2 15:59:19 test-54 dhcpd: Sending on LPF/eth0/00:14:38:4c:60:80/152.98.169/24
Aug 2 15:59:19 test-54 dhcpd: Sending on Socket/fallback/fallback-net
Aug 2 15:59:27 test-54 dhcpd: DHCPDISCOVER from 00:14:38:4c:2a:f4 via eth0
Aug 2 15:59:27 test-54 dhcpd: ICMP Echo reply while lease 152.98.169.96 valid.
Aug 2 15:59:27 test-54 dhcpd: Abandoning IP address 152.98.169.96: pinged before offer
Aug 2 15:59:27 test-54 dhcpd: Can't create new lease file: Permission denied
Aug 2 15:59:30 test-54 dhcpd: DHCPDISCOVER from 00:11:11:b1:ce:57 via eth0
Aug 2 15:59:30 test-54 dhcpd: ICMP Echo reply while lease 152.98.169.95 valid.
Aug 2 15:59:30 test-54 dhcpd: Abandoning IP address 152.98.169.95: pinged before offer
Aug 2 15:59:30 test-54 dhcpd: Can't create new lease file: Permission denied
-----------------------
I had only only one pool and one IP address ( I had tested large range of address too) to lease for the testing purpose. No other configuration i had. And there will be continuous Permission denied errors in the logs. Do you see anything?
Thanks for your help,
-Kalyan
More information about the dhcp-users
mailing list