Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Apr 2004
    Posts
    15

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

    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. #2
    Member bijo's Avatar
    Join Date
    Aug 2004
    Location
    India
    Posts
    475

    Default

    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
    Bijo
    Yahoo: "bijo505"
    Msn: "bijo_baby@hotmail.com"
    AIM: "bijobaby"

    http://slashome.com

  3. #3
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    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.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  4. #4
    Member
    Join Date
    Apr 2004
    Posts
    15

    Thumbs up 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. #5
    Member
    Join Date
    May 2004
    Location
    Croatia
    Posts
    36

    Default

    Quote Originally Posted by chirpy View Post
    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
    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

Similar Threads & Tags
Similar threads

  1. Replies: 11
    Last Post: 12-11-2009, 11:34 AM
  2. SWF file not loading within
    By creo in forum New User Questions
    Replies: 1
    Last Post: 01-19-2009, 03:04 PM
  3. what is the point of /var/named/chroot/var/named
    By clbrack1 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-22-2007, 03:25 PM
  4. DNS master file has no owner
    By madmac in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-19-2004, 04:10 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube