I have a system where the nscd daemon constantly crashes too.
nscd, libc6, locales, etc is at  version 2.3.6.ds1-13

I've tried  commenting out the user and group caching settings in the 
/etc/nscd.conf file hoping to avoid the crashes since I only need it to cache 
host lookups.
This made no difference.
Nor does leaving the entries there and just changing the value of 
'enable-cache' for the passwd and group entries to 'no'.

Starting nscd with the -d parameter it starts and runs for about 20 seconds 
before failing with:

        nscd: cache.c:335: prune_cache: Assertion `dh->usable' failed.
        Aborted

This error usually happens after entries like:

        27822: Reloading "250.186.184.59.sbl-xbl.spamhaus.org." in hosts cache!
        27822: Reloading "164.152.206.86.sbl-xbl.spamhaus.org." in hosts cache!

Clearing the databases like so:

        nscd -i hosts
        nscd -i passwd
        nscd -i group
Doesn't seem to help either.

I then got rid of the following files by moving them elsewhere:

        /var/db/nscd/group
        /var/db/nscd/hosts
        /var/db/nscd/passwd

This seems to at least get things working for a while, but eventually the nscd 
daemon falls over again.

Regards,

--
----------
Jim Barber
DDI Health



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to