From owner-freebsd-questions Wed Nov 25 01:51:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA15828 for freebsd-questions-outgoing; Wed, 25 Nov 1998 01:51:30 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from soda.CSUA.Berkeley.EDU (soda.CSUA.Berkeley.EDU [128.32.43.52]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA15823 for ; Wed, 25 Nov 1998 01:51:29 -0800 (PST) (envelope-from john@CSUA.Berkeley.EDU) Received: (from john@localhost) by soda.CSUA.Berkeley.EDU (8.8.8/) id BAA00688 for questions@freebsd.org; Wed, 25 Nov 1998 01:51:26 -0800 (PST) env-from (john) Date: Wed, 25 Nov 1998 01:51:26 -0800 (PST) From: john@CSUA.Berkeley.EDU (John Morgan Salomon) Message-Id: <199811250951.BAA00688@soda.CSUA.Berkeley.EDU> To: questions@FreeBSD.ORG Subject: NFS problem Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi there I installed 2.2.7 recently and am using a default kernel with a few devices added (compaq scsi adapter, nothing that should radically mess with my kernel.) I'm trying to export some directories by nfs, and am failing miserably. nfsd and mountd are running as root, and start up after portmap as they should. Debug flags on all of the above give me nothing (mountd -d in particular thinks it's happy.) Perms on the exported directories are good. Removing all the flags in /etc/exports makes no difference, as does simply trying to export /. I have been trawling through dejanews for 2 days now and keep coming across references to a known freebsd nfs problem, without any pointers to what the solution might be. Can you help me? Here are the last few lines of my /var/log/messages, and my /etc/exports file: messages: Nov 24 17:43:16 coruscant nfsd:[273]: can't Add UDP socket Nov 24 17:43:25 coruscant nfsd:[284]: nfssvc: Operation not permitted Nov 24 17:43:25 coruscant nfsd:[285]: nfssvc: Operation not permitted Nov 24 17:43:25 coruscant nfsd:[286]: nfssvc: Operation not permitted Nov 24 17:43:25 coruscant nfsd:[287]: nfssvc: Operation not permitted Nov 24 17:45:04 coruscant mountd[312]: Can't change attributes for /usr2/build. Nov 24 17:45:04 coruscant mountd[312]: Bad exports list line /usr2/build -maproo t exports: /usr2/download -maproot=0:0 /usr2/build -maproot=0:0 /usr2/archive -maproot=0:0 /usr2/home2 -maproot=0:0 and mountd -d gives me Getting export list. Got line /usr2/download -maproot=0:0 Making new ep fs=0x20007,0x7077d07a doing opt -maproot=0:0 Adding a default entry Got line /usr2/build -maproot=0:0 Found ep fs=0x20007,0x7077d07a doing opt -maproot=0:0 Adding a default entry Got line /usr2/archive -maproot=0:0 Found ep fs=0x20007,0x7077d07a doing opt -maproot=0:0 Adding a default entry Got line /usr2/home2 -maproot=0:0 Found ep fs=0x20007,0x7077d07a doing opt -maproot=0:0 Adding a default entry Getting mount list. Here we go. Mount successfull. Thanks, -John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message