LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-14-2003, 09:18 AM   #1
beyond_2000
Member
 
Registered: Oct 2002
Location: Guangdong,Chinese
Distribution: Redhat AS 3.0 + FC1
Posts: 72

Rep: Reputation: 15
How to make bind9 runing?


I have tried 2 way to run named. The one is add:" ./etc/bin/named start " in boot.local, the other is by using "chkconfig -a named". whichever I used, the named service seems to be started correctly.
But I cannot find the process of named by "ps -A " or Ksysguard.
If I want to restart the named: rcnamed restart, it prompt like this:
Shutting donw name server bind9 - Warning: named not running! done
Startting name server bind9 done

when I shut down my system, there is a message also like that above:
Shutting donw name server bind9 - Warning: named not running! done

So ,how can I really run named?

thanks at advance!
 
Old 01-14-2003, 09:27 AM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
You need to set up the proper zone information and data files in order to use bind. Have a look at /var/log/messages and you'll probably see a bunch of errors that will tell you why named won't run.
 
Old 01-14-2003, 10:08 AM   #3
beyond_2000
Member
 
Registered: Oct 2002
Location: Guangdong,Chinese
Distribution: Redhat AS 3.0 + FC1
Posts: 72

Original Poster
Rep: Reputation: 15
Jan 13 03:12:24 lizard named[1350]: starting BIND 9.2.1 -u named
Jan 13 03:12:24 lizard named[1350]: using 1 CPU
Jan 13 03:12:24 lizard named[1350]: loading configuration from '/usr/etc/named.conf'
Jan 13 03:12:24 lizard named[1350]: none:0: open: /usr/etc/named.conf: file not found
Jan 13 03:12:24 lizard named[1350]: loading configuration: file not found
Jan 13 03:12:24 lizard named[1350]: exiting (due to fatal error)

---------------------------------------------------------
but I really have a named.conf .
At your standpoint , my named.conf has a wrong configuration? This is the reason why named quit imediately after start?
this is my named.conf below:

options {
directory "/var/named";
forward only;
//forward first;
forwarders {202.96.128.68;202.96.134.133;};
allow-query {127.0.0.1; 192.168.1/24;};
};

controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};

zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};

zone "lizardstudio.org" IN {
type master;
file "db.beyond_2000.org";
allow-update {127.0.0.1;};
};

zone "1.168.192.in-addr.arpa" IN {
type master;
file "db.192.168.1";
allow-update {127.0.0.1;};
};

include "/etc/rndc.key";
------------------------------------
In my local net ,this is the stand-alone server ,there is no slave DNS server .
 
Old 01-14-2003, 11:15 AM   #4
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
_Where_ is your named.conf?
 
Old 01-15-2003, 04:20 AM   #5
beyond_2000
Member
 
Registered: Oct 2002
Location: Guangdong,Chinese
Distribution: Redhat AS 3.0 + FC1
Posts: 72

Original Poster
Rep: Reputation: 15
/etc/named.conf
/usr/etc/named.conf
I have put the file into these two directory.
I can see bind9 start success, but I still cannot find the process.
 
Old 01-15-2003, 01:00 PM   #6
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
the process is exiting.

Have at look at the permissions of the file.
Have a look at whether or not not SuSE is running it chroot-ed. All I can recommend is that you fire up Yast and see how it's rigged up to start.
 
Old 01-16-2003, 12:05 AM   #7
beyond_2000
Member
 
Registered: Oct 2002
Location: Guangdong,Chinese
Distribution: Redhat AS 3.0 + FC1
Posts: 72

Original Poster
Rep: Reputation: 15
I changed the named run level to 35. What is the permissions of named.conf? The owner and the group are all root, only root can start or stop a process. Are there any other permissions?
You must be a expert of linux, would you like to teach me more about SuSE ? SuSE is a very alternative OS than others such as Redhat , Turbolinux and Mandrake, etc. There are too much more difference between other Linux OS.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to know shorewall is runing? shams Fedora 2 12-26-2004 09:41 AM
runing the make command Paridoth Mandriva 4 10-30-2004 05:57 PM
runing .out files What Gives? 1337 Twinkie Fedora 4 07-26-2004 11:00 PM
How do I make gnome stop runing nautilus? brynjarh Linux - Newbie 6 07-10-2004 04:29 AM
runing shell script khucinx Programming 1 05-11-2004 11:45 AM


All times are GMT -5. The time now is 05:56 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration