Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* nfs mount -- service denial
@ 1999-06-20  4:00 Helmut Katzgraber
  1999-06-20  4:00 ` Helmut Katzgraber
  1999-06-21  4:00 ` Serguei Patchkovskii
  0 siblings, 2 replies; 5+ messages in thread
From: Helmut Katzgraber @ 1999-06-20  4:00 UTC (permalink / raw)



hi there.

i have been trying to mount a local disk on my machine onto another
machine. unfortunatey without success. i am running red hat 6.0 on an
alpha. to export /home to the other machine, i edited the /etc/exports
file with the entry

/home othermachine.ucsc.edu

and on the other machine i modified the fstab accordingly with the entry

thismachine.ucsc.edu:/home 	/mnt/thismachine	nfs	defaults

when i try to mount, i get the following message at othermachine:

% mount thismachine:/home /mnt/thismachine
mount: thismachine:/home failed, reason given by server: Permission
denied
%

this is odd, since there *is* an exports file. it is even odder, since
when i type

% showmount -e thismachine
Export list for thismachine:
%

therefore it does not see the exported fs?!?! the other thing is that
nfs and mount services do not get started at boot (why?) and after
starting them by hand it does not seem to see the exports file....

just to be sure: i start nfsd and mountd nowadays with /usr/sbin/rpc.*
where * is one of each.

i have been suggested that it might be the tcp wrapper that i am
running, but this cannot be the case since both machines have an ALL:
thismachine.edu othermachine.edu
entry in hosts.allow.

any suggestions?

thanks, helmut (dummkopf@debussy.ucsc.edu)



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: nfs mount -- service denial
  1999-06-20  4:00 nfs mount -- service denial Helmut Katzgraber
@ 1999-06-20  4:00 ` Helmut Katzgraber
  1999-06-27  4:00   ` Duane Cady
  1999-06-21  4:00 ` Serguei Patchkovskii
  1 sibling, 1 reply; 5+ messages in thread
From: Helmut Katzgraber @ 1999-06-20  4:00 UTC (permalink / raw)




NOTE: i tried it the other way around: mounting othermachine onto
thismachine and that works. it seems that it is this machine which has
problems "accepting" the exports file.

thanks, h.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: nfs mount -- service denial
  1999-06-20  4:00 nfs mount -- service denial Helmut Katzgraber
  1999-06-20  4:00 ` Helmut Katzgraber
@ 1999-06-21  4:00 ` Serguei Patchkovskii
  1999-06-21  4:00   ` Helmut Katzgraber
  1 sibling, 1 reply; 5+ messages in thread
From: Serguei Patchkovskii @ 1999-06-21  4:00 UTC (permalink / raw)


Helmut Katzgraber (dummkopf@debussy.ucsc.edu) wrote:
: i have been trying to mount a local disk on my machine onto another
: machine. unfortunatey without success. i am running red hat 6.0 on an
: alpha. to export /home to the other machine, i edited the /etc/exports
: file with the entry

[...]

: when i try to mount, i get the following message at othermachine:

: % mount thismachine:/home /mnt/thismachine
: mount: thismachine:/home failed, reason given by server: Permission
: denied
: %

RTFM:

$ man mountd
[...]

SIGNALS
       When  receiving  a SIGHUP, mountd will re-read the exports
       file  and  any  access   restrictions   defined   in   the
       /etc/hosts.allow  and  /etc/hosts.deny  file. Note that to
       make export changes take effect, you have to send  nfsd  a
       SIGHUP as well.

[...]

/Serge.P

--
home page: http://www.cobalt.chem.ucalgary.ca/ps/



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: nfs mount -- service denial
  1999-06-21  4:00 ` Serguei Patchkovskii
@ 1999-06-21  4:00   ` Helmut Katzgraber
  0 siblings, 0 replies; 5+ messages in thread
From: Helmut Katzgraber @ 1999-06-21  4:00 UTC (permalink / raw)




thanks.

in fact i had to restart the services -- and i was doing that part
wrong. using

/etc/rc.d/init.d/nfs start

does the right job.

-- 
==========================================================================

	NOTE: NEW PRIVATE PHONE NUMBER		(+1) 831-471-9651

	Helmut G. Katzgraber		mail:	dummkopf@debussy.ucsc.edu
	Physics Department		http://debussy.ucsc.edu/~dummkopf
	Kerr Hall		    		 
	Univ. of California		Phone:	(+1) 831-459-4762 OF
	Santa Cruz, CA 95064			(+1) 831-471-9651 HOME
	USA				Fax:	(+1) 831-459-3043
==========================================================================



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: nfs mount -- service denial
  1999-06-20  4:00 ` Helmut Katzgraber
@ 1999-06-27  4:00   ` Duane Cady
  0 siblings, 0 replies; 5+ messages in thread
From: Duane Cady @ 1999-06-27  4:00 UTC (permalink / raw)


On Sun, 20 Jun 1999, Helmut Katzgraber wrote:
>NOTE: i tried it the other way around: mounting othermachine onto
>thismachine and that works. it seems that it is this machine which has
>problems "accepting" the exports file.
>
>thanks, h.

Hi -- just a couple of things to try here --

First of all make sure nfsd and mountd (at least) are registered with the
portmapper -- rpcinfo -p.

Then, from the server, showmount -e.

If registered with portmapper, but still no exports showing with showmount -e,
then kill nfsd and mountd, and start nfsd, and mountd, using the debug flag for
mountd (strrange... I dont have a man page for mountd or rpc.mountd).  mountd
is what reads the exports file.

If you are running redhat, and when booting it tries to start nfs service and
it says 'service unavailable", then you need to build nfs server into your
kernel.

If all shows well at the server machine, then, from the client, showmount -e
servername and rpcinfo -p servername will tell you if your client can see what
it should.

Hope this helps...

Duane




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1999-06-27  4:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-06-20  4:00 nfs mount -- service denial Helmut Katzgraber
1999-06-20  4:00 ` Helmut Katzgraber
1999-06-27  4:00   ` Duane Cady
1999-06-21  4:00 ` Serguei Patchkovskii
1999-06-21  4:00   ` Helmut Katzgraber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox