How do I reach the dev team or security?

Vernon Schryver vjs@calcite.rhyolite.com
Thu Jan 5 23:56:25 UTC 2006


> From: Benu <flash@benu.widge.org>

> Jan  4 12:07:40 daffy dccd grey[23677]: /var/dcc/grey_db with 0 bytes is too 
> small to be a DCC database
> Jan  4 12:07:40 daffy dccd grey[23677]: could not start 
> database /var/dcc/grey_db; fatal error
> Jan  4 12:09:26 daffy dccd grey[23797]: lock open(/var/dcc/grey_db): No such 
> file or directory
> Jan  4 12:09:26 daffy dccd grey[23798]: database initially broken; starting 
> `/var/dcc/libexec/dbclean  -Gon -i 12345 -4`
> Jan  4 12:09:26 daffy dbclean grey[23798]: /var/dcc/grey_db-new contains the 
> wrong magic string "DCC checksum database version 3"

That set of lines is incomplete.  There should be more from dbclean
including its announcement of its version number.  For example, this
is what I see in a quick test:

    Jan  5 16:49:26 calcite dccd grey[14294]: lock open(/usr/home/vjs/dcc/working/grey_db): No such file or directory
    Jan  5 16:49:26 calcite dccd grey[14295]: database initially broken; starting `/var/dcc/libexec/dbclean  -Gon -i 101 -Gon -h. -a ,6999 -4`
    Jan  5 16:49:26 calcite dbclean grey[14295]: 2.3.25 repairing grey_db
    Jan  5 16:49:26 calcite dbclean grey[14295]: "many" ignored in line 6 of /usr/home/vjs/dcc/working/grey_whitelist
    Jan  5 16:49:26 calcite dbclean grey[14295]: 2.3.25 creating database grey_db
    Jan  5 16:49:26 calcite dbclean grey[14295]: hashed 17 records containing 34 checksums, compressed 0 & obsoleted 0 records
    Jan  5 16:49:26 calcite dbclean grey[14295]: 6144 hash entries total, 34 or 0% used
    Jan  5 16:49:26 calcite dccd grey[14294]: fopen(/usr/home/vjs/dcc/working/grey_flod): No such file or directory
    Jan  5 16:49:26 calcite dccd grey[14294]: 2.3.25 listening to port 6999 with /usr/home/vjs/dcc/working and 10 MByte window

Ignoring the missing long entries, your log seems to say that:
  - `dccd -Gon` started and failed to find the greylist database
  - so dccd started dbclean
  - dbclean wrote the magic string into the new /var/dcc/grey_db-new
     and then failed to find it.

I have some theories:

   - /var/dcc/grey_db-new already exists and is corrupt.  /var/dcc is
       probably not writable.

   -  your UNIX-like system has a crazy filesystem that does not play
         nice mmap() games

   - you have an "improved" version of the DCC source from a third party.


Vernon Schryver    vjs@rhyolite.com



More information about the DCC mailing list

Contact vjs@rhyolite.com by mail or use the form.