#1  
Old 21st August 2008, 19:53
cooltop cooltop is offline
Junior Member
 
Join Date: Aug 2008
Location: Louisiana
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
Default Problems With DNS in Cpanel

Okay got cpanel installes on Centos 5.2. You can reach it by the IP number but is not able to bring it up by doing www.whatever.com. I Know the register side is right b/c it works fine through my Win Server machine. I am replacing it with mt Centos box. So here is what i know so far under server status its says


named has failed, please contact the sysadmin (result was "named is not running"). Aug 21 12:44:32 ns1 named: none:0: open: /etc/named.conf: file not found


okay and when i try to name it or edit file it says

zone huntingla.net/IN: loaded serial 2008082112
OK

Bind reloading on ns1 using rndc zone: [huntingla.net]
Error reloading bind on ns1: rndc: connect failed: 127.0.0.1#953: connection refused




If anyone knows how to fix this please let me know thanks
Reply With Quote
Sponsored Links
  #2  
Old 21st August 2008, 22:26
cooltop cooltop is offline
Junior Member
 
Join Date: Aug 2008
Location: Louisiana
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Falco if you would like the login details to look at let me know and I will give them to you. Its a new server so there really not much there to mess up or anything
Reply With Quote
  #3  
Old 22nd August 2008, 13:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Does /etc/named.conf exist? If so, what's in it, and what's the output of
Code:
ls -l /etc/named.conf
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
cooltop (22nd August 2008)
  #4  
Old 22nd August 2008, 14:23
cooltop cooltop is offline
Junior Member
 
Join Date: Aug 2008
Location: Louisiana
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
 
Default

Okay Got it working this is what I had to do for anyone else needing to know


First, I commented out the following line in /etc/sysconfig/named:

ROOTDIR=/var/named/chroot

Then, I checked for the bind-chroot package, which did not exist.

I removed the symbolic links to the chroot'd named.conf files from /etc/,
copied the zones from /var/named/chroot/var/named to /var/named and ran:

/scripts/rebuildnamedconf
/scripts/fixnamedviews
/etc/init.d/named restart



also for note: Named was set to run in a chroot'd configuration (according to
/etc/sysconfig/named) but the configuration was not fully built to support this
setup. (Additionally, cPanel does not yet support chroot'd named.
So named has to use a standard configuration.

So after all that figuring out that CPANEL does not support CHROOT'D it made more since
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid Proxy Caching on Linux obzerver Installation/Configuration 4 13th August 2008 19:51
Google Apps dayjahone General 19 29th March 2008 17:25
DNS Configuration Problems VMartins Installation/Configuration 10 24th July 2007 14:40
Unable send receive emails vassilis3 Installation/Configuration 15 19th May 2007 14:34
No SPF record. beryl Installation/Configuration 6 17th May 2007 19:52


All times are GMT +2. The time now is 23:30.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.