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

installing image as "shared" on openVMS failing

 
SAMI AHMAD
Regular Advisor

installing image as "shared" on openVMS failing

the following image i can install as /open/head
but when i add the flag /shared I get the following error, but the file is not r/o so why am I getting this error ?

thanks

SUNNY2$ install add PASAPP:[PAS.EXE]CC_COMM_AUTHORIZATION.exe/shared
%INSTALL-E-FAIL, failed to CREATE entry for PASDISK:CC_COMM_AUTHORIZATION.EXE
-SYSTEM-F-NOWRT, cannot create writable section to read-only file
SUNNY2$ dir/sec PASAPP:[PAS.EXE]CC_COMM_AUTHORIZATION.exe

Directory PASDISK:[PAS.EXE]

CC_COMM_AUTHORIZATION.EXE;1
[GT_KDG,PAS_APP] (RWED,RWED,RWED,RWED)
9 REPLIES 9
Steven Schweda
Honored Contributor

Re: installing image as "shared" on openVMS failing

I know nothing, but HELP /MESS NOWRT says:

[...]
User Action: [...] If the Install utility
returns this error, reenter the command and use the /WRITE
qualifier in addition to the /SHARE qualifier.
SAMI AHMAD
Regular Advisor

Re: installing image as "shared" on openVMS failing

thanks !
that fixed the problem
Robert Gezelter
Honored Contributor

Re: installing image as "shared" on openVMS failing

Sami,

A note of caution: The /WRITABLE option makes the image modifiable. Please verify that this was intended (e.g., the data in the image is properly covered by some synchronization mechanism).

While a popular practice on many platforms, unsynchronized access to shared memory data can and does produce pernicious problems. On VAX the default for certain data areas was SHARED, WRITABLE (for historical compatibility with RSX-11 practice). When the resulting images were installed, it was easy to stumble on an "accidental shareable writable" area.

Verification is less expensive than later debugging.

- Bob Gezelter, http://www.rlgsc.com
Wim Van den Wyngaert
Honored Contributor

Re: installing image as "shared" on openVMS failing

And it would be very polite to give Bob and Steven some points for their answer (that's the payment system in this forum). And also
for your older questions.
http://forums13.itrc.hp.com/service/forums/pageList.do?userId=WW95102&listType=unassigned&forumId=1

Wim
Wim
Hoff
Honored Contributor

Re: installing image as "shared" on openVMS failing

As for the question, please read the shareable image cookbook. That's here:

h71000.www7.hp.com/wizard/swdev/ovms-shexe-cook.html

There's an overview of constructing shareable images here:

http://64.223.189.234/node/163

Also recognize the limitations of position-dependent and common structures; they can cause more maintenance effort, as application-wide re-links can be required when (other parts of the) application are upgraded, and when OpenVMS itself is ECO'd or upgraded.

For various application cases, a global section can be a better choice.

As for a complete source example of commons and global sections and such, see this:

http://h71000.www7.hp.com/wizard/wiz_2486.html

Wim, I'd gladly trade all my points for better forum software and for fewer "points nags." Thanks! (The new not-hats icons I see around a few of the ITRC servers don't count as better forum software, either.)

SAMI AHMAD
Regular Advisor

Re: installing image as "shared" on openVMS failing

yes this image was designed to be installed /writeable .

regards
SAMI AHMAD
Regular Advisor

Re: installing image as "shared" on openVMS failing

hi Wim!

I was not aware of this point assignment thing .. I appologize , I have assigned points for all those who helped on this question and from now on I will be assigning points.

regards
SAMI AHMAD
Regular Advisor

Re: installing image as "shared" on openVMS failing

Thanks
Dennis Handly
Acclaimed Contributor

Re: installing image as "shared" on openVMS failing

>I have assigned points for all those who helped on this question

You need to push the assign points button before you close the thread. So you need to reopen the thread and assign again. Note every reply needs to be assigned points, if only zero or a few.

>from now on I will be assigning points.

You really should use Wim's link to go back and assign points to all of your threads where you have been helped.