LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-21-2003, 06:17 AM   #1
blaci
LQ Newbie
 
Registered: Feb 2003
Posts: 5

Rep: Reputation: 0
named - dns - problems


Hi!

I get an error when i start named:

/var/log/messages:

Jul 21 07:14:11 localhost named[1519]: starting BIND 9.1.3
Jul 21 07:14:11 localhost named[1519]: using 1 CPU
Jul 21 07:14:11 localhost named[1521]: loading configuration from '/etc/named.conf'
Jul 21 07:14:11 localhost named[1521]: the default for the 'auth-nxdomain' option is now 'no'
Jul 21 07:14:11 localhost named[1521]: no IPv6 interfaces found
Jul 21 07:14:11 localhost named[1521]: listening on IPv4 interface lo, 127.0.0.1#53
Jul 21 07:14:11 localhost named[1521]: listening on IPv4 interface eth0, 192.168.0.126#53
Jul 21 07:14:11 localhost named[1521]: listening on IPv4 interface eth1, 192.168.1.4#53
Jul 21 07:14:11 localhost named[1521]: couldn't open pid file '/var/run/named/named.pid': Permission denied



My /var/named.conf:

options {
directory "/var/named";
};

zone "0.0.127.in-addr.arpa"{
type master;
file "pz/127.0.0";
};


My /var/named/127.0.0 :

$TTL 3D
@ IN SOA ns.linux.bogus. hostmaster.linux.bogus. (
1
8H
2H
4W
1D)
NS ns.linux.bogus.
1 PTR localhost.


Thanks for your answer!
 
Old 07-21-2003, 10:57 AM   #2
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
named evidently doesn't have rights to create a file in /var/run/named. Moreover, where is the IP address for your name server (ns.linux.bogus)?

Cheers--
Charles
 
Old 07-22-2003, 01:32 AM   #3
blaci
LQ Newbie
 
Registered: Feb 2003
Posts: 5

Original Poster
Rep: Reputation: 0
I solved the problem with the command:

named -gu named
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with iptables and DNS/named Zone settings majiclab Linux - Networking 2 10-24-2004 05:27 AM
Do I need to restart Named after making DNS changes? imsam Linux - Networking 7 07-24-2004 01:02 PM
DNS named and /etc/hosts Pollyanna Linux - Networking 0 03-22-2004 02:39 PM
[DNS/NAMED] What is the SOA? BxBoy Linux - Networking 1 03-09-2003 04:31 PM
DNS and named.local file Breezwell Linux - Networking 0 04-23-2001 07:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:42 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration