Networking Forums

Networking Forums > Computer Networking > Linux Networking > Bind 9.3.1

Reply
 
 
=?ISO-8859-1?Q?J=F8rn?= Dahl-Stamnes
Guest
Posts: n/a

 
      09-28-2005, 08:55 AM
I downloaded Bind 9.3.1 source, compiled it and installed it on a Fedora
Core 4 system. Then I imported the config files from an old RH 7.3 DNS
server (running some old 8. version of Bind).

After changing a few lines in the named.config file, named do start. But I'm
not able to start the named with the "-u named" flag. I get a error that it
can't access /var/run/namned.pid.

I the did a "touch /var/run/named.pid; chown named:named
/var/run/named.pid", but that does not help. Now named complain that the
file already exists.

How can I get this to work?

--
Jørn Dahl-Stamnes
http://www.dahl-stamnes.net/dahls/index.php
 
Reply With Quote
 
 
 
 
Moe Trin
Guest
Posts: n/a

 
      09-29-2005, 12:35 AM
In the Usenet newsgroup comp.os.linux.networking, in article
<(E-Mail Removed)>, Jørn Dahl-Stamnes wrote:

>I downloaded Bind 9.3.1 source, compiled it and installed it on a Fedora
>Core 4 system.


Curious why - bind-9.3.1-4 comes with FC4.

>Then I imported the config files from an old RH 7.3 DNS server (running
>some old 8. version of Bind).


That's strange - RH7.3 came with bind-9.2.0-8, and there was an errata
update to bind-9.2.1-1.7x.2 in July 2002. RH7.0 was the last release to
use bind-8 (8.2.2_P5-25), and it was errataed to bind-9.2.1-0.70.2 in 2002.

>After changing a few lines in the named.config file, named do start. But I'm
>not able to start the named with the "-u named" flag. I get a error that it
>can't access /var/run/namned.pid.


What are the permissions of /var/ and /var/run/ ? Can user 'named' read
and write to that directory?

>I the did a "touch /var/run/named.pid; chown named:named
>/var/run/named.pid", but that does not help.


The process ID number (only) should be in the file.

>Now named complain that the file already exists.


Well, that suggests it's not chrooted, but again - what are the permissions?

Old guy
 
Reply With Quote
 
=?UTF-8?B?SsO4cm4=?= Dahl-Stamnes
Guest
Posts: n/a

 
      09-29-2005, 08:39 AM
Moe Trin wrote:

> In the Usenet newsgroup comp.os.linux.networking, in article
> <(E-Mail Removed)>, Jørn Dahl-Stamnes wrote:
>
>>I downloaded Bind 9.3.1 source, compiled it and installed it on a Fedora
>>Core 4 system.

>
> Curious why - bind-9.3.1-4 comes with FC4.


I did not know that. And it was not installed from the CDs. Anyway... I like
doing things the hard way... ;-)

>>Then I imported the config files from an old RH 7.3 DNS server (running
>>some old 8. version of Bind).

>
> That's strange - RH7.3 came with bind-9.2.0-8, and there was an errata
> update to bind-9.2.1-1.7x.2 in July 2002. RH7.0 was the last release to
> use bind-8 (8.2.2_P5-25), and it was errataed to bind-9.2.1-0.70.2 in
> 2002.


Again, not installed in the beginning.

>>After changing a few lines in the named.config file, named do start. But
>>I'm not able to start the named with the "-u named" flag. I get a error
>>that it can't access /var/run/namned.pid.

>
> What are the permissions of /var/ and /var/run/ ? Can user 'named' read
> and write to that directory?
>
>>I the did a "touch /var/run/named.pid; chown named:named
>>/var/run/named.pid", but that does not help.

>
> The process ID number (only) should be in the file.


The solution was to create a /var/run/named directory, which was owned by
named:named. Then add a line 'pid-file "/var/run/named/named.pid"' in the
config file.

Thanks anyway.
--
Jørn Dahl-Stamnes
http://www.dahl-stamnes.net/dahls/
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot bind to tcp/ip Rosman Computing Wireless Networks 1 09-23-2005 11:31 AM
Please help on Bind jackliu Linux Networking 5 09-15-2005 08:01 AM
BIND 9.22 Baho Utot Linux Networking 3 04-28-2005 12:00 AM
No BIND Jhuola Hoptire Linux Networking 12 01-25-2004 09:09 PM
DNS/Bind rumbera Linux Networking 2 07-12-2003 08:15 AM



1 2 3 4 5 6 7 8 9 10 11