LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-09-2005, 04:46 AM   #1
exit83
LQ Newbie
 
Registered: Dec 2004
Distribution: Debian Sarge
Posts: 10

Rep: Reputation: 0
NFS wont work


I've tried several HOWTO's and searched the forum but i cant quite seem to find the solution to my problem.

Im running Debian and installed nfs-common nfs-kernel-server and portmapper on whats supposed to be my nfs server.

/etc/exports reads as follow

/home/share 192.168.1.0/255.255.255.0(rw,root_squash,sync)


my /etc/hosts.allow reads:

portmap: 192.168.1.3


the odd thing is, allthough im convinced i installed the right packages and my kernel supports it (kernel 2.6.8), this is my output for rpcinfo -p

program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 772 status
100024 1 tcp 775 status


i tried to get the necessary daemons to run manually. I found that these should run in order to get the server to work:
rpc.portmap
rpc.mountd, rpc.nfsd
rpc.statd, rpc.lockd (if necessary), and rpc.rquotad

portmap is running ,the others are not. so after searching in /sbin and /usr/sbin to get these deamons to run

i cant seem to get nfsd to run:

output after trying to start daemons my self:

program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100005 1 udp 982 mountd
100005 1 tcp 985 mountd
100005 2 udp 982 mountd
100005 2 tcp 985 mountd
100005 3 udp 982 mountd
100005 3 tcp 985 mountd
100024 1 udp 988 status
100024 1 tcp 991 status

So, needless to say, i have no idea what to do next and therefor calling for someone willing to give me some advice.


P.S. i did check my kernel and NFS seems to be loaded as a Module
 
Old 06-09-2005, 05:15 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
I just do /etc/init.d/NFS start

You also need routes for packets to and from each host

Quote:
Im running Debian
Good - please put it in your profile (My LQ > edit profile (on the right)).
 
Old 06-09-2005, 06:13 AM   #3
exit83
LQ Newbie
 
Registered: Dec 2004
Distribution: Debian Sarge
Posts: 10

Original Poster
Rep: Reputation: 0
adjusted my profile

i tried to start NFS like you suggested but on debian, i think its /etc/init.d/nfs-kernel-server start

i tried it and i am getting this error:

modprobe: QM_MODULES: Function not implemented

modprobe: QM_MODULES: Function not implemented

Exporting directories for NFS kernel daemon...done.

then i tried to do /etc/init.d/nfs-common start:
Starting NFS common utilities: statd

needless to say, my problem isnt solved.
 
Old 06-09-2005, 10:58 AM   #4
ARC1450
Member
 
Registered: Jun 2005
Location: Odenton, MD
Distribution: Gentoo
Posts: 290

Rep: Reputation: 30
Quote:
Originally posted by Simon Bridge
I just do /etc/init.d/NFS start

You also need routes for packets to and from each host

Good - please put it in your profile (My LQ > edit profile (on the right)).
Strange. I never did. TCP/IP is supposed to take care of this.

Anyways. . .the modules are started, right? What have you done on the client machine?
 
Old 06-09-2005, 04:49 PM   #5
exit83
LQ Newbie
 
Registered: Dec 2004
Distribution: Debian Sarge
Posts: 10

Original Poster
Rep: Reputation: 0
okay,

my apologies. Its a stupid mistake of me. My kernel wasnt compiled right. I tried it with a standard kernel and it worked like a charm. SO i looked in the config and put the same options in my own kernel and now i have no problems anymore.

sorry to bother you all with this. should have searched better
 
Old 06-09-2005, 08:56 PM   #6
DanielTan
Member
 
Registered: Sep 2004
Location: Malaysia
Distribution: FC6, Solaris
Posts: 340

Rep: Reputation: 30
Re: NFS wont work

Hi, now i'm using FC3, but i can't start portmap service. It returns permission denied. I login as root. . did u configure other things ? Pls advise

Regards
Daniel


Quote:
Originally posted by exit83
I've tried several HOWTO's and searched the forum but i cant quite seem to find the solution to my problem.

Im running Debian and installed nfs-common nfs-kernel-server and portmapper on whats supposed to be my nfs server.

/etc/exports reads as follow

/home/share 192.168.1.0/255.255.255.0(rw,root_squash,sync)


my /etc/hosts.allow reads:

portmap: 192.168.1.3


the odd thing is, allthough im convinced i installed the right packages and my kernel supports it (kernel 2.6.8), this is my output for rpcinfo -p

program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 772 status
100024 1 tcp 775 status


i tried to get the necessary daemons to run manually. I found that these should run in order to get the server to work:
rpc.portmap
rpc.mountd, rpc.nfsd
rpc.statd, rpc.lockd (if necessary), and rpc.rquotad

portmap is running ,the others are not. so after searching in /sbin and /usr/sbin to get these deamons to run

i cant seem to get nfsd to run:

output after trying to start daemons my self:

program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100005 1 udp 982 mountd
100005 1 tcp 985 mountd
100005 2 udp 982 mountd
100005 2 tcp 985 mountd
100005 3 udp 982 mountd
100005 3 tcp 985 mountd
100024 1 udp 988 status
100024 1 tcp 991 status

So, needless to say, i have no idea what to do next and therefor calling for someone willing to give me some advice.


P.S. i did check my kernel and NFS seems to be loaded as a Module
 
Old 06-10-2005, 04:21 AM   #7
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Tell us how you are tryingt to start the portmap service.

And please don't quote anything you don't actually refer to.

(In fedora you'd normally use the main menue > system settings > server settings >services to make sure portmapping is available)

Last edited by Simon Bridge; 06-10-2005 at 04:23 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can NFS and Samba work together tonyr321 Linux - Networking 1 07-14-2005 08:54 PM
ok got fglrx 2d to work, now why wont 3d work? bvav22 Linux - Software 1 05-01-2005 06:25 PM
nfs and ext2/3 ? does it work blish_blash *BSD 0 12-27-2004 02:21 PM
FALCONS EYE (nethack) FAILS ON STARTUP, use to work, wont work even after reinstall roorings Linux - Software 0 10-08-2003 10:39 PM
NFS wont wount!!!! HELP!!! veroth Linux - Networking 2 09-22-2003 03:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration