Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    Aug 2003
    Location
    Texas
    Posts
    91

    Default "Edit DNS Zone" is empty despite forum tips

    THIS TOPIC WAS SOLVED...SEE MY LAST POST


    In WHM when I click "Edit DNS Zone", the DNS list is empty.

    I have researched this here already as well. I have done everything as listed in this thread..

    "Edit DNS Zone" is empty

    and this one....

    http://forums.cpanel.net/showthread.php?t=59920

    I even did upcp, updatenow, fixcommon problems, fix everything etc..

    All files ARE still located in '/var/named/' but not showing up in WHM. As a side note many of the files in that directory WERE owned by root.root and I updated it to named.named.

    Anyone have any further ideas for me?
    Last edited by wsenter; 11-30-2006 at 05:47 AM.

  2. #2
    Member
    Join Date
    Sep 2003
    Posts
    165

    Default

    Try:

    Code:
    chown root:named /var/named; \
    chmod -R 644 /var/named/*
    What's the output of ls -lh /var/named/ and also ls -lh /etc/named.conf
    search is your friend!
    cPanel Specialist Certification::Technical

  3. #3
    Member
    Join Date
    Aug 2003
    Location
    Texas
    Posts
    91

    Default

    You said..

    Code:
    chown root:named /var/named; \
    chmod -R 644 /var/named/*

    I did not make any changes as of yet as isn't there a folder in named with the following properties...

    drwxrwx--- 2 named mail 4.0k Aug 7 2004 mail/

    Let me know as I did not want to make any changes to that or anything in that folder

    Code:
    root@host [~]# ls -lh /etc/named.conf
    -rw-r--r--    1 root     root          37k Nov  1 23:25 /etc/named.conf

  4. #4
    Member
    Join Date
    Sep 2003
    Posts
    165

    Default

    I did not make any changes as of yet as isn't there a folder in named with the following properties...
    Please confirm what you mean?
    I would suggest contracting a system admin to look into this further.
    search is your friend!
    cPanel Specialist Certification::Technical

  5. #5
    Member
    Join Date
    Aug 2003
    Location
    Texas
    Posts
    91

    Default

    Carl. Sorry I was not clearer. I just meant that I did not want to run "chmod -R 644 /var/named/*"

    My reasoning for not running this was due to the fact that IN named there is the mail folder and I thought that the folder mail and it's contents were to be set at 660 and not 644 or am I wrong?

    Upon looking into this it appears as though the "mail" folder only has 1 file so I manually changed it back. Here you go...

    Code:
    root@host [/]# chmod -R 644 /var/named/*; chmod 660 /var/named/mail;
    root@host [/]# ls -lh /var/named/
    -rw-r--r--    1 named    named         890 Aug  7  2004 domain1.com.db
    -rw-r--r--    1 named    named         703 Feb 14  2005 domain2.com.db
    -rw-r--r--    1 named    named         497 Nov  3  2004 domain3.org.db
    -rw-r--r--    1 named    named         930 Aug  7  2004 domain4.com.db
    -rw-r--r--    1 named    named         868 Aug  7  2004 domain5.com.db
    -rw-r--r--    1 named    named         767 Aug  7  2004 domain6.ca.db
    -rw-r--r--    1 named    named         668 Aug  7  2004 domain7.com.db
    -rw-r--r--    1 named    named         870 Aug  7  2004 domain8.com.db
    The above is only a partial listing. There are actually about 290 zone files but that should give you the idea on the permissions/ownership. Let me know if you have any other ideas as I am running low on them. Seriously appreciate the help.

  6. #6
    Member
    Join Date
    Sep 2003
    Posts
    165

    Default

    At a glance it looks fine. Try tailing the cpanel error log when you go to the edit dns page:
    tail -f /usr/local/cpanel/logs/error_log
    search is your friend!
    cPanel Specialist Certification::Technical

  7. #7
    Member
    Join Date
    Aug 2003
    Location
    Texas
    Posts
    91

    Default

    No errors of any kind while the page is loading. However each time I type in the command I get the following...

    Code:
    root@host [/]# tail -f /usr/local/cpanel/logs/error_log
    Compilation failed in require at /usr/local/cpanel/Cpanel/Gzip.pm line 14.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Gzip.pm line 14.
    Compilation failed in require at /usr/local/cpanel/whostmgr/bin/dnsadmin line 22.
    BEGIN failed--compilation aborted at /usr/local/cpanel/whostmgr/bin/dnsadmin line 22.
     is only avaliable with the XS version at /usr/lib/perl5/site_perl/5.8.7/Compress/Zlib.pm line 9
    BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.7/Compress/Zlib.pm line 9.
    Compilation failed in require at /usr/local/cpanel/Cpanel/Gzip.pm line 14.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Gzip.pm line 14.
    Compilation failed in require at /usr/local/cpanel/whostmgr/bin/dnsadmin line 22.
    BEGIN failed--compilation aborted at /usr/local/cpanel/whostmgr/bin/dnsadmin line 22.
    I am not sure what that dnsadmin error is on line 22. Note that these errors came up JUST from viewing the log. I had not even opened up the edit dns zone page.

  8. #8
    Member
    Join Date
    Aug 2003
    Location
    Texas
    Posts
    91

    Default

    UPDATE: SOLVED

    Ok...I actually got it figured out. Orginally I just had done this per the other forum posts...

    Code:
    root@host /scripts/perlinstaller Compress::Raw::Zlib;/scripts/perlinstaller --force Scalar::Util;
    And that did not seem to do the trick.

    After that I just wanted to make sure that everything was up to date so I did this...

    Code:
    cd /scripts;./updatenow;./upcp ---force;./mysqlup --force;./exim4 --force;./fixeverything;
    ((the above took quite awhile to run))

    Then after the above was done I ran this AGAIN...

    Code:
    root@host /scripts/perlinstaller Compress::Raw::Zlib;/scripts/perlinstaller --force Scalar::Util;
    Everything is now working. My thanks go out to carluk for his help in trying to help me troubleshoot this.

  9. #9
    Member
    Join Date
    Sep 2003
    Posts
    165

    Default

    /usr/local/cpanel/bin/checkperlmodules would likely have resolved the problem for you

    cd /scripts;./updatenow;./upcp ---force;./mysqlup --force;./exim4 --force;./fixeverything;
    The above is a bad idea and you would only need to do the following:
    /scripts/upcp --force
    search is your friend!
    cPanel Specialist Certification::Technical

Similar Threads & Tags
Similar threads

  1. "Edit DNS Zone" Loads very slow for Reseller Account
    By hereiam in forum New User Questions
    Replies: 4
    Last Post: 03-01-2011, 05:26 PM
  2. Replies: 4
    Last Post: 07-21-2009, 12:53 PM
  3. Edit DNS Zone gives "Internal Server Error"
    By erick_paper in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-16-2008, 09:28 PM
  4. "Edit DNS Zone" is empty
    By Arvy in forum cPanel and WHM Discussions
    Replies: 25
    Last Post: 09-02-2007, 08:11 PM
  5. Replies: 10
    Last Post: 04-29-2007, 12:23 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube