From owner-freebsd-questions@FreeBSD.ORG Fri Apr 1 23:33:33 2011 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 CA0E1106564A; Fri, 1 Apr 2011 23:33:33 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by mx1.freebsd.org (Postfix) with ESMTP id 7207C8FC19; Fri, 1 Apr 2011 23:33:33 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApwEAHxZlk2DaFvO/2dsb2JhbACESKIRiHmnTJBagSiBaIFkdwSLeYEi X-IronPort-AV: E=Sophos;i="4.63,285,1299474000"; d="scan'208";a="116808781" Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 01 Apr 2011 19:04:32 -0400 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 0051EB40B2; Fri, 1 Apr 2011 19:04:31 -0400 (EDT) Date: Fri, 1 Apr 2011 19:04:31 -0400 (EDT) From: Rick Macklem To: "Marc G. Fournier" Message-ID: <116776764.2605927.1301699071938.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.91.201] X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - IE8 (Win)/6.0.10_GA_2692) Cc: freebsd-net@freebsd.org, freebsd-questions@freebsd.org Subject: Re: nfs error: No route to host when starting apache ... 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, 01 Apr 2011 23:33:33 -0000 > I just setup an nfs mount between two servers ... > > ServerA, nfsd on 192.168.1.8 > ServerB, nfs client on 192.168.1.7 > > I have a jail, ServerC, running on 192.168.1.7 ... most operations > appear > to work, but it looks like 'special files' of a sort aren't working, > for > when I try and startup Apache, I get: > > [Fri Apr 01 19:42:02 2011] [emerg] (65)No route to host: couldn't grab > the > accept mutex > > When I try and do a 'newaliases', I get: > > # newaliases > postalias: fatal: lock /etc/aliases.db: No route to host > > Yet, for instance, both MySQL and PostgreSQL are running without any > issues ... > > So, the mount is there, it is readable, it is working ... I can ssh > into > the jail, I can create files, etc ... > > I do have rpc.lockd and rpc.statd running on both client / server > sides > ... > Since rpc.lockd and rpc.statd expect to be able to do IP broadcast (same goes for rpcbind), I suspect that might be a problem w.r.t. jails, although I know nothing about how jails work? > I'm not seeing anything in eithr the man page for mount_nfs *or* nfsd > that > might account / corect for something like this, but since I'm not sure > what "this" is exactly, not sure exactl what I should be looking for > :( > > Note that this behaviour happens at the *physical* server level as > well, > having tested with using postalias to generate the same 'lock' issue > above > ... > > Now, I do have mountd/nfsd started iwth the -h to bind them to > 192.168.1.8 > ... *but*, the servers themselves, although on same switch do have > different default gateways ... I'm not seeing anything within the man > page > for, say, rpc.statd/rpc.lockd that allows me to bind it to the > 192.168.1.0/24 IP, so is it binding to my public IP instead of my > private? > So nfsd / mount_nfs can talk find, as they go thorugh 192.168.1.0/24 > as > desired, but rpc.statd/rpc.lockd are the public IPs and not able to > talk > to each other? > > Thx ... > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"