Jeff A. Earickson
jaearick@colby.edu
Tue, 14 Nov 2006 13:51:55 -0500 (EST)
Vernon,
On a from-scratch build and install of 1.3.43, I just noticed this
on the "gmake install":
==> homedir
if test ! -d /opt/dcc-1.3.43; then \
../autoconf/install-sh -c -c -o dcc -g bin -m 755 -d
/opt/dcc-1.3.43; fi
if test ! -d /opt/dcc-1.3.43/log; then \
../autoconf/install-sh -c -c -o dcc -g bin -m 710 -d
/opt/dcc-1.3.43/log; fi
if test -s /opt/dcc-1.3.43/dcc_conf; then \
sh make-dcc_conf -h /opt/dcc-1.3.43; \
else \
../autoconf/install-sh -c -c -o dcc -g bin -m 644 dcc_conf
/opt/dcc-1.3.43/dcc_conf; \
fi
for nm in flod grey_flod whitelist grey_whitelist \
whiteclnt whitecommon; do \
if test ! -f /opt/dcc-1.3.43/$nm; then \
../autoconf/install-sh -c -c -o dcc -g bin -m 644 $nm
/opt/dcc-1.3.43/$nm; fi; \
done
unrecognized command "\"
?
While I don't see exactly what is going on, it looks like you changed
the logic in homedir/Makefile in this area from version 42, and something
broke. Yes, I'm using gnu make, version 3.81. I think that this may
have something to do with my problems. Thanks.
Jeff Earickson
Colby College
On Tue, 14 Nov 2006, Vernon Schryver wrote:
> Date: Tue, 14 Nov 2006 10:17:31 -0700 (MST)
> From: Vernon Schryver <vjs@calcite.rhyolite.com>
> To: dcc@calcite.rhyolite.com
> Subject: Re: DCC 1.3.43 upgrade
>
>> From: "Jeff A. Earickson"
>
>> I went from 42 to 43, and all I got in my syslogs was:
>>
>> no valid DCC server hostnames
>>
>> what did I miss???
>
> That message indicates that none of the host names in /var/dcc/map
> (if any) resolved to IP addresses.
>
> What does `cdcc info` say? Are there any names in it?
>
> Unless you are running a local DCC server, the names of the public
> DCC servers should be present.
>
> Unless you deleted the default entry for 127.0.0.1, there should be
> at least one IP adddress in /var/dcc/map, which would prevent that
> message. Therefore, I suspect you somehow deleted everything in
> /var/dcc/map instead of having DNS problems preventing the resolution
> of dcc1.dcc-servers.net, dcc2, etc.
>
> How did you do the upgrade? Did you use /var/dcc/libexec/updatedcc?
> Do your ./configure options include settings for the directory names?
>
>
> The easiest recovery is probably to
> 1. use `cdcc info` to record any interesting local values from /var/dcc/map
> 2. move aside /var/dcc/map /var/dcc/map.txt and /var/dcc/ids
> 3. run /var/dcc/libexec/updatecc again
> this will run `make install` in build/dcc/homedir which will
> create new map, map.txt, and ids files
> 4. copy any important data from the saved files of step #1 to the
> new files. Note that you must use `cdcc add` or `cdcc load`
> to copy to /var/dcc/map. Note also that if you run a local
> DCC or greylist server, the passwords in /var/dcc/ids must
> be the same as the passwords in /var/dcc/map as seen with `cdcc info`
>
>
> Vernon Schryver vjs@rhyolite.com
> _______________________________________________
> DCC mailing list DCC@rhyolite.com
> http://www.rhyolite.com/mailman/listinfo/dcc
>