Operating System - OpenVMS
1827422 Members
4719 Online
109965 Solutions
New Discussion

Can't install software - file(s) not found

 
SOLVED
Go to solution
Paul Beaudoin
Regular Advisor

Can't install software - file(s) not found

Folks,
Another weird problem. Neither unzip nor unzipsfx is able to find existing files (some resulting questions at the end):

Directory DSA1:[KITS]

ALO.ZIP;1 ASMV22.ZIP;1 AUTOL.ZIP;1
CPQ-AXPVMS-CSWS_PHP-V0103--1.PCSI;1
CPQ-AXPVMS-CSWS_PHP-V0103--1.PCSI_SFX_AXPEXE;1
CSWB-OPENVMS-ALPHA-V1713.SFX_AXPEXE;1


Total of 30 files.
CCCI20>run CSWB-OPENVMS-ALPHA-V1713.SFX_AXPEXE;1
UnZipSFX 5.52 of 28 February 2005, by Info-ZIP (http://www.info-zip.org).

error: cannot open zipfile [
/DSA1/kits/cswb-openvms-alpha-v1713.sfx_axpexe ] (access denied?).

CCCI20>unzip alo
unzip: cannot find either alo or DSA1:[KITS]ALO.ZIP;1.zip.
CCCI20>unzip
UnZip 5.50 of 17 February 2002, by Info-ZIP. For more details see:


unzip -v.

CCCI20>set proc/parse=trad
CCCI20>unzip alo
unzip: cannot find either alo or DSA1:[KITS]ALO.ZIP;1.zip.
CCCI20>run CSWB-OPENVMS-ALPHA-V1713.SFX_AXPEXE;1
UnZipSFX 5.52 of 28 February 2005, by Info-ZIP (http://www.info-zip.org).

error: cannot open zipfile [
/DSA1/kits/cswb-openvms-alpha-v1713.sfx_axpexe ] (access denied?).

CCCI20>set proc/parse=extend
CCCI20>run CSWB-OPENVMS-ALPHA-V1713.SFX_AXPEXE;1
UnZipSFX 5.52 of 28 February 2005, by Info-ZIP (http://www.info-zip.org).

error: cannot open zipfile [
/DSA1/kits/cswb-openvms-alpha-v1713.sfx_axpexe ] (access denied?).

CCCI20>sho dev dsa1:/full

Disk DSA1:, device type Generic SCSI disk, is online, mounted, file-oriented
device, shareable, available to cluster, error logging is enabled,
device
supports bitmaps (no bitmaps active).

Error count 0 Operations
completed 1619
Owner process "" Owner UIC
[SYSTEM]
Owner process ID 00000000 Dev Prot
S:RWPL,O:RWPL,G:R,W
Reference count 1 Default buffer
size 512
Total blocks 142264000 Sectors per
track 254
Total cylinders 28005 Tracks per
cylinder 20
Logical Volume Size 142264000 Expansion Size Limit
153194496

Volume label "SHELF3" Relative volume
number 0
Cluster size 137 Transaction
count 1
Free blocks 108838143 Maximum files allowed
515449
Extend quantity 5 Mount
count 1
Mount status System Cache name
"_DSA0:XQPCACHE"
Extent cache size 64 Maximum blocks in extent cache
10883814
File ID cache size 64 Blocks in extent cache
10818616
Quota cache size 0 Maximum buffers in FCP
cache 2374
Volume owner UIC [1,102] Vol Prot
S:RWCD,O:RWCD,G:RWCD,W:RWCD

Volume Status: ODS-2, subject to mount verification, file high-water
marking,
write-back caching enabled.

Disk $20$DKB300:, device type COMPAQ BD0726536C, is online, member of
shadow set
DSA1:, served to cluster via MSCP Server, error logging is enabled.

Error count 0 Shadow member operation
count 1281
Current preferred CPU Id 0
Fastpath 1
Allocation class 20

Disk $20$DKB500:, device type COMPAQ BD0726536C, is online, member of
shadow set
DSA1:, served to cluster via MSCP Server, error logging is enabled.

Error count 0 Shadow member operation
count 1278
Current preferred CPU Id 0
Fastpath 1
Allocation class 20

This is all run from a fully priveleged account - all privs on, VMS 8.2.

Asside from the obvious, where does the PCSI compress kit get unzipsfx - is it included in the kit? If so that makes this even weirder..

I can't help but get the feeling I am missing the obvious here - can someone give me the appropriate slap on the head?

Many thanks

Paul
27 REPLIES 27
Volker Halle
Honored Contributor

Re: Can't install software - file(s) not found

Paul,

the .SFX_AXPEXE files are self-expanding images.

Try the well-known but undocumented utility $ SET WATCH FILE/CLASS=MAJOR

Turn off with /CLASS=NOMAJOR

Volker.
Paul Beaudoin
Regular Advisor

Re: Can't install software - file(s) not found

Volker,

Thanks, I'll try that tonight and report back.

Regards

Paul
Steven Schweda
Honored Contributor

Re: Can't install software - file(s) not found

It's not obvious to me.

A self-expanding Zip archive comprises a
special UnZip executable and a normal Zip
archive. If you run it, the built-in UnZip
executable does the work. You can also use
your own UnZip program, and (possibly after a
warning about some junk at the beginning of
the archive) that should work, too. Note
that HP now seems to be using UnZip version
5,52, while you seem to be stuck back at 5.50
(which is not so good as 5.52).

http://www.info-zip.org/

Around here:

ALP2 $ show system /noprocess
OpenVMS V8.2 on node ALP2 15-AUG-2006 08:50:19.88 Uptime 0 00:06:49

ALP2 $ run CSWB-OPENVMS-ALPHA-V1713.SFX_AXPEXE
UnZipSFX 5.52 of 28 February 2005, by Info-ZIP (http://www.info-zip.org).

This self-extracting archive file contains PCSI kits for:

- Secure Web Browser (CSWB)
- GTK+
- OpenVMS Porting Library (OPL)

Once the PCSI files are extracted, use the PRODUCT INSTALL command to
install CSWB. If you don't already have the required versions of
GTK+ and OPL installed, they will be automatically installed too.

inflating: cpq-axpvms-cswb-v0107-13-1.pcsi$compressed
[...]

Did you do something terrible to your kit
file (like, say, an ASCII FTP transfer)?

The (not-so-useful) "cannot open zipfile
[...](access denied?)" message should be the
result of a failure from sys$open(). Sadly,
the (old, not-my) UnZip code has no provision
to let you see the real error status there.

Perhaps a DIRE /FULL on one of your Zip
archives would be informative. Around here:

ALP2 $ dire /full CSWB-OPENVMS-ALPHA-V1713.SFX_AXPEXE

Directory ALP$DKA0:[CSWB.V1R7S13]

CSWB-OPENVMS-ALPHA-V1713.SFX_AXPEXE;1 File ID: (209152,352,0)
Size: 74848/74865 Owner: [1,1]
Created: 24-JUN-2006 08:30:59.00
Revised: 24-JUN-2006 08:30:59.00 (1)
Expires:
Backup:
Effective:
Recording:
Accessed:
Attributes:
Modified:
Linkcount: 1
File organization: Sequential
Shelved state: Online
Caching attribute: Writethrough
File attributes: Allocation: 74865, Extend: 16384, Global buffer count: 0
No version limit
Record format: Stream_LF, maximum 0 bytes, longest 32767 bytes
Record attributes: Carriage return carriage control
RMS attributes: None
Journaling enabled: None
File protection: System:RWED, Owner:RWED, Group:RE, World:
Access Cntrl List: None
Client attributes: None

Total of 1 file, 74848/74865 blocks.

Can you copy the file to a different disk,
and does that matter at all? (It shouldn't,
of course, but I don't have any DSxx devices
here, so what do I know?)
Richard Whalen
Honored Contributor

Re: Can't install software - file(s) not found

>CCCI20>run CSWB-OPENVMS-ALPHA-V1713.SFX_AXPEXE;1
>UnZipSFX 5.52 of 28 February 2005, by Info-ZIP (http://www.info-zip.org).

>error: cannot open zipfile [
/DSA1/kits/cswb-openvms-alpha-v1713.sfx_axpexe ] (access denied?).

My first guess from the above is that you do not have write permission to the DSA1:[KITS] directory.

What happens if you run the image with your default directory set to a location that you can create files?

Steven Schweda
Honored Contributor

Re: Can't install software - file(s) not found

> [...] you do not have write permission to
> the DSA1:[KITS] directory.

Shouldn't be needed. The files in that kit
should get unpacked into the user's current
default directory. The archive file should
be opened read-only, and there should be no
need to write to the kit's directory.

For example, with no permission at all:

alp $ unzip -t ALP$DKA0:[CSWB.V1R7S13]CSWB-OPENVMS-ALPHA-V1713.SFX_AXPEXE
unzip: cannot find either ALP$DKA0:[CSWB.V1R7S13]CSWB-OPENVMS-ALPHA-V1713.SFX_AXPEXE or
ALP$DKA0:[CSWB.V1R7S13]CSWB-OPENVMS-ALPHA-V1713.SFX_AXPEXE;1.zip.

(I believe that there's a fix in progress for
the ";1.zip" file name complaint, by the
way.)

alp $ set process /privilege = readall

alp $ unzip -t ALP$DKA0:[CSWB.V1R7S13]CSWB-OPENVMS-ALPHA-V1713.SFX_AXPEXE
Archive: ALP$DKA0:[CSWB.V1R7S13]CSWB-OPENVMS-ALPHA-V1713.SFX_AXPEXE;1

This self-extracting archive file contains PCSI kits for:

- Secure Web Browser (CSWB)
- GTK+
- OpenVMS Porting Library (OPL)
[...]


Running the self-extracting executable works,
too


The most informative thing to do might be to
get hold of the UnZip source, dive into
[.VMS]VMS.C, and persuade it to print out the
result of the sys$open() in the
check_format() function.

The latest UnZip 6.00c BETA is not likely to
be any better here, either.


Note that there were some problems with older
Zip versions when the user's default
directory was read-only (as on a CD-ROM, for
example), because the program tried to create
the temporary archive file in the default
directory instead of the archive destination
directory. But that's Zip, not UnZip, it's
been fixed already, and it's not this
problem.
Steven Schweda
Honored Contributor

Re: Can't install software - file(s) not found

And running the stuff where write permission
is lacking for the extracted files looks
different. For example:

alp $ run CSWB-OPENVMS-ALPHA-V1713.SFX_AXPEXE
UnZipSFX 5.52 of 28 February 2005, by Info-ZIP (http://www.info-zip.org).

This self-extracting archive file contains PCSI kits for:

- Secure Web Browser (CSWB)
- GTK+
- OpenVMS Porting Library (OPL)

Once the PCSI files are extracted, use the PRODUCT INSTALL command to
install CSWB. If you don't already have the required versions of
GTK+ and OPL installed, they will be automatically installed too.

[ Create file QIO failed. ]
[ %SYSTEM-F-NOPRIV, insufficient privilege or object protection violation ]
[...]

This is a problem on the output side, not on
the input side.
Paul Beaudoin
Regular Advisor

Re: Can't install software - file(s) not found

Thank you all for the responses. Permissions, one way of the other should not be a problem as I ran this fully priveleged. I have the output from SET WATCH and it seems to get weirder....
(Sorry for the length this is growing to)




CCCI20>set def dsa1:[kits]
CCCI20>dir/full CSWB-OPENVMS-ALPHA-V1713.SFX_AXPEXE;
%XQP, Thread #0, Lookup (14566,13,0) Status: 00000001
%XQP, Thread #0, Access SECURESHR.EXE;1 (14566,13,0) Status: 00000001
%XQP, Thread #0, Control function (14566,13,0) Status: 00000001
%XQP, Thread #0, Deaccess (14566,13,0) Reads: 3, Writes: 0, Status: 00000001
%XQP, Thread #0, Lookup (16130,1,0) Status: 00000001
%XQP, Thread #0, Lookup CSWB-OPENVMS-ALPHA-V1713.SFX_AXPEXE;1
(16130,1,0) Status: 00000001

Directory DSA1:[KITS]

CSWB-OPENVMS-ALPHA-V1713.SFX_AXPEXE;1 File ID: (16130,1,0)
%XQP, Thread #0, Access RIGHTSLIST.DAT;1 (8472,1,0) Status: 00000001
Size: 74848/74939 Owner: [1,102]
Created: 13-AUG-2006 16:30:14.61
Revised: 15-AUG-2006 16:58:28.05 (4)
Expires:
Backup:
Effective:
Recording:
Accessed:
Attributes:
Modified:
Linkcount: 1
File organization: Sequential
Shelved state: Online
Caching attribute: Writethrough
File attributes: Allocation: 74939, Extend: 0, Global buffer count:
0, No version limit
Record format: Fixed length 8192 byte records
Record attributes: None
RMS attributes: None
Journaling enabled: None
File protection: System:RWED, Owner:RWED, Group:RE, World:RWED
Access Cntrl List: None
Client attributes: None

Total of 1 file, 74848/74939 blocks.
%XQP, Thread #0, Deaccess (8472,1,0) Reads: 4, Writes: 0, Status: 00000001

I notice it is different from an example posted earlier so checked some others that (used to) work and they match. I transfer these up from the PC using TYPE IMAGE. On advice from elswhere, I reset the file attributes to the above with no better results. This is one that worked and what the file in question was set to originally:
Note that I also tried this operation on some files that worked very recently (about a week ago) and they also now don't work.

CCCI20>dir/full CPQ-AXPVMS-CSWS-V0201--1.PCSI_SFX_AXPEXE;1
%XQP, Thread #0, Lookup (14566,13,0) Status: 00000001
%XQP, Thread #0, Access SECURESHR.EXE;1 (14566,13,0) Status: 00000001
%XQP, Thread #0, Control function (14566,13,0) Status: 00000001
%XQP, Thread #0, Deaccess (14566,13,0) Reads: 3, Writes: 0, Status: 00000001
%XQP, Thread #0, Lookup (16034,1,0) Status: 00000001
%XQP, Thread #0, Lookup CPQ-AXPVMS-CSWS-V0201--1.PCSI_SFX_AXPEXE;1
(16034,1,0) Status: 00000001

Directory DSA1:[KITS]

CPQ-AXPVMS-CSWS-V0201--1.PCSI_SFX_AXPEXE;1 File ID:
(16034,1,0)
%XQP, Thread #0, Access RIGHTSLIST.DAT;1 (8472,1,0) Status: 00000001
Size: 13746/13837 Owner: [1,102]
Created: 29-JUN-2006 16:12:13.59
Revised: 29-JUN-2006 16:13:36.07 (2)
Expires:
Backup:
Effective:
Recording:
Accessed:
Attributes:
Modified:
Linkcount: 1
File organization: Sequential
Shelved state: Online
Caching attribute: Writethrough
File attributes: Allocation: 13837, Extend: 0, Global buffer count:
0, No version limit
Record format: Fixed length 512 byte records
Record attributes: None
RMS attributes: None
Journaling enabled: None
File protection: System:RWED, Owner:RWED, Group:RE, World:
Access Cntrl List: None
Client attributes: None

Total of 1 file, 13746/13837 blocks.
%XQP, Thread #0, Deaccess (8472,1,0) Reads: 4, Writes: 0, Status: 00000001

CCCI20>run CSWB-OPENVMS-ALPHA-V1713.SFX_AXPEXE;
%XQP, Thread #0, Access CSWB-OPENVMS-ALPHA-V1713.SFX_AXPEXE;1
(16130,1,0) Status: 00000001
UnZipSFX 5.52 of 28 February 2005, by Info-ZIP (http://www.info-zip.org).
%XQP, Thread #0, Lookup (0,0,0) Status: 00000820
%XQP, Thread #0, Lookup (16130,1,0) Status: 00000001
%XQP, Thread #0, Lookup CSWB-OPENVMS-ALPHA-V1713.SFX_AXPEXE;1
(16130,1,0) Status: 00000001

error: cannot open zipfile [
/DSA1/kits/cswb-openvms-alpha-v1713.sfx_axpexe ] (access denied?).

%XQP, Thread #0, Deaccess (16130,1,0) Reads: 7, Writes: 0, Status: 00000001
CCCI20>exit 00000820
%SYSTEM-F-DEVREQERR, device request error

Really!?! So it finds the file OK but it looks like unzip is then looking for something non-existant (0,0,0)which causes the problem?

CCCI20>unzip alo.zip
%XQP, Thread #0, Access unzip.exe;1 (3953,47,0) Status: 00000001
%XQP, Thread #0, Lookup (5665,1,0) Status: 00000001
%XQP, Thread #0, Lookup (0,0,0) Status: 00000818
%XQP, Thread #0, Lookup (0,0,0) Status: 00000818
%XQP, Thread #0, Lookup (0,0,0) Status: 00000930
%XQP, Thread #0, Lookup (0,0,0) Status: 00000818
%XQP, Thread #0, Lookup (0,0,0) Status: 00000818
unzip: cannot find either alo.zip or DSA1:[KITS]ALO.ZIP;1.zip.
%XQP, Thread #0, Deaccess (3953,47,0) Reads: 9, Writes: 0, Status: 00000001
CCCI20>exit 00000818
%SYSTEM-E-DEVREQERR, device request error
CCCI20>exit 00000930
%SYSTEM-E-SUSPENDED, process is suspended

More weird (misleading?) errors. Just in case:

CCCI20>sho sys
OpenVMS V8.2 on node CCCI20 15-AUG-2006 18:29:41.53 Uptime 3 06:07:44
Pid Process Name State Pri I/O CPU Page flts
Pages
20200201 SWAPPER HIB 16 0 0 00:00:04.08
0 0
20200207 CLUSTER_SERVER HIB 13 13 0 00:00:00.01
58 76
20200208 SHADOW_SERVER HIB 6 280051 0 00:00:40.85
71 98
20200209 CONFIGURE HIB 10 13 0 00:00:00.00
36 20
2020020A LANACP HIB 14 86 0 00:00:00.11
104 133
2020020C IPCACP HIB 10 10 0 00:00:00.01
35 47
2020020D ERRFMT HIB 8 4281 0 00:00:02.51
108 128
2020020E CACHE_SERVER HIB 16 3 0 00:00:00.00
29 40
2020020F OPCOM HIB 7 2249 0 00:00:00.40
94 48
20200210 AUDIT_SERVER HIB 10 128 0 00:00:00.15
127 159
20200211 JOB_CONTROL HIB 10 205 0 00:00:00.11
65 94
20200213 QUEUE_MANAGER HIB 10 168 0 00:00:00.11
141 179
20200214 SECURITY_SERVER HIB 10 101 0 00:00:00.19
450 396
20200215 ACME_SERVER HIB 8 99 0 00:00:00.13
418 417 M
20200216 DNS$ADVER LEF 5 57155 0 00:00:23.86
1243 777
20200217 LES$ACP_V30 HIB 10 125 0 00:00:00.08
77 90
20200218 NET$ACP HIB 6 78 0 00:00:00.06
139 169
20200219 REMACP HIB 8 10 0 00:00:00.01
29 19
2020021A NET$EVD HIB 6 30 0 00:00:00.54
228 317
2020021B DTSS$CLERK LEF 12 26069 0 00:00:08.92
276 326
2020021C SMISERVER HIB 9 42 0 00:00:00.04
212 177
2020021D LATACP HIB 14 8 0 00:00:00.00
81 65
2020021F TCPIP$INETACP HIB 10 170 0 00:00:00.58
147 78
20200221 TCPIP$PORTM_1 LEF 10 167 0 00:00:00.10
324 232 N
20200223 TCPIP$FTP_1 LEF 10 1007 0 00:00:00.35
788 346 N
20200224 TCPIP$NFS_1 HIB 10 159 0 00:00:00.11
533 244 N
20200225 TCPIP$MOUNTD_1 LEF 10 318 0 00:00:00.19
578 371 N
20200226 TCPIP$PCNFSD_1 LEF 10 154 0 00:00:00.13
341 229 N
20200227 TCPIP$PWIP_ACP HIB 8 115 0 00:00:00.05
213 150
2020022B APACHE$SWS LEF 6 2501 0 00:00:00.98
767 884
2020022C MMOV$SERVER HIB 6 41231 0 00:00:07.21
410 218
2020022E APACHE$SWS0000 LEF 6 3056 0 00:00:01.86
798 932
20200230 APACHE$SWS0001 LEF 6 3463 0 00:00:02.14
837 968
20200231 APACHE$SWS0002 LEF 6 3395 0 00:00:02.06
834 963
20200232 APACHE$SWS0003 LEF 6 3206 0 00:00:02.09
824 952
20200233 APACHE$SWS0004 LEF 6 3474 0 00:00:01.87
837 968
20200238 APACHE$SWS0005 LEF 6 4573 0 00:00:02.38
837 965
2020023A DECW$TE_023A LEF 5 330719 0 00:01:00.40 2151
1167
2020023B _FTA2: CUR 4 670922 0 00:02:40.77
51829 148
2020024F MYSQL_SERVER HIB 6 1231 0 00:03:25.15 7361
4809 M
20200250 APACHE$SWS0006 LEF 6 2368 0 00:00:01.57
828 956

Nothing suspended, I also checked device errors (none) memory (lots), disk (lots).

Also worth noting: This all worked a week ago. This is a fairly fresh install of 8.2 and used unzip and compressed PCSI kits extensively through the upgrade- there were no problem (at least in this area ;-)). No changes to the system I am aware of since I last unziped and reinstalled MMOV.

I'm stumped - but then it doesn't take a lot to stump me these days ...

Thanks for any hints

Regards

Paul
Steven Schweda
Honored Contributor

Re: Can't install software - file(s) not found

> Record format: Fixed length 8192 byte
> records

> I transfer these up from the PC using TYPE
> IMAGE.

That part's ok.

> On advice from elswhere, I reset the file
> attributes to the above with no better
> results.

That advice applied to an actual .PCSI file,
not to a Zip SFX archive.

> This is one that worked and what the file
> in question was set to originally:

It's what worked on a .PXSI file, not on a
Zip SFX archive.

So, first, I'd put it back to fixed-512,
which is normally what comes from a binary
FTP transfer, but I also wouldn't expect that
to make any difference.

On a whim from my subconscious, try this:

show logical decc$*

And if you see anything other than
DECC$CRTLMAP and DECC$SHR, then get rid of
it/them ("deassign DECC$whatever"), and try
it all again.
Paul Beaudoin
Regular Advisor

Re: Can't install software - file(s) not found

Gents,

Small but useful update: It has been suggested (an should have been obvious earlier, at lesast to me) that the disks in question ( I have tried this from 2 disks so far) could bennefit from ANALYSE/DISK/REPAIR. As noted: this is a fairly new installation and I haven't done this yet. I will now stand in the corner for at least 15 min for forgetting this usual part of the upgrade.

Regards

Paul
Steven Schweda
Honored Contributor
Solution

Re: Can't install software - file(s) not found

> ANALYSE/DISK/REPAIR

Good luck, but it seems unlikely to me.

Unless you have some odd-ball DECC$* feature
logical names defined, I can't think of a
good reason for UnZip to display the file
name in a UNIX format. If I dummy up a file
with VFC records, which should produce a very
similar error message (see [.VMS]VMS.C), I
get the expected message with the file name
in VMS format:

alp $ set file /attr = (rfm:vfc) vfc.zip
alp $ unzip -t vfc.zip

Error: zipfile is in variable-length record format. Please
run "bilf l ALP$DKA0:[SMS]VFC.ZIP;1" to convert the zipfile to stream-LF
record format. (BILF is available at various VMS archives.)


You really tried "show logical DECC$*"?
Paul Beaudoin
Regular Advisor

Re: Can't install software - file(s) not found

Steven,

Not yet - that is next when I get the chance tonight. I missed the significance of it reporting in unix format. Now that I think of it, I was trying to sinstall CIFS and there was something in the instructions relating to this - I'll go back and find them again to see what I set. If this is indeed the problem, I wonder if I will have a 'permanent' problem when I get CIFS to work and it needs settings incompatible with other items. ANother problem for another day ...

Thanks

Paul
Steven Schweda
Honored Contributor

Re: Can't install software - file(s) not found

Well, ok. The UNIX format name seems to be
an artifact of the SFX code. Sigh, Never
mind.
Edwin Gersbach_2
Valued Contributor

Re: Can't install software - file(s) not found

Paul

CCCI20>exit 00000818
%SYSTEM-E-DEVREQERR, device request error
CCCI20>exit 00000930
%SYSTEM-E-SUSPENDED, process is suspended

Try this:
$ EXIT %X0818
%SYSTEM-W-BADFILENAME, bad file name syntax
$ EXIT %X0930
%SYSTEM-W-NOMOREFILES, no more files

Edwin
Paul Beaudoin
Regular Advisor

Re: Can't install software - file(s) not found

Gents,

Yes - the interpretation of the exit codes needed some education - thanks for the info.
It is starting to look more like the DECC logicals may be the underlying issue. I'll test tonight and report back. Many thanks for all the input

Paul
Volker Halle
Honored Contributor

Re: Can't install software - file(s) not found

Paul,

this experiment looks quite similar to what you're seeing:

$ DEFINE DECC$FILENAME_UNIX_ONLY TRUE

$ unzip -l UCX020E_B.ZIP
%XQP, Thread #0, Access UNZIP.EXE;1 (22418,34,0) Status: 00000001
%XQP, Thread #0, Control function (22418,34,0) Status: 00000001
%XQP, Thread #0, Lookup (3346,9615,0) Status: 00000001
%XQP, Thread #0, Lookup (0,0,0) Status: 00000818
%XQP, Thread #0, Lookup (0,0,0) Status: 00000818
%XQP, Thread #0, Lookup (0,0,0) Status: 00000930
%XQP, Thread #0, Lookup (0,0,0) Status: 00000818
%XQP, Thread #0, Lookup (0,0,0) Status: 00000818
unzip: cannot find either ucx020e_b.zip or DSA3:[TEMP]UCX020E_B.ZIP;1.zip.
%XQP, Thread #0, Deaccess (22418,34,0) Reads: 8, Writes: 0, Status: 00000001
$ exit %x818
%SYSTEM-W-BADFILENAME, bad file name syntax
$ exit %x930
%SYSTEM-W-NOMOREFILES, no more files

Volker.
Steven Schweda
Honored Contributor

Re: Can't install software - file(s) not found

When the problem turns out to be some awful
combination of DECC$feature logical names,
I'd suggest reading the caution in the C RTL
manual regarding these things:

http://h71000.www7.hp.com/doc/82FINAL/5763/5763pro_003.html#index_x_88

Note also that UnZip provides an example of
how to enable these RTL features _within_ an
application, obviating the setting of any
DECC$feature logical names in any context
where they could confuse some other hapless
application. (See decc_init() in [.VMS]VMS.C.)
Paul Beaudoin
Regular Advisor

Re: Can't install software - file(s) not found

Gents,

Problem solved. Points (virtual beers) all around. It was the DECC logicals that were set up partly by instruction in the CIFS Install manual and partly by the installation iteslf. I had no idea these logicals were quite so pervasive. Steven - thanks for the original hint in that direction and the link to the warning and Volker for the demo. All the rest - thanks for the education.

Regards

Paul
Volker Halle
Honored Contributor

Re: Can't install software - file(s) not found

Paul,

could you please explicitly list the DECC$ logicals, which were involved in this problem.

Thanks,

Volker.
Paul Beaudoin
Regular Advisor

Re: Can't install software - file(s) not found

Volker,

I'll try - There were about 6 and I removed them 1 at a time. If they remain on the screen (at home) I'll paste them into a message and post it here.

To re-create, Install CIFS. As I will be revisiting this in near future, the problem will re-create and at worst, I'll grab the list then. Sorry - should have anticipated that one.

Paul
Steven Schweda
Honored Contributor

Re: Can't install software - file(s) not found

If this product installation actually defines
DECC$feature logical names in any context
which could affect some other process, then
I'd say that it's time to use that "Feedback"
button on the download page.

Hint: The mechanism used in the [Un]Zip code
can be used to do this sort of thing inside
an application, with no need to pollute the
general environment. Better yet, it can be
tacked onto many applications without any
changes in the original code.
Paul Beaudoin
Regular Advisor

Re: Can't install software - file(s) not found

Stephpn,

No - I don't think this will be a problem - this was more my fault. I've been installing and adjusting the new system for a while now and after finishing with one item, simply continued on unaware that the environment had changed. The logicals were all defined at process level so I assume that once done correctly, all will be well.

I remember that the old vmsinstal always deleted all your symbols - in hindsight a useful reminder that what you just did changed everything and prompted a logout/in.
That simple action would have avoided this problem also.
Again, thanks for the help

Paul

Steven Schweda
Honored Contributor

Re: Can't install software - file(s) not found

There's a good argument for running VMSINSTAL
after a SPAWN. You don't lose all your
process symbols, and stuff like this may also
be avoided.
Steven Schweda
Honored Contributor

Re: Can't install software - file(s) not found

I've submitted a change to UnZip to improve
the error message in this situation. (Under
normal circumstances, it's next to impossible
to get a failure at that point in the code,
so the under-informative message hadn't
stimulated many complaints.)

While I was trying to rebuild the UnZip
programs, I accidentally left
DECC$FILENAME_UNIX_ONLY set to ENABLE. The
result was mildly entertaining:

ALP $ mms /des = [.vms] /mac = IZ_BZIP2=IZ_BZIP2
%MMS-F-NOOUTFIL, Cannot open output file SYS$OUTPUT:.;

It's just one more indication of how
dangerous it is to define these logical names
in contexts too broad.
Paul Beaudoin
Regular Advisor

Re: Can't install software - file(s) not found

Volker,

Fortunately, the screen was still there...

These are the logicals that were set - I deass'ed all the process ones to fix the problem.

sho log decc*

(LNM$PROCESS_TABLE)

"DECC$ALLOW_REMOVE_OPEN_FILES" = "enable"
"DECC$EFS_CASE_PRESERVE" = "enable"
"DECC$EFS_CASE_SPECIAL" = "disable"
"DECC$EFS_CHARSET" = "enable"
"DECC$FILENAME_UNIX_ONLY" = "enable"
"DECC$FILENAME_UNIX_REPORT" = "enable"
"DECC$FILE_SHARING" = "enable"
"DECC$READDIR_DROPDOTNOTYPE" = "enable"

(LNM$JOB_823C1040)

(LNM$GROUP_000001)

(LNM$SYSTEM_TABLE)

"DECC$CRTLMAP" = "SYS$SHARE:DECC$SHR_EV56"
"DECC$SHR" = "SYS$SHARE:DECC$SHR_EV56"

(LNM$SYSCLUSTER_TABLE)

(DECW$LOGICAL_NAMES)