1826291 Members
4666 Online
109692 Solutions
New Discussion

Posix Installagtion

 
geir_2
Super Advisor

Posix Installagtion

Hi,

Some collegues want to use posix on the workstation. I don't know what posix is, but for me it looks like a shellscript(unix shell). Is it difficult to install it on the worstation? What is the cookbook for posix installation.

Thanks


Geir
19 REPLIES 19
Bart Zorn_1
Trusted Contributor

Re: Posix Installagtion

Hello Geir,

Install the GNV kit. Amoung other things, it contains bash and of course vi!

You can download GNV from http://h71000.www7.hp.com/opensource/DEC-AXPVMS-GNV-V0106-002-1.PCSI_SFX_AXPEXE

HTH,

Bart Zorn
geir_2
Super Advisor

Re: Posix Installagtion

Hi,

Thanks.

I copied the file to a CDROM with CD Creator 5, but on OpenVMS I have problems to mount the disk.

The OpenVMS is isolated, with no network connection to other system, so I must copy posix either on CD or floppy(to small).
Do you have som idea? Thanks. Some idea?

Geir
Ian Miller.
Honored Contributor

Re: Posix Installagtion

How did you create the CD and what error messages do you get when mounting the CD?

To create a VMS format CD you can create an disk image file with LD, copy the file to a PC with a CD writer and write the CD as a iso image.
____________________
Purely Personal Opinion
Brian Reiter
Valued Contributor

Re: Posix Installagtion

Geir

Try mounting the CD with /OVER=ID/MEDIA=CD

This will instruct VMS to view the CD as a standard ISO rather than a FILES-11 volume.

cheers

Brian
geir_2
Super Advisor

Re: Posix Installagtion

Hi,

Thanks for the answer. As far as I know, POSIX should be part of the OpenVMS 6.2. I have 10 CD's with OpenVMS Alpha Software Product Library, but I have problems to use vmsinstall to install posix. Maybe it's a few commands to do for activatin the posix.
Any suggestians??

Regards geir

Uwe Zessin
Honored Contributor

Re: Posix Installagtion

The installation guide should be on the CD, too. If I remember correctly, the software is in the [.KITS] directory and the guides in the [.DOCUMENTATION] directory.

Start with making a good BACKUP of the system, because POSIX adds at least one kernel module. During the BACKUP, you can find some time to go thorough the installation guide ;-)
.
geir_2
Super Advisor

Re: Posix Installagtion

Him
Thanks for the answer. The Backup is active, and now I try to mount CD number one (Open VMS Alpha, Software Product Library Disc 1 of 10) because I whish to read the installation guide for POSIX. But I got followibng error message:

$mount/media=cdrom osws2$dka400: axpbinsep971
%MOUNT-I-OPRQST, device _osws2$dka400: contains the worong volume

%MOUNT-I-OPRQST, Please mount volume axpbinsep971 in device _osws2$dka400:


Maybe I got wrong CD, but the other CD is marked NAS, and I assume it's not correct?? And that's all CD I have.


Regards Geir :-0

Brian Reiter
Valued Contributor

Re: Posix Installagtion

Try without the /MEDIA=CD. If that fails try with /over=id to see what VMS thinks the label is.
geir_2
Super Advisor

Re: Posix Installagtion

Hi Brian,

I have tried both, without success, I also tried to use the label that OpenVMS suggest.

I did the following commands:

1) $ show device d
....
...
OSWS2$DKA400

2) $ mount/for OSWS2$DKA400
3) $ show device dk

label is: AXPBINSEP971
4) $ dismount OSWS2$DKA400
5) $ mount OSWS2$DKA400 AXPBINSEP971 " "


And then I got the error message as described earlier.

Thanks Geir
Brian Reiter
Valued Contributor

Re: Posix Installagtion

Could just try

$mount OSWS2$DKA400 /over=id

Been a long time since I've had to look at VMS 6-2 :)
geir_2
Super Advisor

Re: Posix Installagtion

Hi,

Thanks. It solve the problem, but I still have problems to find how to install POSIX. I did not see anything on the CD.

Where could I found POSIX software?
Is it a part of the OpenVMS?
What about license? Is it a part of VMS, or must I buy new license. I know for sure that we already have posix on some of the server.


Thanks


Geir



Ian Miller.
Honored Contributor

Re: Posix Installagtion

Its licenced as part of VMS.
____________________
Purely Personal Opinion
geir_2
Super Advisor

Re: Posix Installagtion

Hi,

Where is it possible to get POSIX software??
I have all CD's for OpenVMS 6.2 (10 CD's). Is Posix a part of these CD's. If the answer is yes, how is it possible to install posix.

What is the product name, if I want to use vmsinstall.


Geir
Volker Halle
Honored Contributor

Re: Posix Installagtion

Geir,

POSIX V3.0 is on the JUN-1997 OpenVMS Alpha Layered Products CD set (Q2/97) on CD #2 in directory [POSIX030]. But it's only supported on OpenVMS V7.0 or higher. And it's a PCSI kit (to be installed with PRODUCT INSTALL).

For OpenVMS Alpha V6.2, you would need POSIX V2.0, which would be on an older LP CD set.

Volker.
Willem Grooters
Honored Contributor

Re: Posix Installagtion

Geir,
POSIX = a "standard" UNIX. Not a product. It's just a way that all UNIX's should work.

What version of VMS are you talking about?
IIRC, there has been a POSIX-compliant shell available, but I never worked with it, and for what I've heard, it was slow (very inefficient) and I doubt it was widely used. I'm not sure in what VMS veriosn it was introduced and in what version it was abandoned. I know for sure that there is no built-in Posix commandset in VMS.
If you're running VMS 7.3 (and higher), you can set up posix-compliance for files, mainly naming. It requires ODS-5 disks, process settings ($ SET PROCESS/PARSE_STYLE=EXTENDED) and a number of other settings. But the command-line will still be DCL.
If you want Unix-like command shell, you will need to run VMS 7.3-2 at least, and download the GNV set - already mentioned by others. It's very easy to install: It comes as a executable that will expand itself to a standard PCSI-file so installation is a piece of cake. Any person that wants a Unix-shell can enable it by simply issueing the "bash" command. What bash (the Unix shell) doesn't understand will be passed to, and be executed by DCL - if it's a valid command.
Check the releasenotes for the product - theer are some things to take into account.
Anyway, be sure to have that latest version and keep track of new releases, as the rpoduct will be nehanced.

BTW: OpenVMS is more compliant to the POSIX standards in terms of available interfaces, than a lot, if not most (or all) UNIXes. at least: 10 years ago (Source: X/open Survey '95 (X/Open is the predecessor of POSIX))
Willem Grooters
OpenVMS Developer & System Manager
geir_2
Super Advisor

Re: Posix Installagtion

Hi,

Thanks for the answer. A friend told me that I could download posix from http://www1.itrc.hp.com. He also told me that it was posible to find the software on the web-page, if I use the search command. So far, I have no success to use the search command. He also told me that I need license, if I will use the software. So if some of you could tell me where, I could find the software, I would be happy.

My OS version is OpenVMS Alpha V6.2, and I need POSIX V2.0. I is good enough to have ordinary OpenVMS license, if I want to use POSIX.


Regards Geir
Volker Halle
Honored Contributor

Re: Posix Installagtion

Geir,

refer to ATW (Ask The Wizard) article 3272 for an OpenVMS Alpha V6.2 SPD:

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

Regarding the POSIX license, it says:

The right-to-use POSIX for OpenVMS is included with the OpenVMS base operating system license. Refer to the POSIX for OpenVMS Software Product Description (SPD 38.82.xx) for more information.

Your problem will be to locate such an old POSIX V2.0 for OpenVMS kit !

POSIX for OpenVMS is a layered product. You cannot download layered product kits from ITRC. You must obtain the appropriate OpenVMS Layered Products CD. In this case, you would need a versions of those CDs prior to JUN-1997 ! The SPL Master Index does not list CDs earlier than JUN-1997.

There also seems to be a POSIX V2.0 ECO 2 (POSIXECO02020) and another POSIXECO021020 patch kit.

The POSIX V2.0 kit may be found on the OpenVMS Alpha V6.2 Operating system CD in [KITS.POSIX]. You would need to install it with PRODUCT INSTALL POSIX/SOUR=dev:[KITS.POSIX]

Volker.
Jan Schollaert
Advisor

Re: Posix Installagtion

Hi,

The OpenVMS Alpha V6.2 Operating system CD, mentioned by Volker, also contains a vmsinstallable kit:

Directory DAD8037:[POSIX020.KIT]

DEC-VAXVMS-POSIX-V0200--1.PCSI;1 POSIXECO02020.A;1

Total of 2 files.

Cheers,

Jan
Volker Halle
Honored Contributor

Re: Posix Installagtion

Jan,

those 2 kits would be the POSIX V2.0 kit and a patch (ECO 2) for POSIX V2.0.

You have to install the PCSI kit with PRODUCT INSTALL first and then apply the patch using @VMSINSTAL

Volker.