Operating System - OpenVMS
1827895 Members
1657 Online
109969 Solutions
New Discussion

Re: Passing files between systems

 
SOLVED
Go to solution
Tony Marron
Advisor

Passing files between systems

We run two independent Alpha's both connected to the same IP network. One runs VMS 7.1-H2 (box A) the second runs 7.2-1 (box B). Here's the problem.

From box B I can copy/delete/read files on box A but when I try to do anything from box A, such as a DIR on box B I get the following message...
%DIRECT-E-OPENIN, error opening WILL::DKA0:[DBB_BKUP]*.*;* as input
-RMS-E-PRV, insufficient privilege or file protection violation

All the files have RWE priv on all groups and the disk has Vol Prot of RWCD for all groups.

Any suggestions? Thanks in advance...
18 REPLIES 18
Wim Van den Wyngaert
Honored Contributor
Solution

Re: Passing files between systems

IP network but using decnet !

Check
1) the protection of dka0:[000000]dbb_bkup.dir : must be at least r.
2) Do you use proxies (mc authorize show /prox *) ? Are they correctly setup ?

Wim
Wim
Robert Gezelter
Honored Contributor

Re: Passing files between systems

Tony,

I suspect that you may have proxies defined on one machine and not on the other.

Please note that the error message that you included WAS NOT "... WILL" password"::..." but was "... WILL::DKA ...".

- Bob Gezelter, http://www.rlgsc.com
Tony Marron
Advisor

Re: Passing files between systems

There are proxy's set up as follows:-

On the system 'RACHEL'

WILL::DEFAULT
DEFAULT

WILL::SYSTEM
SYSTEM (D)

and on system 'WILL'

RACHEL::DEFAULT
DEFAULT

RACHEL::SYSTEM
SYSTEM (D)

Are these correct ?
Art Wiens
Respected Contributor

Re: Passing files between systems

And if you're not using Decnet proxies (and you are using Decnet), then the default Decnet account is being used for access on "box B". Verify it's status in Authorize and check into it's effective permissions it would have on the files in your backup directory.

And when you say "RWE priv on all groups", you mean for W:orld right?

Cheers,
Art
Tony Marron
Advisor

Re: Passing files between systems

Also... I have check the protection on the files and they are RWE on S, O, G and W.

Bob,

When copying from B to A (which works) I do not include a username / password.

Tony.


Wim Van den Wyngaert
Honored Contributor

Re: Passing files between systems

And the dir prot ?

Which VMS user is executing these commands ?

Wim
Wim
Tony Marron
Advisor

Re: Passing files between systems

Copy of the file prot below...

FHDB100.DBB;1 (RWED,RWED,RWE,RWE)
FHDB500.DBB;1 (RWED,RWED,RWE,RWE)
GLDB100.DBB;1 (RWED,RWED,RWE,RWE)
GLDB500.DBB;1 (RWED,RWED,RWE,RWE)
MANDB100.DBB;1 (RWED,RWED,RWE,RWE)

The same user is copying the files with full system privilage.

One point that may be relevant - I am using 'SET HOST' to connect to box B when copying the files.

Wim Van den Wyngaert
Honored Contributor

Re: Passing files between systems

$ dir/sec dka0:[000000]dbb_bkup.dir
Wim
Wim Van den Wyngaert
Honored Contributor

Re: Passing files between systems

"The same user is copying the files with full system privilage."

Does this mean that you are logged in as SYSTEM ?

The set host has no influence.

Wim
Wim
Tony Marron
Advisor

Re: Passing files between systems

Wim,

I am not logged in as 'System' but as a user with full system privilage.

Tony.
Phillip Thayer
Esteemed Contributor

Re: Passing files between systems

Have you tried just changing the COPY command to COPY/FTP and see if that works?

Phil
Once it's in production it's all bugs after that.
Robert Brooks_1
Honored Contributor

Re: Passing files between systems

I am not logged in as 'System' but as a user with full system privilage.


----

Try it from the SYSTEM account and report back here. Or, add a proxy entry for the account that you are using. Using an account with elevated privileges is *not* the same as performing the same operation from the SYSTEM account, especially since DECnet proxy access is username-based.

-- Rob (VMS Engineering)
Tony Marron
Advisor

Re: Passing files between systems

Hi Everyone,

I think I may have resolved it based on Bob's suggestion. The A box is running UCX and the B box TCP. I tried including a when copying to the UCX box from the TCP one and it works!

Many thanks for all your help.

Tony.

Tony Marron
Advisor

Re: Passing files between systems

Caught out by UCX requirements!
Robert Brooks_1
Honored Contributor

Re: Passing files between systems

I think you are still confused; it is likely that the TCP/IP protocol is completely irrelevant to this problem, unless you are using the COPY/FTP syntax.

I'm glad that you've solved your problem, even if you don't understand why.


-- Rob
Tony Marron
Advisor

Re: Passing files between systems

Thanks Rob, it does work now. I can only assume that UCX requires the user name but TCP does not.

Tony.
Robert Brooks_1
Honored Contributor

Re: Passing files between systems

I can only assume that UCX requires the user name but TCP does not.

----

Sorry -- bad assumption. You need to understand the difference between networking protocols -- in this case DECnet and TCP/IP.

You are using the DECnet protocol to access the data, not TCP/IP. The proxy information you posted is specific to DECnet, and has nothing to do with TCP/IP.

Please note that I'm not trying to "pick" on you; I'm interested in making sure that you have a (more) complete and accurate understanding of how this stuff works.


-- Rob
Tony Marron
Advisor

Re: Passing files between systems

Hi Rob,

Thanks, this is not an area that i normally get involved with so it is all a bit new to me. They are using box B to store backup files so I am looking for the best soliution to moving those. Using the System account did work without the user name in the command but I want to set up a DCL routine to do that so I dont want the users to have access to that account.

Cheers,

tony.