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

Configuring NFS on OpenVMS 7.2 to be used with LinuxBox

SOLVED
Go to solution
Esko Ilola
Occasional Advisor

Configuring NFS on OpenVMS 7.2 to be used with LinuxBox

I have an AlphaServer 2000 4/233 wich I have installed OpenVMS V7.2 (Hobbyist License).

I have stuck into a problem with mounting shares on the LinuxBox. I need the NFS to be able to easily copy stuff for web publication - therefore the APACHE$WWW proxy setting in the following.

I must be doing something wrong here as I get this stuff:

On the LinuxBox:
[esko@fragpc ~]$ su -
Password:
[root@fragpc ~]# mount as2000:/wwwdisk/wwwroot /mnt/wwwroot
mount: RPC: Authentication error; why = Invalid client credential
[root@fragpc ~]#


And on the VMS (server) machine:
Welcome to OpenVMS (TM) Alpha Operating System, Version V7.2

Username: system
Password:
Welcome to OpenVMS (TM) Alpha Operating System, Version V7.2
Last interactive login on Friday, 11-NOV-2005 21:06:20.75
Last non-interactive login on Wednesday, 9-NOV-2005 02:51:31.43
$ tcpip
TCPIP> show proxy

VMS User_name Type User_ID Group_ID Host_name

APACHE$WWW OND 0 0 FRAGPC.FURPILE.COM
TCPIP> show export

File System Host name

/wwwdisk/wwwroot FRAGPC
TCPIP> show map
Dynamic Filesystem Map
Pathname Logical File System

/wwwdisk AS2000$DKA400:
TCPIP>
%%%%%%%%%%% OPCOM 11-NOV-2005 21:15:56.97 %%%%%%%%%%%
Message from user TCPIP$NFS on AS2000
%TCPIP-W-NFS_NOCMAP, cannot find client record in proxy database (TCPIP$PROXY)
-TCPIP-S-NFS_CLIENT, uid=0 gid=0 host_name = fragpc.furpile.com


TCPIP>

I hope You get the idea from above. I have been reading the TCP/IP manual but still I cannot figure out why the proxy isn't working.

I suspect it might be either the IP address (I tried it without the domain name) or then there is something that prevents doing this with GID=0 and UID=0 (root). Unfortunately my LinuxBox allows NFS mounts only for root and I'm not too keen on changing that.
Never too late for VMS
4 REPLIES
Hein van den Heuvel
Honored Contributor

Re: Configuring NFS on OpenVMS 7.2 to be used with LinuxBox

Did you try mounting my ip number?
Did you try the other way around?
I shoudl think that the roxy defintion adn exports defintions should agree on the same hostname.
When you do something simple like telnet from the linux box to the vms host, what hostname are you coming in as according to "show us /full"?

I don't think it is your problem, but you may want to get out a recent Tru64 conversation:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=972095

The topic may trigger the right questions for you.

There Ivan Ferreira had a good explanation for Geert Van Pamel... the username was member of too many groups: http://www.bjnet.edu.cn/sun-admin/FAQ/F-comp-sys-sun/Q13-0.html

fwiw,
Hein.
Bojan Nemec
Honored Contributor
Solution

Re: Configuring NFS on OpenVMS 7.2 to be used with LinuxBox

Esko,

Try to create the proxy with lowercase letters:
$ TCPIP ADD PROXY APACHE$WWW /NFS=(OUT,IN)-
/UID=0/GID=0/HOST="fragpc.furpile.com"

Bojan
Esko Ilola
Occasional Advisor

Re: Configuring NFS on OpenVMS 7.2 to be used with LinuxBox

Okey - Dokey :)

The problem seemed to be the fact that lower and uppercase IP addresses are different after all....

This applied to both proxy AND export statements. After fixing the case it all worked out.

This teleported me into another problem - the mounted disk seems to be owned by "nfsnobody - Anonymous NFS User"... but this should be easy enough even for me to figure out.

Thanks for the prompt responses which were really helpful.
Never too late for VMS
Esko Ilola
Occasional Advisor

Re: Configuring NFS on OpenVMS 7.2 to be used with LinuxBox

When and if a domain DNS gives out lowercase addresses it is essential that one observes the case when defining proxy and export entries for NFS system as both proxy and export mechanisms are case sensitive when comparing IP addresses.

If You see messages like this:
%TCPIP-W-NFS_NOCMAP, cannot find client record in proxy database (TCPIP$PROXY)
-TCPIP-S-NFS_CLIENT, uid=0 gid=0 host_name = fragpc.furpile.com

Note the lowercase IP address. If You entered the IP address without "quotes" the TCPIP will convert the IP uppercase. To preserve case, surround the IP address with "quotes".

Examples:
ADD PROXY APACHE$WWW /NFS=(IN,OUT) /UID=1 /GID=3 /HOST="dec.furpile.com"
ADD EXPORT "/wwwdisk/wwwroot" /HOST="dec.furpile.com"

I hope You got the idea.
Never too late for VMS