Re: NFS not working
# rpcinfo -p smass program vers proto port 102 tcp111 portmapper 102 udp111 portmapper 132 udp 2049 nfs 133 udp 2049 nfs # rpcinfo -p localhost program vers proto port 102 tcp111 portmapper 102 udp111 portmapper 151 udp949 mountd 153 udp949 mountd 151 tcp 1013 mountd 153 tcp 1013 mountd 132 udp 2049 nfs 133 udp 2049 nfs Netstat -na's output is really huge because both systems run Xorg. pf is not running on either system, I have disabled Kerberos on both systems until I learn it better. On Sat, Nov 12, 2011 at 2:16 AM, Christopher Zimmermann madro...@zakweb.de wrote: On 11/11/11 14:57, John Tate wrote: Sorry I should have posted. mountd, portmap, and also the appropriate services are running on the server portmap and nfsd. what do rpcinfo -p nfs-server on client and server and netstat -na say? -- www.johntate.org
Re: NFS not working (SOLVED)
mountd was unhappy with my /etc/exports and wasn't starting. I truly wish mountd checked the environment to see where I was running it from and just told me with stdout, but for whatever clever unix reasons does not. On Sun, Nov 13, 2011 at 2:30 AM, John Tate j...@johntate.org wrote: # rpcinfo -p smass program vers proto port 102 tcp111 portmapper 102 udp111 portmapper 132 udp 2049 nfs 133 udp 2049 nfs # rpcinfo -p localhost program vers proto port 102 tcp111 portmapper 102 udp111 portmapper 151 udp949 mountd 153 udp949 mountd 151 tcp 1013 mountd 153 tcp 1013 mountd 132 udp 2049 nfs 133 udp 2049 nfs Netstat -na's output is really huge because both systems run Xorg. pf is not running on either system, I have disabled Kerberos on both systems until I learn it better. On Sat, Nov 12, 2011 at 2:16 AM, Christopher Zimmermann madro...@zakweb.de wrote: On 11/11/11 14:57, John Tate wrote: Sorry I should have posted. mountd, portmap, and also the appropriate services are running on the server portmap and nfsd. what do rpcinfo -p nfs-server on client and server and netstat -na say? -- www.johntate.org -- www.johntate.org
Re: NFS not working
On Nov 11 17:40:01, John Tate wrote: Fixed that now getting... # mount smass:/home /mhome/ Cannot MNT PRC: RPC: Program not registered is mountd even running? On Fri, Nov 11, 2011 at 5:38 PM, John Tate j...@johntate.org wrote: This is what I am getting... in /var/log/daemon Nov 11 17:35:58 smass nfsd[30663]: can't bind udp addr On Wed, Nov 9, 2011 at 11:19 PM, Rares Aioanei bsdlis...@gmail.com wrote: On Wed, 9 Nov 2011, John Tate wrote: Misc, I can't seem to mount NFS exports from my new OpenBSD 5.0 desktop system. # cat /etc/exports # $OpenBSD: exports,v 1.2 2002/05/31 08:15:44 pjanzen Exp $ # # NFS exports Database # See exports(5) for more information. Be very careful: misconfiguration # of this file can result in your filesystems being readable by the world. /home -alldirs -rw -network=10.0.0 -mask=255.0.0.0 # ps ax | grep nfs 10290 ?? I 0:00.00 nfsd: server (nfsd) 24226 ?? I 0:00.00 nfsd: server (nfsd) 5635 ?? I 0:00.00 nfsd: server (nfsd) 15980 ?? I 0:00.00 nfsd: server (nfsd) # hostname smass.kab.loc Perhaps network should be 10 not 10.0.0 ? I doubt it because the server 10.0.0.1 and the client 10.0.0.10, so even a faulty netmask will work. # mount -t nfs smass:/home /net/smass/home mount_nfs: can't access /home: Permission denied # hostname rothbard.kab.loc John Tate Check the permissions on the exported directory and make sure you've restarted the NFS server. These are the most common causes for permission denied errors with NFS that I encountered. -- www.johntate.org -- www.johntate.org
Re: NFS not working
On Fri, Nov 11, 2011 at 09:57:34AM +0100, Jan Stary wrote: On Nov 11 17:40:01, John Tate wrote: Fixed that now getting... # mount smass:/home /mhome/ Cannot MNT PRC: RPC: Program not registered is mountd even running? and portmap for that matter? -Otto On Fri, Nov 11, 2011 at 5:38 PM, John Tate j...@johntate.org wrote: This is what I am getting... in /var/log/daemon Nov 11 17:35:58 smass nfsd[30663]: can't bind udp addr On Wed, Nov 9, 2011 at 11:19 PM, Rares Aioanei bsdlis...@gmail.com wrote: On Wed, 9 Nov 2011, John Tate wrote: Misc, I can't seem to mount NFS exports from my new OpenBSD 5.0 desktop system. # cat /etc/exports # $OpenBSD: exports,v 1.2 2002/05/31 08:15:44 pjanzen Exp $ # # NFS exports Database # See exports(5) for more information. Be very careful: misconfiguration # of this file can result in your filesystems being readable by the world. /home -alldirs -rw -network=10.0.0 -mask=255.0.0.0 # ps ax | grep nfs 10290 ?? I 0:00.00 nfsd: server (nfsd) 24226 ?? I 0:00.00 nfsd: server (nfsd) 5635 ?? I 0:00.00 nfsd: server (nfsd) 15980 ?? I 0:00.00 nfsd: server (nfsd) # hostname smass.kab.loc Perhaps network should be 10 not 10.0.0 ? I doubt it because the server 10.0.0.1 and the client 10.0.0.10, so even a faulty netmask will work. # mount -t nfs smass:/home /net/smass/home mount_nfs: can't access /home: Permission denied # hostname rothbard.kab.loc John Tate Check the permissions on the exported directory and make sure you've restarted the NFS server. These are the most common causes for permission denied errors with NFS that I encountered. -- www.johntate.org -- www.johntate.org
Re: NFS not working
On 2011-11-11 07.40, John Tate wrote: Fixed that now getting... # mount smass:/home /mhome/ Cannot MNT PRC: RPC: Program not registered Your mountd and/or portmap most likely isn't running. Have you followed the instructions in the FAQ? If not, backtrack all your efforts, read up on what to do and try again. http://www.openbsd.org/faq/faq6.html#NFS man portmap man nfsd man mountd man exports Regards, /Benny On Fri, Nov 11, 2011 at 5:38 PM, John Tate j...@johntate.org wrote: This is what I am getting... in /var/log/daemon Nov 11 17:35:58 smass nfsd[30663]: can't bind udp addr On Wed, Nov 9, 2011 at 11:19 PM, Rares Aioanei bsdlis...@gmail.com wrote: On Wed, 9 Nov 2011, John Tate wrote: Misc, I can't seem to mount NFS exports from my new OpenBSD 5.0 desktop system. # cat /etc/exports # $OpenBSD: exports,v 1.2 2002/05/31 08:15:44 pjanzen Exp $ # # NFS exports Database # See exports(5) for more information. Be very careful: misconfiguration # of this file can result in your filesystems being readable by the world. /home -alldirs -rw -network=10.0.0 -mask=255.0.0.0 # ps ax | grep nfs 10290 ?? I 0:00.00 nfsd: server (nfsd) 24226 ?? I 0:00.00 nfsd: server (nfsd) 5635 ?? I 0:00.00 nfsd: server (nfsd) 15980 ?? I 0:00.00 nfsd: server (nfsd) # hostname smass.kab.loc Perhaps network should be 10 not 10.0.0 ? I doubt it because the server 10.0.0.1 and the client 10.0.0.10, so even a faulty netmask will work. # mount -t nfs smass:/home /net/smass/home mount_nfs: can't access /home: Permission denied # hostname rothbard.kab.loc John Tate Check the permissions on the exported directory and make sure you've restarted the NFS server. These are the most common causes for permission denied errors with NFS that I encountered. -- www.johntate.org -- www.johntate.org -- internetlabbet.se / work: +46 8 551 124 80 / Words must Benny Lofgren/ mobile: +46 70 718 11 90 / be weighed, / fax:+46 8 551 124 89/not counted. /email: benny -at- internetlabbet.se
Re: NFS not working
Sorry I should have posted. mountd, portmap, and also the appropriate services are running on the server portmap and nfsd. less related: mc and ssh with a fast network isn't my idea of fun. John Tate On Fri, Nov 11, 2011 at 7:57 PM, Jan Stary h...@stare.cz wrote: On Nov 11 17:40:01, John Tate wrote: Fixed that now getting... # mount smass:/home /mhome/ Cannot MNT PRC: RPC: Program not registered is mountd even running? On Fri, Nov 11, 2011 at 5:38 PM, John Tate j...@johntate.org wrote: This is what I am getting... in /var/log/daemon Nov 11 17:35:58 smass nfsd[30663]: can't bind udp addr On Wed, Nov 9, 2011 at 11:19 PM, Rares Aioanei bsdlis...@gmail.com wrote: On Wed, 9 Nov 2011, John Tate wrote: Misc, I can't seem to mount NFS exports from my new OpenBSD 5.0 desktop system. # cat /etc/exports # $OpenBSD: exports,v 1.2 2002/05/31 08:15:44 pjanzen Exp $ # # NFS exports Database # See exports(5) for more information. Be very careful: misconfiguration # of this file can result in your filesystems being readable by the world. /home -alldirs -rw -network=10.0.0 -mask=255.0.0.0 # ps ax | grep nfs 10290 ?? I 0:00.00 nfsd: server (nfsd) 24226 ?? I 0:00.00 nfsd: server (nfsd) 5635 ?? I 0:00.00 nfsd: server (nfsd) 15980 ?? I 0:00.00 nfsd: server (nfsd) # hostname smass.kab.loc Perhaps network should be 10 not 10.0.0 ? I doubt it because the server 10.0.0.1 and the client 10.0.0.10, so even a faulty netmask will work. # mount -t nfs smass:/home /net/smass/home mount_nfs: can't access /home: Permission denied # hostname rothbard.kab.loc John Tate Check the permissions on the exported directory and make sure you've restarted the NFS server. These are the most common causes for permission denied errors with NFS that I encountered. -- www.johntate.org -- www.johntate.org On Fri, Nov 11, 2011 at 8:10 PM, Otto Moerbeek o...@drijf.net wrote: On Fri, Nov 11, 2011 at 09:57:34AM +0100, Jan Stary wrote: On Nov 11 17:40:01, John Tate wrote: Fixed that now getting... # mount smass:/home /mhome/ Cannot MNT PRC: RPC: Program not registered is mountd even running? and portmap for that matter? -Otto On Fri, Nov 11, 2011 at 5:38 PM, John Tate j...@johntate.org wrote: This is what I am getting... in /var/log/daemon Nov 11 17:35:58 smass nfsd[30663]: can't bind udp addr On Wed, Nov 9, 2011 at 11:19 PM, Rares Aioanei bsdlis...@gmail.com wrote: On Wed, 9 Nov 2011, John Tate wrote: Misc, I can't seem to mount NFS exports from my new OpenBSD 5.0 desktop system. # cat /etc/exports # $OpenBSD: exports,v 1.2 2002/05/31 08:15:44 pjanzen Exp $ # # NFS exports Database # See exports(5) for more information. Be very careful: misconfiguration # of this file can result in your filesystems being readable by the world. /home -alldirs -rw -network=10.0.0 -mask=255.0.0.0 # ps ax | grep nfs 10290 ?? I 0:00.00 nfsd: server (nfsd) 24226 ?? I 0:00.00 nfsd: server (nfsd) 5635 ?? I 0:00.00 nfsd: server (nfsd) 15980 ?? I 0:00.00 nfsd: server (nfsd) # hostname smass.kab.loc Perhaps network should be 10 not 10.0.0 ? I doubt it because the server 10.0.0.1 and the client 10.0.0.10, so even a faulty netmask will work. # mount -t nfs smass:/home /net/smass/home mount_nfs: can't access /home: Permission denied # hostname rothbard.kab.loc John Tate Check the permissions on the exported directory and make sure you've restarted the NFS server. These are the most common causes for permission denied errors with NFS that I encountered. -- www.johntate.org -- www.johntate.org On Fri, Nov 11, 2011 at 10:35 PM, Benny Lofgren bl-li...@lofgren.biz wrote: On 2011-11-11 07.40, John Tate wrote: Fixed that now getting... # mount smass:/home /mhome/ Cannot MNT PRC: RPC: Program not registered Your mountd and/or portmap most likely isn't running. Have you followed the instructions in the FAQ? If not, backtrack all your efforts, read up on what to do and try again. http://www.openbsd.org/faq/faq6.html#NFS man portmap man nfsd man mountd man exports Regards, /Benny On Fri, Nov 11, 2011 at 5:38 PM, John Tate j...@johntate.org wrote: This is what I am getting... in /var/log/daemon Nov 11 17:35:58 smass nfsd[30663]: can't bind udp addr On Wed, Nov 9, 2011 at 11:19 PM, Rares Aioanei bsdlis...@gmail.com wrote: On Wed, 9 Nov 2011, John Tate wrote: Misc, I can't seem to mount NFS exports from my new OpenBSD 5.0 desktop system. # cat /etc/exports # $OpenBSD: exports,v 1.2 2002/05/31 08:15:44 pjanzen Exp $ # # NFS exports Database # See exports(5) for more information. Be very careful: misconfiguration # of this file can result in your
Re: NFS not working
On 11/11/11 14:57, John Tate wrote: Sorry I should have posted. mountd, portmap, and also the appropriate services are running on the server portmap and nfsd. what do rpcinfo -p nfs-server on client and server and netstat -na say?
Re: NFS not working
On Fri, 11 Nov 2011, John Tate wrote: Fixed that now getting... # mount smass:/home /mhome/ Cannot MNT PRC: RPC: Program not registered On Fri, Nov 11, 2011 at 5:38 PM, John Tate j...@johntate.org wrote: This is what I am getting... in /var/log/daemon Nov 11 17:35:58 smass nfsd[30663]: can't bind udp addr On Wed, Nov 9, 2011 at 11:19 PM, Rares Aioanei bsdlis...@gmail.com wrote: On Wed, 9 Nov 2011, John Tate wrote: Misc, I can't seem to mount NFS exports from my new OpenBSD 5.0 desktop system. # cat /etc/exports # $OpenBSD: exports,v 1.2 2002/05/31 08:15:44 pjanzen Exp $ # # NFS exports Database # See exports(5) for more information. Be very careful: misconfiguration # of this file can result in your filesystems being readable by the world. /home -alldirs -rw -network=10.0.0 -mask=255.0.0.0 # ps ax | grep nfs 10290 ?? I 0:00.00 nfsd: server (nfsd) 24226 ?? I 0:00.00 nfsd: server (nfsd) 5635 ?? I 0:00.00 nfsd: server (nfsd) 15980 ?? I 0:00.00 nfsd: server (nfsd) # hostname smass.kab.loc Perhaps network should be 10 not 10.0.0 ? I doubt it because the server 10.0.0.1 and the client 10.0.0.10, so even a faulty netmask will work. # mount -t nfs smass:/home /net/smass/home mount_nfs: can't access /home: Permission denied # hostname rothbard.kab.loc John Tate Check the permissions on the exported directory and make sure you've restarted the NFS server. These are the most common causes for permission denied errors with NFS that I encountered. -- www.johntate.org -- www.johntate.org I suppose that's /PRC/RPC. Next, if everything that's supposed to be running IS running, I would still suspect some kind of network problem. Check the server's logs for messages and look at hosts.allow. A good Google search would have been useful, and please do not top-post. Thank you.
Re: NFS not working
This is what I am getting... in /var/log/daemon Nov 11 17:35:58 smass nfsd[30663]: can't bind udp addr On Wed, Nov 9, 2011 at 11:19 PM, Rares Aioanei bsdlis...@gmail.com wrote: On Wed, 9 Nov 2011, John Tate wrote: Misc, I can't seem to mount NFS exports from my new OpenBSD 5.0 desktop system. # cat /etc/exports # $OpenBSD: exports,v 1.2 2002/05/31 08:15:44 pjanzen Exp $ # # NFS exports Database # See exports(5) for more information. Be very careful: misconfiguration # of this file can result in your filesystems being readable by the world. /home -alldirs -rw -network=10.0.0 -mask=255.0.0.0 # ps ax | grep nfs 10290 ?? I 0:00.00 nfsd: server (nfsd) 24226 ?? I 0:00.00 nfsd: server (nfsd) 5635 ?? I 0:00.00 nfsd: server (nfsd) 15980 ?? I 0:00.00 nfsd: server (nfsd) # hostname smass.kab.loc Perhaps network should be 10 not 10.0.0 ? I doubt it because the server 10.0.0.1 and the client 10.0.0.10, so even a faulty netmask will work. # mount -t nfs smass:/home /net/smass/home mount_nfs: can't access /home: Permission denied # hostname rothbard.kab.loc John Tate Check the permissions on the exported directory and make sure you've restarted the NFS server. These are the most common causes for permission denied errors with NFS that I encountered. -- www.johntate.org
Re: NFS not working
Fixed that now getting... # mount smass:/home /mhome/ Cannot MNT PRC: RPC: Program not registered On Fri, Nov 11, 2011 at 5:38 PM, John Tate j...@johntate.org wrote: This is what I am getting... in /var/log/daemon Nov 11 17:35:58 smass nfsd[30663]: can't bind udp addr On Wed, Nov 9, 2011 at 11:19 PM, Rares Aioanei bsdlis...@gmail.com wrote: On Wed, 9 Nov 2011, John Tate wrote: Misc, I can't seem to mount NFS exports from my new OpenBSD 5.0 desktop system. # cat /etc/exports # $OpenBSD: exports,v 1.2 2002/05/31 08:15:44 pjanzen Exp $ # # NFS exports Database # See exports(5) for more information. Be very careful: misconfiguration # of this file can result in your filesystems being readable by the world. /home -alldirs -rw -network=10.0.0 -mask=255.0.0.0 # ps ax | grep nfs 10290 ?? I 0:00.00 nfsd: server (nfsd) 24226 ?? I 0:00.00 nfsd: server (nfsd) 5635 ?? I 0:00.00 nfsd: server (nfsd) 15980 ?? I 0:00.00 nfsd: server (nfsd) # hostname smass.kab.loc Perhaps network should be 10 not 10.0.0 ? I doubt it because the server 10.0.0.1 and the client 10.0.0.10, so even a faulty netmask will work. # mount -t nfs smass:/home /net/smass/home mount_nfs: can't access /home: Permission denied # hostname rothbard.kab.loc John Tate Check the permissions on the exported directory and make sure you've restarted the NFS server. These are the most common causes for permission denied errors with NFS that I encountered. -- www.johntate.org -- www.johntate.org
NFS not working
Misc, I can't seem to mount NFS exports from my new OpenBSD 5.0 desktop system. # cat /etc/exports # $OpenBSD: exports,v 1.2 2002/05/31 08:15:44 pjanzen Exp $ # # NFS exports Database # See exports(5) for more information. Be very careful: misconfiguration # of this file can result in your filesystems being readable by the world. /home -alldirs -rw -network=10.0.0 -mask=255.0.0.0 # ps ax | grep nfs 10290 ?? I 0:00.00 nfsd: server (nfsd) 24226 ?? I 0:00.00 nfsd: server (nfsd) 5635 ?? I 0:00.00 nfsd: server (nfsd) 15980 ?? I 0:00.00 nfsd: server (nfsd) # hostname smass.kab.loc Perhaps network should be 10 not 10.0.0 ? I doubt it because the server 10.0.0.1 and the client 10.0.0.10, so even a faulty netmask will work. # mount -t nfs smass:/home /net/smass/home mount_nfs: can't access /home: Permission denied # hostname rothbard.kab.loc John Tate
Re: NFS not working
On Wed, 9 Nov 2011, John Tate wrote: Misc, I can't seem to mount NFS exports from my new OpenBSD 5.0 desktop system. # cat /etc/exports # $OpenBSD: exports,v 1.2 2002/05/31 08:15:44 pjanzen Exp $ # # NFS exports Database # See exports(5) for more information. Be very careful: misconfiguration # of this file can result in your filesystems being readable by the world. /home -alldirs -rw -network=10.0.0 -mask=255.0.0.0 # ps ax | grep nfs 10290 ?? I 0:00.00 nfsd: server (nfsd) 24226 ?? I 0:00.00 nfsd: server (nfsd) 5635 ?? I 0:00.00 nfsd: server (nfsd) 15980 ?? I 0:00.00 nfsd: server (nfsd) # hostname smass.kab.loc Perhaps network should be 10 not 10.0.0 ? I doubt it because the server 10.0.0.1 and the client 10.0.0.10, so even a faulty netmask will work. # mount -t nfs smass:/home /net/smass/home mount_nfs: can't access /home: Permission denied # hostname rothbard.kab.loc John Tate Check the permissions on the exported directory and make sure you've restarted the NFS server. These are the most common causes for permission denied errors with NFS that I encountered.
Re: NFS not working
I forgot I have Kerberos, LOL. Sorry about that. On Wed, Nov 9, 2011 at 11:19 PM, Rares Aioanei bsdlis...@gmail.com wrote: On Wed, 9 Nov 2011, John Tate wrote: Misc, I can't seem to mount NFS exports from my new OpenBSD 5.0 desktop system. # cat /etc/exports # $OpenBSD: exports,v 1.2 2002/05/31 08:15:44 pjanzen Exp $ # # NFS exports Database # See exports(5) for more information. Be very careful: misconfiguration # of this file can result in your filesystems being readable by the world. /home -alldirs -rw -network=10.0.0 -mask=255.0.0.0 # ps ax | grep nfs 10290 ?? I 0:00.00 nfsd: server (nfsd) 24226 ?? I 0:00.00 nfsd: server (nfsd) 5635 ?? I 0:00.00 nfsd: server (nfsd) 15980 ?? I 0:00.00 nfsd: server (nfsd) # hostname smass.kab.loc Perhaps network should be 10 not 10.0.0 ? I doubt it because the server 10.0.0.1 and the client 10.0.0.10, so even a faulty netmask will work. # mount -t nfs smass:/home /net/smass/home mount_nfs: can't access /home: Permission denied # hostname rothbard.kab.loc John Tate Check the permissions on the exported directory and make sure you've restarted the NFS server. These are the most common causes for permission denied errors with NFS that I encountered.