NSSWITCH errors in /var/log/cron

Ceri Davies ceri at submonkey.net
Sun Feb 12 04:03:00 PST 2006


On 12 Feb 2006, at 00:31, Brandon Fosdick wrote:

> I have several machines running 6-STABLE that are showing the error  
> listed below in /var/log/cron every few minutes. Google didn't turn  
> up much of relevance, other than the fact that this might be  
> related to disabling NIS. And, in fast, I have NO_NIS=true in /etc/ 
> make.conf on every single box.
> Is this a bug or a feature? Is it harmful?
>
> The error messages are...
>
> Feb 11 16:25:00 poseidon /usr/sbin/cron[95789]: (root) CMD (/usr/ 
> libexec/atrun)
> Feb 11 16:25:00 poseidon cron[95789]: NSSWITCH(nss_method_lookup):  
> nis, group_compat, setgrent, not found
> Feb 11 16:25:00 poseidon cron[95789]: NSSWITCH(nss_method_lookup):  
> nis, group_compat, endgrent, not found
> Feb 11 16:25:00 poseidon cron[95789]: NSSWITCH(nss_method_lookup):  
> nis, passwd_compat, endpwent, not found

What does your nsswitch.conf look like, and does removing the NIS  
entries fix it?

Ceri
-- 
That must be wonderful!  I don't understand it at all.
                                                   -- Moliere



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060212/61ef8702/PGP.bin


More information about the freebsd-stable mailing list