Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2014 17:27:55 +0000
From:      Cary <cary@SDF.ORG>
To:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: nscd not caching
Message-ID:  <20140811172755.GA1414@SDF.ORG>
In-Reply-To: <9F8FBD79-2825-4B22-BD14-EACF65A7DD50@netapp.com>
References:  <9F8FBD79-2825-4B22-BD14-EACF65A7DD50@netapp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@sdf.org
SDF Public Access UNIX System - http://sdf.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140811172755.GA1414>