NFS not working

2011-11-09 Thread John Tate
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

2011-11-10 Thread John Tate
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  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

2011-11-10 Thread John Tate
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  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  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

2011-11-11 Thread Jan Stary
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  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  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

2011-11-11 Thread Otto Moerbeek
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  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  
> > > 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

2011-11-11 Thread Benny Lofgren
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  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  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

2011-11-11 Thread John Tate
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  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  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 
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  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  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 
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  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  wrote:
>>> This is what I am getting.

Re: NFS not working

2011-11-11 Thread Christopher Zimmermann
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

2011-11-11 Thread Rares Aioanei
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  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  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

2011-11-12 Thread John Tate
# 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
 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

2011-11-09 Thread Rares Aioanei

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

2011-11-09 Thread John Tate
I forgot I have Kerberos, LOL.

Sorry about that.

On Wed, Nov 9, 2011 at 11:19 PM, Rares Aioanei  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.



Re: NFS not working (SOLVED)

2011-11-12 Thread John Tate
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  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
>  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