hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Bind wont work on a fresh Redhat 9 Installation
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Bind wont work on a fresh Redhat 9 Installation

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 11-22-2004, 01:50 AM
vpsfusion vpsfusion is offline
Web Hosting Master
 
Join Date: May 2004
Location: Toronto, Canada
Posts: 561

Bind wont work on a fresh Redhat 9 Installation


Hello,

I have just installed Redhat 9.0 on my server and it seems to have a problem with Bind.

When i try to locate bind named.conf it gives me.

root@HOSTNAME [/scripts]# locate named.conf
/usr/share/man/man5/named.conf.5.gz
/etc/log.d/conf/services/named.conf

shouldnt named be located at /etc/named.conf ?

When i try pico -w /etc/named.conf, nothing appears there.

And in WHM, When I try to restart named, it gives me the following error:


Attempting to restart named
Waiting for named to restart.... . . . . . . . . . . finished.

named status


named has failed, please contact the sysadmin (result was "named is not running").


--------

When I run the script. /scripts/fixndc it gives the folllowing error:

root@HOSTNAME [/scripts]# /scripts/fixndc
Fixndc using rh9/rhes3/fedora support
Adding key...
Adding controls...
Adding hint zone...
cp: cannot stat `/etc/namedb/named.conf': No such file or directory
cp: cannot stat `/etc/namedb/named.conf.fixndc': No such file or directory
Restarting bind.....Waiting for named to restart..............finished.


named has failed, please contact the sysadmin (result was "named is not running").
Done
All fixed

and when I run /scripts/fixnamed, nothing happens.

And named doesnt show up under the Service status in WHm

What is going on?

can you please help me.


Thank you

Reply With Quote


Sponsored Links
  #2  
Old 11-22-2004, 02:29 AM
Techark Techark is offline
Web Hosting Master
 
Join Date: Apr 2002
Location: Australia or US depends
Posts: 5,723
Type

touch /etc/named.conf

/scripts/fixndc

Should solve your problems.

__________________
Techark Web Hosting
Cloud Servers and Managed Dedicated Servers with Live Proactive Monitoring
My Blog of Random Thoughts

Reply With Quote
  #3  
Old 11-22-2004, 03:01 AM
vpsfusion vpsfusion is offline
Web Hosting Master
 
Join Date: May 2004
Location: Toronto, Canada
Posts: 561
Hello,

Thank you for your reply.
I did as you said and it fixed the restart issue and /etc/named.conf but now another problem... when i add an account. it does not add anything in the /etc/named.conf as it should do. What might be the problem?

thank you

Reply With Quote
Sponsored Links
  #4  
Old 11-22-2004, 04:46 AM
Angelo Angelo is offline
Web Hosting Master
 
Join Date: Mar 2004
Location: Los Angeles
Posts: 617
Is the file writable by cpanel?

__________________
Hosting Reviews

Reply With Quote
  #5  
Old 11-22-2004, 09:24 AM
vpsfusion vpsfusion is offline
Web Hosting Master
 
Join Date: May 2004
Location: Toronto, Canada
Posts: 561
I am not sure.
When i add the host name A record or add an account. The script doesnt add anything in the named.conf file.

Reply With Quote
  #6  
Old 11-22-2004, 10:04 AM
Angelo Angelo is offline
Web Hosting Master
 
Join Date: Mar 2004
Location: Los Angeles
Posts: 617
Try manually adding dns zones by:

# /scripts/adddns

Check with its configuration also:

# cat /scripts/adddns | grep named.conf

__________________
Hosting Reviews

Reply With Quote
  #7  
Old 11-23-2004, 03:16 AM
assistanz247 assistanz247 is offline
Web Hosting Master
 
Join Date: Nov 2004
Location: India
Posts: 1,069
cd /etc
mv named.conf named.conf.bak

/scripts/fixndc

/scripts/restartsrv named

This will fix the issue and the problem was with the rndckey.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Red Hat Releases Version 1.1 of PaaS Offering OpenShift Enterprise Web Hosting News 2013-02-14 16:06:39
Red Hat Previews Commercial Version of OpenStack Web Hosting News 2012-08-13 18:28:08
Google Clean Energy Guru Weihl Joining Facebook Web Hosting News 2011-12-20 15:53:32
Hosting Automation Software Provider 1H.com Adds Debian Support Web Hosting News 2011-11-15 21:53:57
Irish Web Host Spiral Hosting Acquires Fresh Hosting Web Hosting News 2011-09-15 18:00:33


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?