help with ndc and Solaris 8
Lemman, Paul
paul_lemman at mentorg.com
Fri Feb 23 16:02:00 UTC 2001
Hi,
I'm installing BIND8.2.3-rel on Solaris 8. When I try to run ndc, I get the
following error:
<ns1:root>:/opt/MGCbind/etc # ndc -c ext-ndc
ndc: usage error: bad channel name (ext-ndc)
ndc: fatal error: usage: ndc [-l localsock] [-c channel] [-p pidfile] [-n
namedpath] [-dqst] [command [args]]
Here are the file permissions:
<ns1:root>:/opt/MGCbind/etc # ls -al
total 290
drwx------ 2 root root 512 Feb 22 14:24 .
drwxr-xr-x 8 root other 512 Feb 22 09:43 ..
-rw-r--r-- 1 root other 6946 Feb 22 14:23 ext-mentor.conf
srwxr-xr-x 1 root other 0 Feb 22 14:24 ext-ndc
The control definition in named.conf:
controls {
unix "/opt/MGCbind/etc/ext-ndc" perm 0600 owner 0 group 0;
};
The odd thing is that if I link ext-ndc to ndc (ln ext-ndc ndc) and run ndc
without the -c switch, it will work ok. Since I want to run two instances
of named on this host, I'd like to have two different ctontrol sockets.
What am I missing? Also, the ndc socket doesn't get created with the
permissions specified in the control file.
TIA,
paul
More information about the bind-users
mailing list