dhcp6.leases permission denied

김무성 kimms at infosec.co.kr
Wed May 4 02:02:27 UTC 2011

There is no /etc/init.d/dhcp
There is /etc/init.d/isc-dhcp-server

But some error.

root at gateway:~# /etc/init.d/isc-dhcp-server start
dhcpd self-test failed. Please fix the config file.
The error was:
Internet Systems Consortium DHCP Server 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
/etc/dhcp/dhcpd.conf line 34: subnet6 statement is only supported in DHCPv6 mode.
Configuration file errors encountered -- exiting

Because I use ipv6, when I start dhcp server, I have to insert parameter "-6"
So I use this command

> root at gateway:/var/lib/dhcp# /usr/sbin/dhcpd -6 -f -cf
> /etc/dhcp/dhcpd.conf eth0


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

본 메일의 내용과 첨부된 문서는 지정된 수신자만 받아볼 수 있으며, 기밀 정보 또는 관련 법규에 따라 공개되어서는 안 되는 정보가 포함되어 있을 수 있습니다. 만약 이 메일을 보는 분이 지정된 수신자가 아니라면, 본 메일의 내용 및 첨부 파일의 공개, 배포를 비롯한 어떠한 사용도 허용되지 않습니다. 이 메일을 잘못 수신하셨으면, 본 메일을 삭제하시고 발신자에게 그 사실을 즉시 알려주시기 바랍니다. 
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. 

-----Original Message-----
From: dhcp-users-bounces+kimms=infosec.co.kr at lists.isc.org [mailto:dhcp-users-bounces+kimms=infosec.co.kr at lists.isc.org] On Behalf Of Alex Bligh
Sent: Tuesday, May 03, 2011 3:37 PM
To: Users of ISC DHCP
Subject: RE: dhcp6.leases permission denied

> root at gateway:/var/lib/dhcp# /usr/sbin/dhcpd -6 -f -cf
> /etc/dhcp/dhcpd.conf eth0

If you are using the dhcpd supplied with Ubuntu, start it
  /etc/init.d/dhcpd start
not from the command line, and see if it works.

If you've compiled it yourself, then disable apparmor and
see if that makes it work.

Alex Bligh
dhcp-users mailing list
dhcp-users at lists.isc.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5096 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20110504/a732769a/attachment.bin>

More information about the dhcp-users mailing list