Can anyone assist? I don't think there is a named.pid file in that dir. How
do I create one?
Thanks
Andy
Make sure that named has write permissions on the /var/run/named directory,
or point the named.conf pid-file option to a directory in which the named
process does have write permissions.
If you're running setuid, the user that bind is setuid to should have write
privileges, otherwise, root should have write privileges.
The named.conf pid-file option, if needed, should go in your options statement
as per this example:
options {
...
pid-file "/var/run/named/named.pid";
...
};
Ashley Kitto
Nominum Training and Support
http://www.nominum.com
I have the same problem. I added the line in named.conf, but nothing change.
I did ls -l for my directory /var/run/named/
drwxr-xr-x 2 named named 1024 jui 20 21:25 named/
So I don't understand why he doesn't have the permission.
jp
Try a ls -ld on /var/run and see what your perms are there.
Frederick
On 20 Jul 2001 19:00:45 -0700, Jean-Philippe Morin
ls -ld /var/run
drwxr-xr-x 4 root root 1024 jui 24 21:34 /var/run/
something wrong ?
I'll have to admit - I haven't read this entire thread. Seems like I
missed quite a few interesting posts by being off the list for too
long.
But what the user named is running as (whatever it is, `named' in my
case to keep it completely separate) is write permissions to
/var/run/named/ - or wherever the PID file should be put. Also note
that this holds true for any other directories it has to write to. (I
don't think it needs write access to the directories above it,
though.)
$ ls -ld /var/named
drwxrwx--- 5 michael named 4096 Jul 25 02:21 /var/named
Michael Kjörling
On Jul 26 2001 20:14 -0400, Jean-Philippe Morin wrote:
> ls -ld /var/run
>
> drwxr-xr-x 4 root root 1024 jui 24 21:34 /var/run/
>
> something wrong ?
- --
Michael Kjörling - mic...@kjorling.com - PGP: 8A70E33E
Manager Wolf.COM -- Programmer -- Network Administrator
"We must be the change we wish to see" (Mahatma Gandhi)
^..^ Support the wolves in Norway -- go to ^..^
\/ http://home.no.net/ulvelist/protest_int.htm \/
***** Please only send me emails which concern me *****
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7YLe8KqN7/Ypw4z4RAlXyAKCKikLv3IAIgzxF5D00hdobGhgMGwCg7Qj3
noB7HradgBuax22shncOoqQ=
=Qo9v
-----END PGP SIGNATURE-----
Hope this helps
Avery