Re: [newbie] NFS Mount Problems

2003-02-22 Thread Greg Meyer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 22 February 2003 10:44 am, Christopher Shaffer wrote:

 /var/www  10.0.0.2(no_root_squash,rw)

Don't you have to include the netmask, like this

/var/www  10.0.0.2/255.0.0.0(no_root_squash,rw)
- -- 
Greg
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+V9jxGu5uuMFlL5MRAuyxAJsGcEbSbjc97WlKjUcWQas69gG4DwCdHlBe
8Bd0liPVDHfQ1wvIKWUi5xY=
=EcYc
-END PGP SIGNATURE-


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] NFS Mount Problems

2003-02-22 Thread Tim Holmes
I do NFS installs, and here's what I have set for my /etc/exports,
perhaps you could give something along these lines for it to work:

/install   192.168.2.0/24(rw,all_squash,anonuid=500,anongid=500)

That's always worked.  So any machine on my internal network can access
the NFS mounts.

In Mandrake(9.0), /var/www is now owned by root, not apache.  I'm not sure if
that's the case in RedHat.  But that could be causing you some problems.

But you shouldn't need to use the netmask in there.  I don't have mine
specified, and it works.  I have that /install mounted on various
machines to use with urpmi or apt-get, and I have no problem installing
packages like that.

After you make the edits, make sure you restart all the services.

portmap
nfs
nfslock
netfs

I would suggest umounting all the currently mounted NFS mounts before
restarting netfs.  It can complain quite a bit at times.
tdh

--
 
 T. Holmes  |  UNIXTECHS.org  |  [EMAIL PROTECTED]  |  UIN:  17021091
 
| Help! Please!
| 
| No matter what I do, I cannot seem to get an export to mount FROM my Mdk 9.0 box.  
Here is my
| setup:
| 
| Old_Server - 10.0.0.1 - RedHat 7.2 
| Workstation - 10.0.0.2 - Suse 8.1
| New_Server - 10.0.0.3 - Mandrake 9.0
| 
| Now, I have an export from Old_Server to Workstation, so I know my NFS client works. 
When I try
| and mount an export from New_Server, I get this:
|
|  mount: 10.0.0.3:/var/www failed, reason given by server: Permission denied
| 
| Here is the contents of my config files on New_Server:
| 
| /etc/exports
| 
| /var/www  10.0.0.2(no_root_squash,rw)
| 
| /etc/hosts.deny
| ---
| portmap:ALL
| lockd:ALL
| mountd:ALL
| rquotad:ALL
| statd:ALL
| 
| /etc/hosts.allow
| 
| portmap: 10.0.0.2
| lockd: 10.0.0.2
| rquotad: 10.0.0.2
| mountd: 10.0.0.2
| statd: 10.0.0.2
| 
| Any suggestions?  I know its probably something silly that I am over looking.
| 
| Thanks,
| 
| Chris 
`--- 

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] NFS Mount Problems

2003-02-22 Thread Greg Meyer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 22 February 2003 03:28 pm, Tim Holmes wrote:
 But you shouldn't need to use the netmask in there.  I don't have mine
 specified, and it works.

But you do.  The /24 in yours is a different syntax for the same thing.
- --
Greg
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+WC9IGu5uuMFlL5MRAmbDAJ96oHD1KUC4biwe9EkelbEw3LlHRwCcCwqw
AVFdFqdPPRZm0sV+oEyABOQ=
=cjoU
-END PGP SIGNATURE-


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com