Setting up NFS but no exportfs program - what to do?

Larry Alkoff labradley at mindspring.com
Thu Oct 12 21:58:21 UTC 2006


albi wrote:
> On Thu, 12 Oct 2006 15:26:15 -0500
> Larry Alkoff <labradley at mindspring.com> wrote:
> 
>> I am setting up NFS on Kubuntu 6.06 but there is no exportfs which is
>> a program required to publish the NFS shares in /etc/exports.
>>
>> I have looked in 'which exportfs' and 'locate exportfs' as root but
>> it's not on my system.
> 
> correct
> 
>> How can I get it?
>>
>> My system has installed the following packages:
>> kdenetwork-fileshareing, nfs-common, nfs-kernel-server, and portmap.
> 
> try :
> /etc/init.d/nfs-kernel-server restart
> it works for me (at last in ubuntu breezy)
> 

Perhaps they have changed something in Badger 6.0.6.
I have no nfs-kernel-server in /etc/init.d.
There _is_ a nfs-common but looking at the script, I can't see that has 
anything to do with exportfs.

Also I cannot understand how a startup script would create the 
executable /sbin/exportfs which is where it lives in Linux distros.

In fact, there are several needed programs referenced by nfs-common but 
not exportfs.  The referenced programs are
/sbin/rpc.statd, /sbin/rpc.lockd, /usr/sbin/rpc.idmapd and 
/sbin/rpc.gssd but no exportfs without which you cannot export the nfs 
shares.

What does your 'which exportfs' show?

Larry

-- 
Larry Alkoff N2LA - Austin TX
Using Thunderbird on Linux




More information about the ubuntu-users mailing list