need help with ndc and Solaris 8

James Raftery james-bind-users at now.ie
Sat Feb 24 15:55:38 UTC 2001


On Fri, Feb 23, 2001 at 08:12:13AM -0800, Lemman, Paul wrote:
>  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.

The ndc binary wants an abaolute path to the control socket, not a
relative one. It's not just you:

[root at mel run]# pwd
/chroot/ext/var/run
[root at mel run]# ls -l ./ndc
srw-------    1 root     root            0 Feb 14 14:58 ./ndc
[root at mel run]# ndc -c ndc
ndc: usage error: bad channel name (ndc)
ndc: fatal error: usage: ndc [-l localsock] [-c channel] [-p pidfile]
[-n namedpath] [-dqst] [command [args]]

[root at mel run]# ndc -c /chroot/ext/var/run/ndc
Type   help  -or-   /h   if you need help.
ndc> EOF


Regards,
james
-- 
James Raftery (JBR54)
  "It's somewhere in the Red Hat district"  --  A network engineer's
   freudian slip when talking about Amsterdam's nightlife at RIPE 38.


More information about the bind-users mailing list