Strange things in v8.2.2 on Solaris7
BOFH at prolynx.com
Mon Nov 1 20:46:15 UTC 1999
Yes, absolute paths were set:
ie: /usr/bin, /usr/sbin, /etc, /etc/bind, /usr, &c. All I did
was remove the /local/ part of the pre-defined paths.
This was a clean install of both the OS and BIND (i.e. re-partition and
format the disks) so there was not a pre-existing ndc anywhere on the
system. What seems to be happening is that the named and ndc binaries are
hard-coded somehow for the /usr/local/xxx paths, despite any contrary
settings during the configuration and build.
On Tue, 2 Nov 1999 Mark_Andrews at iengines.com wrote:
> Are you sure that you specified absolute paths when you edited
> DESTRUN and DESTSBIN cannot be the same directory.
> Did you make sure there was not a ndc in DESTRUN from a previous
> > Fresh install of Solaris7 on sparc
> > Installed the latest patches (all twenty-blue bazillion of 'em)
> > Installed gcc, make, and binutils
> > Ran make DST=/etc/bind SRC=`pwd` links
> > >From /etc/bind ran make
> > Edited /port/solaris/Makefile.set to point all of the DESTxxx directories
> > to /usr/xxx instead of /usr/local/xxx
> > Ran make install successfully
> > Now, when I try to run named, it complains that it can't open
> > /usr/local/etc/named.conf (???? I thought I got rid of /local/, re-check
> > Makefile.set, yup, it says /usr/xxx not /usr/local/xxx)
> > OK, so it's oh-dark-thirty so I make the /usr/local/etc directory and
> > link to /usr/etc/named.conf
> > Successful start and replication. So far so good.
> > Now, try to run ndc for status or reload and I get:
> > ndc: error: ctl_client: evConnect (fd 3): Socket operation in non-socket
> > ndc: error: cannot connect to command channel (usr/etc/ndc)
> > ???? again... I could have sworn I pointed all of the execs to
> > /usr/bin or /usr/sbin. Go back, double check, yes, pointed to /usr/bin
> > (at least that's where the ndc binary ended up).
> > Look through deja's archive for similar probs, nothing.
> > Look through the Troubleshooting section of DNS 3rd ed, nothing.
> > This is not a show stopper (I can work around with links and kill -HUPs
> > for the moment), but I would like to know what I did wrong or left out of
> > the Makefile.
> > - Ed
> Mark Andrews, Internet Engines Inc. / Internet Software Consortium
> 1 Seymour St., Dundas Valley, NSW 2117, Australia
> PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews at iengines.com
More information about the bind-users