Does nscd from libc 2.5 fixes the problem ? On Thu, Mar 22, 2007 at 11:30:41AM +0900, Jim Barber wrote: > 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 > > >
On Sun, Apr 09, 2006 at 12:26:55PM +0200, Thibaut VARENE wrote: > Package: nscd > Version: 2.3.6-3 > Followup-For: Bug #344563 > > this bug is still there. I'm quite surprised as ISTR that I had previous > version of nscd running fine on that box. I may be wrong tho. > > Here's the debug output: > # nscd -d > 7688: Reloading "oident" in group cache! > 7688: Reloading "newsrss.bbc.co.uk" in hosts cache! > 7688: Reloading "0" in password cache! > 7688: Reloading "tty" in group cache! > 7688: Reloading "gdm" in group cache! > 7688: Reloading "0" in password cache! > 7688: Reloading "lp" in password cache! > 7688: Reloading "1" in password cache! > 7688: Reloading "110" in password cache! > 7688: Reloading "ftp.de.debian.org" in hosts cache! > 7688: Reloading "112" in password cache! > 7688: Reloading "104" in password cache! > nscd: cache.c:335: prune_cache: Assertion `dh->usable' failed. > Aborted > > HTH > > -- System Information: > Debian Release: testing/unstable > APT prefers testing > APT policy: (990, 'testing'), (90, 'unstable') > Architecture: powerpc (ppc) > Shell: /bin/sh linked to /bin/bash > Kernel: Linux 2.6.15-ck1-tbone > Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) > > Versions of packages nscd depends on: > ii libc6 2.3.6-3 GNU C Library: Shared libraries > an > > nscd recommends no packages. > > -- no debconf information > > -- ·O· Pierre Habouzit ··O [EMAIL PROTECTED] OOO http://www.madism.org
pgpoIkyQ7vKUh.pgp
Description: PGP signature