Results 1 to 3 of 3

Thread: problems starting DHCP server

  1. #1
    Join Date
    Apr 2009
    Beans
    109

    problems starting DHCP server

    I have previously set up DHCP server to dynamically update BIND9 DNS server using ubuntu 8.04 several time without a problem, mainly using this method:
    http://www.debian-administration.org..._Debian_Stable

    Trying to do the same on Ubuntu 10.04 but keep getting this error when starting the dchp server
    Code:
    /etc/init.d/dhcp3-server restart
    dhcpd self-test failed. Please fix the config file.
    The error was: 
    Internet Systems Consortium DHCP Server V3.1.3
    Copyright 2004-2009 Internet Systems Consortium.
    All rights reserved.
    For info, please visit https://www.isc.org/software/dhcp/
    Can't open /etc/bind/rndc.key: Permission denied
    here are the permissions for the /etc/bind/rndc.key file:
    Code:
    root@Server64:~# ls -l /etc/bind/rndc.key
    -rw-r--r-- 1 bind bind 71 2010-09-24 22:58 /etc/bind/rndc.key
    I really can't see why this is a problem?

  2. #2
    Join Date
    Apr 2009
    Location
    Rawalpindi, Pakistan
    Beans
    5,666
    Distro
    Ubuntu Gnome Development Release

  3. #3
    Join Date
    Apr 2009
    Beans
    109

    Re: problems starting DHCP server

    Thankyou

    I added the following lines to the dhcp3 apparmor profile as per the link provided:
    Code:
    /etc/bind/ r,
    /etc/bind/** r,
    Now works without a problem

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •