PDA

View Full Version : cannot export NFS share



mailman42
06-14-2003, 03:44 PM
I started tinkering with knoppix, again, and have it installed on hard drive.

Everything appears to have worked, except, now I cannot export my /home directory to my other machine. I'm getting the error;

mount: RPC: Program not registered

I did have debian, sarge installed, but I had a difficult time getting some hardware found/configured, etc. knoppix did it correctly.

I have the same entries I had under sarge, in the /etc/exports file, but right now, I'm at a loss as to how to get my NFS mount/export reestablished.

Any tips would be greatly appreciated.

Thanks

davidr
08-26-2003, 01:27 PM
Hi mailman

I have the same problem. (I need to access a mysql db on my backup server from the main server.)

Did you ever get anywhere with this one? Any advice gratefully received...

Regards

Dave Robinson

mailman42
08-26-2003, 03:08 PM
On the redhat machine I run the following calls;

/usr/sbin/xinetd
/etc/rc.d/init.d/portmap restart
/etc/rc.d/init.d/nfs restart
/usr/sbin/exportfs -rav

On the debian machine,. I ran the comparable.

After a couple of simultaneous reboots, it works like a champ.

On the debian /etc/fstab, I have the following;

anza:/home/rodney /mnt/anza nfs rw,addr=192.168.1.105 0 0
anza:/mnt/firewire /mnt/firewire nfs rw,addr=192.168.1.105 0 0
anza:/iso-images /mnt/iso nfs rw,addr=192.168.1.105 0 0

knoppicill
06-14-2005, 07:43 PM
Try commenting out the line that says:

ALL : ALL@ALL : DENY

in /etc/hosts.allow

so it has:

# ALL : ALL@ALL : DENY

instead...