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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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/ |