Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

HP-UX server NFS mount OpenVMS's directory failed, "Permission denied"

 
SOLVED
Go to solution
Gary L
Super Advisor

HP-UX server NFS mount OpenVMS's directory failed, "Permission denied"

Hi

I got a task: share and export a directory of OpenVMS server vms001 to a HP-UX server hpux7 via NFS. I did, but on HP-UX system, mount was failed, error msg is "Permission denied". As you know, HP-UX server as the NFS client, remote mount a file system just a command " # mount vms001:/disk111/oracle_xr /oracle_xr". NFS mount failure, I think most faults should on setting of OpenVMS side.
1. OpenVMS: hostname: vms001, disk: disk111 filesystem: /oracle_xr
HP-UX: hostname: hpux7 mount point: /oracle_xr
2. On vms001, I have exported the directory to hpux7 as below.
3. On vms001, I have assigned the privileges to "RWED", details as below

TCPIP> sh exp "/disk111/oracle_xr"
File System Host name
/disk111/oracle_xr hpux7, hpux7

ORACLE_XR.DIR;1 [1MIS0478,OPERATIONS] (RWED,RWED,RWE,RWE)
SYS OWN GRP WORLD

4. On hpux7: I have added below entry in /etc/fstab, # mount /oracle_xr "Permission denied".
"vms001:/disk111/oracle_xr /oracle_xr nfs rw 0 0"
# mount vms001:/disk111/oracle_xr /oracle_xr -- "Permission denied" too.

5. hpux7 has NFS mounted some directories of other OpenVMS servers
# mount vms000:/disk091/oracle_wrk /oracle_wrk, it works.

I'm a HP-UX admin, just learn OpenVMS, so would you please list the details that how to set NFS server side,

Any answers will be very appreciate!

-G
5 REPLIES
Joseph Huber_1
Honored Contributor
Solution

Re: HP-UX server NFS mount OpenVMS's directory failed, "Permission denied"


One thing to check are NFS proxies:

Enable an operator terminal to see the failed mount request: it does (?) have the userid of the failed request.

Check on the working vms000 system with TCPIP SHOW PROXY the uid/gid for hpux7, and add the same on vms001. If the proxy is not for root (0 0 ?), then evtl. add one for the owner of the directory [1MIS0478,OPERATIONS].
http://www.mpp.mpg.de/~huber
Gary L
Super Advisor

Re: HP-UX server NFS mount OpenVMS's directory failed, "Permission denied"

Hi Joseph

Thank you very much for your suggestion.

I will try it soon

Have a good day.

-Gary
Gary L
Super Advisor

Re: HP-UX server NFS mount OpenVMS's directory failed, "Permission denied"

Hi

After change, currently, the error message on hpux7 became:

NFS getattr failed for server vms001: RPC: Authentication error
nfs mount: mount_nfs: mount: /oracle_xr: I/O error

I have deleted and re-created the export of oracle_xr, add hpux7 in proxy, priv are all RWED.

How to fix this problem.

Thanks

-G
Gary L
Super Advisor

Re: HP-UX server NFS mount OpenVMS's directory failed, "Permission denied"

I have fixed the second error according as Joseph's suggestoin.

On proxy, add hpux7 root's uid=0 gid=3 for /oracle_xr instead of past setting of -2 -2, it works.

This thread will be close.

Thanks everyone.

-G
Gary L
Super Advisor

Re: HP-UX server NFS mount OpenVMS's directory failed, "Permission denied"

I have fixed the second error according as Joseph's suggestoin.

On proxy, add hpux7 root's uid=0 gid=3 for /oracle_xr instead of past setting of -2 -2, it works.

This thread will be close.

Thanks everyone.