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.

loading master file /var/named/DOMAIN.db: file not found ?

Discussion in 'General Discussion' started by Quanntum, Jul 9, 2005.

  1. Quanntum

    Quanntum Member

    Joined:
    Apr 3, 2004
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    When Bind is restarted, all domains get the line that the domain db hasnt been found.
    The files are in place.
    When accessing via the browser we dont get the homepage, but only the 'page not found' error.

    Any idea what causes this error? All services are up and running and up to date, brandnew server.
     
  2. bijo

    bijo Well-Known Member

    Joined:
    Aug 21, 2004
    Messages:
    475
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    Hello,

    You should check your named.conf and also check the messages. Run the following command in one console and try to restart named service from another console.
    -----------------------------------
    tail -f /var/log/messages
    -----------------------------------
    And paste few log line here.

    Also try the following script
    -------------------------------
    /scripts/fixndc
    -------------------------------

    Let me know the status ;)
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You might also have a chroot environment enabled for named. You can try disabling that by editing /etc/sysconfig/named and commenting out the line:

    ROOTDIR=/var/named/chroot

    Then restart named and see if the zones load. If not, posting your OS would help.
     
  4. Quanntum

    Quanntum Member

    Joined:
    Apr 3, 2004
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Solved

    Thanks both of you !
    the logging didnt give a clue, but the chroot editing sure did. Hope you guys stick around here a long time !
     
  5. valkira

    valkira Active Member

    Joined:
    May 3, 2004
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Croatia
    cPanel Access Level:
    Root Administrator
    Hi, I had this problem and removing chroot helped, could you just give some pointers on chroot environment - why or why not use it, disadvantages etc. Thanks
     
Loading...

Share This Page