Bind 9.3.1

This is a discussion on Bind 9.3.1 within the Linux Networking forums, part of the Linux Forums category; I downloaded Bind 9.3.1 source, compiled it and installed it on a Fedora Core 4 system. Then I ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-28-2005
Jørn Dahl-Stamnes
 
Posts: n/a
Default Bind 9.3.1

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
  #2 (permalink)  
Old 09-29-2005
Moe Trin
 
Posts: n/a
Default Re: Bind 9.3.1

In the Usenet newsgroup comp.os.linux.networking, in article
<433a5a76@news.broadpark.no>, 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
  #3 (permalink)  
Old 09-29-2005
Jørn Dahl-Stamnes
 
Posts: n/a
Default Re: Bind 9.3.1

Moe Trin wrote:

> In the Usenet newsgroup comp.os.linux.networking, in article
> <433a5a76@news.broadpark.no>, 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 Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:33 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0