Results 1 to 10 of 17

Thread: [SOLVED] Bind9 won't start

Hybrid View

  1. #1
    Join Date
    Sep 2007
    Beans
    286

    [SOLVED] Bind9 won't start

    I'm setting up a server using the ubuntu 8.04 perfect server guide, and I got to the section where you start bind9 after stopping it. I'm getting errors in my syslog. Here's the section with the errors. I believe it is something to do with permissions, but not sure why. Any help would be greatly appreciated.

    May 19 20:36:36 atlas named[6398]: starting BIND 9.4.2 -u bind -t /var/lib/named
    May 19 20:36:36 atlas named[6398]: found 1 CPU, using 1 worker thread
    May 19 20:36:36 atlas named[6398]: loading configuration from '/etc/bind/named.conf'
    May 19 20:36:36 atlas named[6398]: none:0: open: /etc/bind/named.conf: permission denied
    May 19 20:36:36 atlas named[6398]: loading configuration: permission denied
    May 19 20:36:36 atlas named[6398]: exiting (due to fatal error)
    May 19 20:36:36 atlas kernel: [38722.446742] audit(1211247396.427:2): type=1503 operation="inode_permission" requested_mask="r::" denied_mask="r::" name="/var/lib/named/etc/bind/named.conf" pid=6399 profile="/usr/sbin/named" namespace="default"

  2. #2
    Join Date
    May 2005
    Location
    Lyon, France
    Beans
    916
    Distro
    Ubuntu Development Release

    Re: Bind9 won't start

    silly question but have you checked /etc/bind/named.conf ownership and permissions?

  3. #3
    Join Date
    Sep 2007
    Beans
    286

    Re: Bind9 won't start

    I have, it seems that everyone should be able to read the file, does it need to have write/execute privileges as well? Here's the ls -la for that:

    -rw-r--r-- 1 bind bind 907 2008-04-09 14:42 /etc/bind/named.conf

    I'm afraid this is the first time bind9 has actually given me a problem.

  4. #4
    Join Date
    May 2005
    Location
    Lyon, France
    Beans
    916
    Distro
    Ubuntu Development Release

    Re: Bind9 won't start

    mine is
    -rw-r--r-- 1 root bind /etc/bind/named.conf

    user not being root is not your problem though. Sorry I am at a loss here.

  5. #5
    Join Date
    Sep 2007
    Beans
    286

    Re: Bind9 won't start

    Perhaps I should clear it off the machine and reinstall it from there?

  6. #6
    Join Date
    Nov 2006
    Location
    40.31996,-80.607213
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Bind9 won't start

    It is worth a shot. But, try changing ownership first and check the rest of the files in there also. If you need to change ownership, use:
    Code:
    sudo chown root:bind /etc/bind/named.conf
    "Security lies within the user of who runs the system. Think smart, live safe." - Dr Small
    Linux User #441960 | Wiki: DrSmall

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
  •