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