From owner-freebsd-questions@FreeBSD.ORG Sat Jul 22 20:00:17 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A22FA16A4DE for ; Sat, 22 Jul 2006 20:00:17 +0000 (UTC) (envelope-from th.lacoste@wanadoo.fr) Received: from smtp1.orange.fr (smtp1.orange.fr [193.252.22.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E5C843D45 for ; Sat, 22 Jul 2006 20:00:17 +0000 (GMT) (envelope-from th.lacoste@wanadoo.fr) Received: from smtp-msa-out01.orange.fr (mwinf0103 [172.22.132.25]) by mwinf0110.orange.fr (SMTP Server) with ESMTP id 589E35C01D7B for ; Sat, 22 Jul 2006 22:00:16 +0200 (CEST) Received: from aldebaran (ASte-Genev-Bois-151-1-80-160.w81-48.abo.wanadoo.fr [81.48.109.160]) by mwinf0103.orange.fr (SMTP Server) with SMTP id 296FC1F92695 for ; Sat, 22 Jul 2006 22:00:15 +0200 (CEST) X-ME-UUID: 20060722200015169.296FC1F92695@mwinf0103.orange.fr Message-ID: <002701c6adc9$727b1ae0$0201a8c0@aldebaran> From: "Thierry Lacoste" To: Date: Sat, 22 Jul 2006 22:00:10 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Subject: /etc/crontab and mail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jul 2006 20:00:17 -0000 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.