Results 1 to 8 of 8

Thread: Bind not starting when I boot

  1. #1
    Join Date
    Aug 2006
    Location
    Manchester, UK
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Bind not starting when I boot (SOLVED)

    I'm gradually getting my new 8.10 machine working properly. I've had all sorts of network issues.

    The current one is that when I boot, the DNS service does not come up.

    Typing "sudo named -u bind", on the other hand, works fine. As does "sudo /etc/init.d/bind9 start".

    Any ideas how I can find out what is going on? Nothing in dmesg that I can see, at least, no lines with "named" or "bind" in them...
    Last edited by shadowfirebird; March 10th, 2009 at 11:06 AM.

  2. #2
    Join Date
    Dec 2008
    Location
    Littleton, Colorado USA
    Beans
    362
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Bind not starting when I boot

    Add the following link:

    "ln -s ../init.d/named S28named" in the "/etc/rcd.d/rc3.d" directory.

    Or find the program the sets up services, like "chkconfig". "chkonfig" does nothing but the above "ln -s". It also adds the "Kill" part to the SYS5 style boot-shutdown sequences.

    Hope this helps.

  3. #3
    Join Date
    Aug 2006
    Location
    Manchester, UK
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Bind not starting when I boot

    I appreciate the help, but that doesn't appear to be the cause of the problem.

    There is already a link between /etc/init.d/bind9 and /etc/rc3.d/S15bind9.

  4. #4
    Join Date
    Nov 2006
    Location
    Craggy Island.
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Bind not starting when I boot

    sounds like everything is ready to work, just not running.

    My guess is you are going to run level 2 but not on to run level 3

    type

    Code:
    who -r
    If it says run level 2, then your system is not going to 3 and exectuing the Bind stuff.

    You could boot to the next level on startup, or move bind to Rc2

  5. #5
    Join Date
    Nov 2006
    Location
    Craggy Island.
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Bind not starting when I boot

    shoould have added the command

    Code:
    telinit 3
    If it runs, you knows its runlevel related

  6. #6
    Join Date
    Aug 2006
    Location
    Manchester, UK
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Bind not starting when I boot

    Erm, no. I think I would have noticed if I weren't at runlevel 3, because then I would not be able to log in?

    Quite happily purring along at runlevel 5, ta. Except for not bringing bind up automatically.

    I'm beginning to think that it may be the /etc/init.d/bind9 script. In which case, I will report back here tomorrow -- I may not understand networking, but shell scripts I *can* do.

  7. #7
    Join Date
    Aug 2006
    Location
    Manchester, UK
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Bind not starting when I boot

    Solved.

    Because of earlier network problems I had paranoidly added "-4" to /etc/default/bind9. Or I thought that I had. In fact I had added "-v" -- return version number instead of starting the DNS server.

    I guess the version information doesn't get sent to the log, or if it did, I took it to be a startup message.

    (Next: getting Samba working as a PDC. Expect blood.)

  8. #8
    Join Date
    Nov 2006
    Location
    Craggy Island.
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Bind not starting when I boot

    mmmm must study my runstates again.......

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
  •