From owner-freebsd-questions@FreeBSD.ORG Fri Oct 30 23:59:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5BCC106568F for ; Fri, 30 Oct 2009 23:59:50 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-px0-f190.google.com (mail-px0-f190.google.com [209.85.216.190]) by mx1.freebsd.org (Postfix) with ESMTP id 7CAB78FC19 for ; Fri, 30 Oct 2009 23:59:50 +0000 (UTC) Received: by pxi28 with SMTP id 28so2167047pxi.7 for ; Fri, 30 Oct 2009 16:59:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=PbJ74Bke6o6FBIAIcDVmk7CmzpuSeNBOM1R10B5E+4k=; b=BoVAqvf9IxX99qHQChQY+8nL58uWPF9hsn3ToRtNF6kHqAgiUcJbiAgIgLdp4x2LSH BwANngEqdRr24R5oxWLiLra0GwQtsjSpBCXmZ9M7vRudFIDuGDNoPJAoxZnxHFEW8QOY NLehHz9w6nV8TalBQgwfJIqM1NC76/5cPBU5c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=JeXAPhkOmmPSY8pn49UScXj9W20fXT4Dy9yiiFIQOOHf2/hOEAGuDcxmD1V67w42zb 8Pp3r5dngnrF3EOVqW5nINxCIkLfeeFqXaSde3KTlJLSUOSGNq3P6skXNcR7Z5GfCDTP 8bD3TZhvCakuI0UQSL+T283mu93IKrBYRNAQ0= MIME-Version: 1.0 Received: by 10.114.5.18 with SMTP id 18mr1694230wae.140.1256947190135; Fri, 30 Oct 2009 16:59:50 -0700 (PDT) In-Reply-To: References: <20091030130054.589B39860E4@mail.farmington.k12.mo.us> Date: Fri, 30 Oct 2009 17:59:50 -0600 Message-ID: From: Tim Judd To: usleepless@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Cc: David Patton , freebsd-questions@freebsd.org Subject: Re: issues with email migration 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: Fri, 30 Oct 2009 23:59:50 -0000 On 10/30/09, usleepless@gmail.com wrote: > Hi David, > > On Fri, Oct 30, 2009 at 1:59 PM, David Patton > wrote: > >> This morning I moved the contents from the server over to an NFS share. >> >> >> >> This is a freebsd 6.2 server running postfix, courier-imap and >> squirrelmail. >> I used rsync to move the data for /www and /mail over to the nfs share. >> After I made the changed to fstab and rebooted, every thing came up and >> email seemed to be faster but in fact it wasn't. Once I realized that >> there >> was an issue, I changed the link back for the /www directory to the >> original >> location and left the link for /mail pointing to the nfs share. I found >> from >> a search to try newaliaies and the restart postfix but that didn't work. >> >> >> >> Maillog: >> >> Oct 30 06:11:38 bonnie postfix/smtpd[1337]: fatal: shared-lock database >> /www/mailman/data/aliases.db for open: Operation not supported >> >> Oct 30 06:11:39 bonnie postfix/master[889]: warning: process >> /usr/local/libexec/postfix/smtpd pid 1337 exit status 1 >> >> Oct 30 06:11:39 bonnie postfix/master[889]: warning: >> /usr/local/libexec/postfix/smtpd: bad command startup - throttling >> >> >> >> Message: >> >> Oct 30 06:00:27 bonnie postfix/smtpd[1177]: fatal: shared-lock database >> /www/mailman/data/aliases.db for open: Operation not supported >> >> Oct 30 06:01:28 bonnie postfix/smtpd[1184]: fatal: shared-lock database >> /www/mailman/data/aliases.db for open: Operation not supported >> >> Oct 30 06:02:29 bonnie postfix/smtpd[1192]: fatal: shared-lock database >> /www/mailman/data/aliases.db for open: Operation not supported >> >> Oct 30 06:03:30 bonnie postfix/smtpd[1218]: fatal: shared-lock database >> /www/mailman/data/aliases.db for open: Operation not supported >> >> Oct 30 06:04:31 bonnie postfix/smtpd[1235]: fatal: shared-lock database >> /www/mailman/data/aliases.db for open: Operation not supported >> >> Oct 30 06:05:32 bonnie postfix/smtpd[1256]: fatal: shared-lock database >> /www/mailman/data/aliases.db for open: Operation not supported >> >> Oct 30 06:06:33 bonnie postfix/smtpd[1270]: fatal: shared-lock database >> /www/mailman/data/aliases.db for open: Operation not supported >> >> Oct 30 06:07:34 bonnie postfix/smtpd[1296]: fatal: shared-lock database >> /www/mailman/data/aliases.db for open: Operation not supported >> >> Oct 30 06:08:35 bonnie postfix/smtpd[1307]: fatal: shared-lock database >> /www/mailman/data/aliases.db for open: Operation not supported >> > > although i am certainly not an expert regarding email issues nor NFS, but > could it be that the NFS server needs to support "lockd" and "statd" ? > > i have this in my /etc/rc.conf: > > rpc_lockd_enable="YES" > rpc_statd_enable="YES" On both the server and client. File locking is not supported without these two daemons running. I run diskless clients and I need to support file locking, for when you edit the passwd file with vipw and the like. Please enable the above on both the server and client, start them, then try again.