Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

BIND failed...urgent

Discussion in 'Bind/DNS/Nameserver' started by Secret Agent, Nov 22, 2004.

  1. Secret Agent

    Secret Agent Guest

    I have no idea why but Bind failed.

    Steps:
    1. Named is on in service manager
    2. updated cpanel to R119 (9.9.8)
    3. /scripts/./fixndc (tells me already fixed)
    4. Restarted BIND
    5. /scripts/updatenow
    6. /scripts/fixnamed
    7. rndc reload


    Please help :)

    OS: Fedora Core 1
     
  2. gemby

    gemby Well-Known Member
    PartnerNOC

    Joined:
    Feb 16, 2002
    Messages:
    182
    Likes Received:
    0
    Trophy Points:
    316
    Location:
    Pula, Croatia
    cPanel Access Level:
    DataCenter Provider
    try to tail -f /var/log/messages and read what is going on when you restart it...
     
  3. Secret Agent

    Secret Agent Guest

    Nov 22 13:40:36 server named[9386]: received notify for zone 'domain1.com'
    Nov 22 13:40:36 server named[9386]: received notify for zone 'domain2.com'
    Nov 22 13:40:36 server named[9386]: received notify for zone 'domain3.com'
    Nov 22 13:40:36 server named[9386]: received notify for zone 'domain4.com'
    Nov 22 13:40:36 server named[9386]: received notify for zone 'domain5.com'
    Nov 22 13:40:36 server named[9386]: received notify for zone 'domain6.com'
    Nov 22 13:40:37 server named[9386]: received notify for zone 'domain7.net'
    Nov 22 13:40:37 server named[9386]: received notify for zone 'domain8.com'
    Nov 22 13:40:37 server named[9386]: received notify for zone 'domain9.com'
    Nov 22 13:40:37 server named[9386]: received notify for zone 'domain10.net'
     
  4. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,366
    Likes Received:
    6
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    What indication do you have of it failing?

    Is this a new server setup?

    What do you see when starting Bind from the prompt? service named restart
     
  5. gemby

    gemby Well-Known Member
    PartnerNOC

    Joined:
    Feb 16, 2002
    Messages:
    182
    Likes Received:
    0
    Trophy Points:
    316
    Location:
    Pula, Croatia
    cPanel Access Level:
    DataCenter Provider
    Look @ last lines..

    try to type
    rndc status

    and if you se something like this...

    number of zones: 2530
    debug level: 0
    xfers running: 0
    xfers deferred: 0
    soa queries in progress: 0
    query logging is OFF
    server is up and running

    everything is ok, if it gives error, try to remove key from /etc/named.conf and do /scripts/fixndc
    service named restart
    and do
    rndc status

    if it stil fails, open another ssh window, do tail-f /var/log/messages and look what is going on when you restart it, that part of log you pasted is not showing anything...
     
  6. Secret Agent

    Secret Agent Guest

    I tried removing the key (only key not entire line) and I got an error so I reversed that.

    root@tungsten [/scripts]# rndc status
    number of zones: 18
    debug level: 0
    xfers running: 0
    xfers deferred: 0
    soa queries in progress: 0
    query logging is OFF
    server is up and running
    root@tungsten [/scripts]#

    tail-f /var/log/messages
    Got a command not found here.
     
  7. Secret Agent

    Secret Agent Guest

    Everytime I run ./fixndc I get

    root@tungsten [/var/named]# /scripts/fixndc
    Fixndc using rh9/rhes3/fedora support
    Found key in named.conf ..
    Found controls in named.conf ..
    named.conf has already been fixed!


    I also get that annoying "hostname missing a entry..." nonsense in WHM. Usually I can fix this but the problem is related to BIND as it is not add teh a entry in "change hostname" area.

    IP=xxx.32.66.106 Bind reloading on duser using rndc zone: [thedomain.com] Error reloading bind on duser: rndc: 'reload' failed: not found Add Complete
     
  8. Secret Agent

    Secret Agent Guest

    I wish I know *exactly* what fixed this, after running all these fix scripts but I did a graceful reboot and tried to add an entry for hostname, works now :)

    Sorry if that is not enough help

    But, we all know that the best fix is usually /scripts/fixndc
     
  9. gemby

    gemby Well-Known Member
    PartnerNOC

    Joined:
    Feb 16, 2002
    Messages:
    182
    Likes Received:
    0
    Trophy Points:
    316
    Location:
    Pula, Croatia
    cPanel Access Level:
    DataCenter Provider
    Remove entire line

    run /scripts/fixndc

    reload named

    and look in tail -f /var/log/mesages whati is still missing

    that's all
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice