nscd not caching

Cary cary at SDF.ORG
Mon Aug 11 17:28:06 UTC 2014


On Mon, Aug 11, 2014 at 11:58:21AM +0000, Eggert, Lars wrote:
> Hi,
> 
> anyone have an idea why nscd would not be caching NIS lookups on 10-RELEASE?
> 
> My nsswitch.conf looks as follows:
> 
> group: cache files nis
> #group_compat: nis
> hosts: cache files dns
> networks: files
> passwd: cache files nis
> #passwd_compat: nis
> shells: files
> services: cache files nis
> #services_compat: nis
> protocols: files
> rpc: files
> 
> nisdomain is set and ypbind is started, and I see lots of NIS traffic going in and out.
> 
> But nothing is cached; running nscd -nst just prints this and then sits there:
> 
> root at laurel:~ # nscd -nst
> M1 from main: request agents registered successfully
> M2 from cache: cache was successfully initialized
> M2 from runtime environment: using socket /var/run/nscd
> M2 from runtime environment: successfully initialized
> M1 from main: working in single-threaded mode
> 
> Lars
> 

Disabling nscd(8) was the only choice for me.  When I
tried using the daemon other things would break,
specifically mozilla.

Cary



-- 
cary at sdf.org
SDF Public Access UNIX System - http://sdf.org


More information about the freebsd-hackers mailing list