Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Apr 2003
    Posts
    94

    Default Named.Conf Destroyed

    On 1 of my servers yesterday the named.conf file was found destroyed. Restarting Bind revealed the horror, and today I have had to do the same on another server where all entries after 's' have disappeared. I'm afraid to look at any of my other servers.

    What happened? And why does it do this?!

  2. #2
    Member
    Join Date
    Jul 2003
    Location
    UK
    Posts
    18

    Default Ive been fixing this for days

    Quote Originally Posted by moogle
    On 1 of my servers yesterday the named.conf file was found destroyed. Restarting Bind revealed the horror, and today I have had to do the same on another server where all entries after 's' have disappeared. I'm afraid to look at any of my other servers.

    What happened? And why does it do this?!
    Ive noticed that when the machines run cpanel update or updatenow is run mostly on rh9 machines the named.conf gets lost the file itself is fine

    But what its doing is when fixndc updates pre update it uses /var/named to store the database files db zones.

    Once run the files are there but the named.conf is no longer working due to /etc/namedb being downloaded from cpanels updates. /var/named is the correct location but the fixedndc is trying to create /etc/namedb which does not exist by default

    the fixndc used to have /etc/named.conf as default but for some reason it it using /etc/namedb/named.conf unless the folder exists it wont fix the named.conf

    Using symbolic links sometimes works but not all the time. The error seems to be spreading I have now seen it affecting Savvis/Planet & FDC boxes.

    I have 4 boxes today to fix that have done this

    Anyone else notice this error ?

    Stuart.

  3. #3
    Member
    Join Date
    Nov 2003
    Posts
    521

    Default

    Is it just on RH9?

    Also how would it be fixed? I'm curious, for future reference.

Similar Threads & Tags
Similar threads

  1. named error: /etc/named.conf:11: invalid prefix length '255'
    By DWHS.net in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-02-2007, 04:05 AM
  2. Replies: 3
    Last Post: 07-07-2006, 07:59 AM
  3. Replies: 3
    Last Post: 11-25-2005, 03:06 PM
  4. Help! httpd.conf is destroyed!
    By prankstr25 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 08-02-2005, 03:30 PM
  5. named.conf gets owned by root so named fails to restart
    By webhostnet in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-20-2005, 06:22 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube