Cannot start nfs


Forum: Other Help Topics
Topic: Cannot start nfs
started by: andyk

Posted by andyk on Jan. 16 2005,21:24
How can I start nfs with dsl
Cannot start either in graphical or text mode.
I am not able to figure out how to do it.

Thanks in advance
Andy K.

Posted by asz on Feb. 06 2005,22:42
Having the same problem... please someone!
Posted by LuWiki on Feb. 16 2005,20:18
It worked for me by -

sudo sh
/etd/init.d/portmap start
/etc/init.d/nfs-common start
/etc/init.d/nfs-kernel-server start

Have Fun  :D

Posted by rhauff on April 05 2005,04:07
I've created an /etc/exports file:

/music rolandspc(rw,all_squash)

Running "/etc/init.d/portmap start" works, but then
running "/etc/init.d/nfs-common start" produces the following:

Starting NFS common utilities: statdstatd: Could not chdir: No such file
or directory

I have the problem running as a user or root.  Any ideas?

Thanks!

Posted by mkasson on April 21 2005,16:53
I can't seem to get NFS running so that I can access a directory on a Windows PC on our LAN:

- I am running DSL 1.0.1.
- The target Windows PC (named Thin) has a shared directory called sigdata which is shared
- I am able to access Thin from other (Windows) PC's on the network.
- Thin has no firewall software running.
- The ethernet card of the DSL PC appears to be working fine (good access to internet)
- My process as root is as follows:
Code Sample
# /etc/init.d/portmapper start
starting portmapper daemon: portmap.
# /etc/init.d/nfs-common start
starting NFS common utilities: statd.
# /etc/init.d/nfs-server-kernel start [not sure that I need this]
[no output]
mount Thin:/sigdata /mnt/sigdata
mount: can't get address for Thin

So I try to access Thin using its IP address:
Code Sample
mountt 192.168.0.3:/sigdata /mnt/sigdata
mount: RPC: Remote system error - Connection refused


Am I misunderstanding how NFS is to be used?  

Thank you.

Posted by mkasson on April 21 2005,19:13
"Google is my friend"

NFS is not natively compatible with Windows PC shares.  Samba however is.

After downloading and mydsl-loading the Samba.dsl, I "smbmount"ed the share on the windows PC I wanted.

Piece of cake.  

Sorry for distracting post; at least the info is here for the next newbie. :D

Posted by clivesay on April 22 2005,15:17
Can someone give me a little direction here?

I am trying to use NFS with two DSL boxes. I have been looking at < THIS > howto doc for direction.

I installed nfs-kernel-server and added /home/dsl/TEST 192.168.1.103(ro) to the etc/exports file.

I then proceeded to go down the list of the howto and start the daemons. I then typed in rpcinfo -p to check that everything was running. It all looked good so I went to the client machine.

I made sure I started the daemons outlined in the howto and also started the nfs common daemon in the DSL menu.

I typed as root

mount 192.168.1.100: /home/dsl/TEST /mnt/home/dsl/TEST

This just gave me a list of the mount commands....basically the mount help screen.

I saw a blurb about an assumption of an empty created mountpoint so I also tried creating a /home/dsl/TEST dir in the mount directory on the client machine but still received the same result. I am guessing I am missing something simple here. Can someone give me a clue. I have spent a few hours trying to figure this one out. Thanks

Chris

Posted by cbagger01 on April 22 2005,16:36
The doc is not correct for linux.

See this man page for details:

< http://www.die.net/doc/linux/man/man8/mount.8.html >

Without getting too involved (I don't use NFS), it seems like you need something like:

mount -t nfs blahblahblah

Posted by clivesay on April 22 2005,18:20
Well, I have gotten to the point where I am getting permission denied errors from the client side. I think that's progress.  :)  I think I may be having trouble getting the /etc/hosts files setup correctly. Anyone have any ideas?

Chris

Posted by roberts on April 24 2005,22:30
How about /etc/hosts.deny and /etc/hosts.allow
The default is to deny everything something like this:

/etc/hosts.deny
ALL:PARANOID

You will need to have setup this files as well as your /etc/exports

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.