Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jul 2006 22:00:10 +0200
From:      "Thierry Lacoste" <th.lacoste@wanadoo.fr>
To:        <freebsd-questions@freebsd.org>
Subject:   /etc/crontab and mail
Message-ID:  <002701c6adc9$727b1ae0$0201a8c0@aldebaran>

next in thread | raw e-mail | index | archive | help
Answering myself it may be related to
http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2006-April/086659.html

I'm using openldap-server-2.3.24 and nss_ldap-1.250.

My /var/log/debug.log was full of:
Jul 22 20:34:04 castor sm-mta[58735]: NSSWITCH(nss_method_lookup): ldap, 
passwd, endpwent, not found
Jul 22 20:34:04 castor last message repeated 3 times
Jul 22 20:34:04 castor sm-msp-queue[58736]: NSSWITCH(nss_method_lookup): 
ldap, passwd, endpwent, not found
Jul 22 20:34:04 castor sm-msp-queue[58736]: NSSWITCH(nss_method_lookup): 
ldap, passwd, endpwent, not found
Jul 22 20:35:00 castor cron[58738]: NSSWITCH(nss_method_lookup): ldap, 
group, setgrent, not found
Jul 22 20:35:00 castor cron[58738]: NSSWITCH(nss_method_lookup): ldap, 
group, getgrent_r, not found
Jul 22 20:35:00 castor cron[58738]: NSSWITCH(nss_method_lookup): ldap, 
group, endgrent, not found
Jul 22 20:35:00 castor cron[58738]: NSSWITCH(nss_method_lookup): ldap, 
passwd, endpwent, not found

I rebooted the machine and now everything seems to work fine.
When I put "14 8 * * * root echo test" in /etc/crontab
a mail is now sent as expected.

Any idea why a reboot seems to have solved the problem?

Thierry.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002701c6adc9$727b1ae0$0201a8c0>