RH 7.3 named won't start

David A. Bandel david
Mon May 17 11:47:17 PDT 2004


On Tue, 13 May 2003 14:48:56 -0700 (PDT)
"Kevin O'Gorman" <kogorman at kosmanor.com> wrote:

> On Tue, 13 May 2003, Keith Morse wrote:
> 
> > On Tue, 13 May 2003, Kevin O'Gorman wrote:
> >
> > > I'm moving some things around and want to get named working on a
> > > machine that's had RH 7.3 for a while now.  I cannot get named
> > > to start, apparently because it's having permissions trouble
> > > with /var/run, which is owned by root, and mode 755.  It's
> > > trying to start as 'named -u named' and I'm guessing it's
> > > changing to user named before writing the PID file, so it's
> > > short of privileges.
> > >
> > > How do I get this to work?
> > >
> >
> >
> > On mine, /var/run/ has a directory called named/ with the
> > appropriate permissions for the named binary.
> >
> >
> > [root at rigel root]# v /var/run/named/
> > total 12
> > drwxr-xr-x    2 named    named        4096 Mar 30 00:35 .
> > drwxr-xr-x    6 root     root         4096 Jan  2 10:27 ..
> > -rw-r--r--    1 named    named           6 Mar 30 00:35 named.pid
> >
> >
> > [root at rigel root]# v /var/run | grep named
> > drwxr-xr-x    2 named    named        4096 Mar 30 00:35 named
> >
> 
> Yes, I have the same thing, but named is not using it.  According to
> strace() it only attempts to open /var/run/named.pid, and does not
> try the directory.
> 
> How can I set this behavior of named?

in /etc/named.conf (or /etc/bind/named.conf):

options {
        pid-file "/var/named/named.pid";
        directory "/var/named";
        version "yeah, right";
	};

Ciao,

David A. Bandel
-- 
Focus on the dream, not the competition.
		Nemesis Racing Team motto
GPG key autoresponder:  mailto:david_key at pananix.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.linux-sxs.org/pipermail/linux-users/attachments/20030513/d1bca18b/attachment.pgp


More information about the Linux-users mailing list