dhcp6.leases permission denied

Tom Martinson thomas.s.martinson at gmail.com
Tue May 3 02:40:26 UTC 2011


What is the permissions that you have set on the file?

Tom

On 05/02/2011 10:41 PM, 김무성 wrote:
>
> Hello list.
>
> I’m a newbie.
>
> I’m configuring my DHCPv6 server on my ubuntu 11.04
>
> But there is an error.
>
> -----------------------------------------------------------------------------------------------------
>
> Can't open lease database /var/lib/dhcp/dhcpd6.leases: Permission
> denied --
>
> check for failed database rewrite attempt!
>
> -----------------------------------------------------------------------------------------------------
>
> So I create dhcpd6.leases file in /var/lib/dhcp
>
> But it’s continue.
>
> How to relsove this problem?
>
> Give some information about my configure.
>
> -----------------------------------------------------------------------------------------------------
>
> I run dhcpd by root. And dhcpd6.leases file’s permission is -rw-r--r--.
>
> I installed using “apt-get install isc-dhcp-server”
>
> And execute dhcp using “/usr/sbin/dhcpd -6 -f -cf /etc/dhcp/dhcpd.conf
> eth0”
>
> root at gateway:/var/lib/dhcp# ifconfig eth0
>
> eth0 Link encap:Ethernet HWaddr 00:15:17:24:c8:48
>
> inet6 addr: fe80::215:17ff:fe24:c848/64 Scope:Link
>
> inet6 addr: 2001:2b8:8:1::1/64 Scope:Global
>
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>
> RX packets:73966 errors:0 dropped:10 overruns:0 frame:0
>
> TX packets:738 errors:0 dropped:0 overruns:0 carrier:0
>
> collisions:0 txqueuelen:1000
>
> RX bytes:5930928 (5.9 MB) TX bytes:607921 (607.9 KB)
>
> Interrupt:17 Memory:88180000-881a0000
>
> root at gateway:/var/lib/dhcp# vi /etc/dhcp/dhcpd.conf
>
> ddns-update-style none;
>
> option domain-name "example.org";
>
> option domain-name-servers ns1.example.org, ns2.example.org;
>
> default-lease-time 600;
>
> max-lease-time 7200;
>
> log-facility local7;
>
> subnet6 2001:2d8:8:1::/64 {
>
> range6 2001:2d8:8:1::200 2001:db8:0:1::1000;
>
> }
>
> Help.
>
> ================================================
>
> infosec_logo04
>
> R&D Team / Research Engineer / Mu-Sung KIM / SIS
>
> 3F~5F, Wonyung Bldg., 57-38, Nonhyeon-Dong,
>
> Gangnam-Gu, Seoul, 135-010, Korea
>
> Tel : +82-2-6003-0993 Fax : +82-2-3445-0991
>
> twitter : @kmsjlove facebook : kmsjlove
>
> homepage : http://snortrules.wordpress.com http://www.infosec.co.kr
> <http://www.infosec.co.kr/>
>
> ================================================
>
> *CONFIDENTIALITY NOTICE*
>
> 본 메일의 내용과 첨부된 문서는 지정된 수신자만 받아볼 수 있으며, 기밀
> 정보 또는 관련 법규에 따라 공개되어서는 안 되는 정보가 포함되어 있을
> 수 있습니다. 만약 이 메일을 보는 분이 지정된 수신자가 아니라면, 본 메
> 일의 내용 및 첨부 파일의 공개, 배포를 비롯한 어떠한 사용도 허용되지 않
> 습니다. 이 메일을 잘못 수신하셨으면, 본 메일을 삭제하시고 발신자에게
> 그 사실을 즉시 알려주시기 바랍니다.
>
> This e-mail message and any attachments are only for the use of the
> intended recipient and may contain information that is privileged,
> confidential or exempt from disclosure under applicable law. If you
> are not the intended recipient, any disclosure, distribution or other
> use of this e-mail message or attachments is prohibited. If you have
> received this e-mail message in error, please delete and notify the
> sender immediately.
>
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20110502/b132c337/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 3090 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20110502/b132c337/attachment.jpe>


More information about the dhcp-users mailing list