Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-14-2003, 09:18 AM
|
#1
|
Member
Registered: Oct 2002
Location: Guangdong,Chinese
Distribution: Redhat AS 3.0 + FC1
Posts: 72
Rep:
|
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!
|
|
|
01-14-2003, 09:27 AM
|
#2
|
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731
Rep:
|
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.
|
|
|
01-14-2003, 10:08 AM
|
#3
|
Member
Registered: Oct 2002
Location: Guangdong,Chinese
Distribution: Redhat AS 3.0 + FC1
Posts: 72
Original Poster
Rep:
|
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 .
|
|
|
01-14-2003, 11:15 AM
|
#4
|
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731
Rep:
|
_Where_ is your named.conf?
|
|
|
01-15-2003, 04:20 AM
|
#5
|
Member
Registered: Oct 2002
Location: Guangdong,Chinese
Distribution: Redhat AS 3.0 + FC1
Posts: 72
Original Poster
Rep:
|
/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.
|
|
|
01-15-2003, 01:00 PM
|
#6
|
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731
Rep:
|
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.
|
|
|
01-16-2003, 12:05 AM
|
#7
|
Member
Registered: Oct 2002
Location: Guangdong,Chinese
Distribution: Redhat AS 3.0 + FC1
Posts: 72
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 02:11 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|