From owner-freebsd-questions@FreeBSD.ORG Fri Aug 11 13:37:59 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 8EB2E16A4DA for ; Fri, 11 Aug 2006 13:37:59 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11D2843D45 for ; Fri, 11 Aug 2006 13:37:56 +0000 (GMT) (envelope-from cpghost@cordula.ws) Received: from epia2.farid-hajji.net (epia-2 [192.168.254.11]) by fw.farid-hajji.net (Postfix) with ESMTP id DC5C7DE6DF; Fri, 11 Aug 2006 15:35:36 +0200 (CEST) Date: Fri, 11 Aug 2006 15:38:31 +0200 From: cpghost To: Nagy L?szl? Zsolt Message-ID: <20060811133831.GA56300@epia2.farid-hajji.net> References: <44DB32B7.8080602@enternet.hu> <44DB7D53.5060902@freemail.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44DB7D53.5060902@freemail.hu> User-Agent: Mutt/1.5.11 Cc: freebsd-questions@freebsd.org Subject: Re: Almost ready with diskless setup 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, 11 Aug 2006 13:37:59 -0000 On Thu, Aug 10, 2006 at 08:39:15PM +0200, Nagy L?szl? Zsolt wrote: > > > > >2. syslogd tells that it cannot open the pid file. (Operation not > >supported) However, it creates /var/log/syslogd.pid. But that file is > >empty. What can be the problem? > After making another diskless distribution, I found out that the > 'Operation not supported' error comes out because of calling flock() on > nfs. For example: > > --------------- > sendmail_submit: /etc/mail/aliases.db not present, generating > cannot flock(/etc/mail/aliases, fd=3, type=6, omode=4002, euid=0): > Operation not supported > -------------- > > The same message (Operation not supported) comes when creating the pid > file /var/log/syslogd.pid. The /var/log filesystem is writeable. Is it > possible that flock() is not implementedon nfs? :-( It is, but you need to enable it: On the NFS server and clients, add to /etc/rc.conf: rpcbind_enable="YES" rpc_lockd_enable="YES" rpc_statd_enable="YES" > Laszlo Regards, -cpghost. -- Cordula's Web. http://www.cordula.ws/