The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

The War Against BIND Continues (O_o with me?)

Discussion in 'Bind / DNS / Nameserver Issues' started by Cacho, Mar 15, 2005.

  1. Cacho

    Cacho Member

    Joined:
    Feb 28, 2005
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Well another problem for the pro's at the cPanel forums :-D

    After a nice friendly power cycle by my datacenter, my server seems to have developed a complex about running BIND, or NAMED as cPanel likes to call it :-(. When attempting a service restart I attain the following:

    I also see

    Joking about the last one... HAHA!

    Anyway I've seen this error all over google but I've tried most things but the seem not to work. Even a "graceful" reboot doesn't help.

    I'm running FREEBSD 4.10 with the latest stable version of cpanel. Also services manager tells me that apache and exim fail at startup, but they restart without any problem.

    Once again I appreciate very much any person who can help solve my problem

    Best Regards,
    Cacho
     
  2. Cacho

    Cacho Member

    Joined:
    Feb 28, 2005
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Temporary fix:

    /usr/local/sbin/named -u bind -c /etc/namedb/named.conf

    Anyone know how to fix this permently, so cPanel recognizes that it's actually running??
     
  3. jcase

    jcase Well-Known Member

    Joined:
    Jun 1, 2004
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    id be interested as well, I too am using the command above, simply created a /usr/local/rc.d script to do it upon reboot. Seems as though when one adds a subdomain and or domain, rndc fails (reload of bind)

    can anyone else confirm that?
     
  4. easyhoster1

    easyhoster1 Well-Known Member

    Joined:
    Sep 25, 2003
    Messages:
    659
    Likes Received:
    0
    Trophy Points:
    16
    What version of Bind are you running?

    Is
    named_flags="-u bind -c /etc/namedb/named.conf"

    located in your /etc/rc.conf file?
     
  5. Cacho

    Cacho Member

    Joined:
    Feb 28, 2005
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    I'm running whichever version comes bundled with cPanel STABLE.

    named_flags="-u bind -c /etc/namedb/named.conf" is located towards the end of the specified file.
     
  6. easyhoster1

    easyhoster1 Well-Known Member

    Joined:
    Sep 25, 2003
    Messages:
    659
    Likes Received:
    0
    Trophy Points:
    16
    What does /var/log/messages say when you restart bind?
     
  7. Cacho

    Cacho Member

    Joined:
    Feb 28, 2005
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Mar 16 13:39:37 s1 named[23021]: starting BIND 9.3.1
    Mar 16 13:39:37 s1 named[23021]: none:0: open: /usr/local/etc/named.conf: file $
    Mar 16 13:39:37 s1 named[23021]: loading configuration: file not found
    Mar 16 13:39:37 s1 named[23021]: exiting (due to fatal error)
    Mar 16 13:42:44 s1 named[5244]: stopping command channel on 127.0.0.1#953
    Mar 16 13:42:44 s1 named[5244]: exiting
     
  8. Cacho

    Cacho Member

    Joined:
    Feb 28, 2005
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    I coppied named.conf into the /usr/local/etc dir and it can now be started from an SSH connection but still fails with WHM. Can anyone tell me why? or give me any other suggestions?

    Code:
    
    Mar 16 15:27:25 s1 named[24680]: starting BIND 9.3.1
    Mar 16 15:27:25 s1 named[24680]: command channel listening on 127.0.0.1#953
    Mar 16 15:27:25 s1 named[24680]: running
    
    
     
  9. paradoxic

    paradoxic Member
    PartnerNOC

    Joined:
    Jun 13, 2004
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    Whoever is in charge of bind/named on bsd at cpanel needs to really get their act together. There have been countless screwups and unanounced changes with this service that have been driving me crazy. I am glad to see that someone else is experiencing this issue (misery loves company).

    Hopefully they can get a fix on this soon.
     
  10. Cacho

    Cacho Member

    Joined:
    Feb 28, 2005
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Yea well... I'm going to try to fix this, and if i can't I'm just getting a reinstall. It seemed to work fine right after the cPanel install. Maybe something got futzed up with the reboot. cPanel is great, don't get me wrong... its the best hosting software out there, but there are things that are still buggy.
     
  11. ptez

    ptez Active Member

    Joined:
    Jun 5, 2003
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    Now I also encounter this kinda problem.
    After every reboot, I have to use:
    Code:
    /usr/local/sbin/named -u bind -c /etc/namedb/named.conf
    
    to make DNS work.


    Any idea how to fix it permanently?
     
  12. jackie46

    jackie46 BANNED

    Joined:
    Jul 25, 2005
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    0
    Do you have the following in rc.conf?

    named_flags="-u bind -c /etc/namedb/named.conf"
    named_program="/usr/sbin/named"
    named_enable="YES"
     
Loading...

Share This Page