Renegade
26th February 2002, 20:05
Hello,
I am trying to extract the installation files from a UNIX tape containing BaaNERP5.0c. When I say cpio -icvdB <device path, it says

"Out of phase--get help
probably the "-c" option shouldn't be used"

when i remove "c" from the command, it says
"probably the "-c" option should be used.

I would like to know if anyone have seen this b4 and what was the solution. I am beginning to think if the tape got corrupted.

patvdv
26th February 2002, 23:25
Haven't seen it myself but this might be useful:

Out of phase--get help
Perhaps the 'c' option should[n't] be used

cpio -i could not read the header of an archived file. The header is corrupt or it was written in a different format. Without the R option, cpio returns an exit code of 2.

If no file name has been displayed yet, the problem may be the format. Try specifying a different header format option: null for standard format; c for ASCII; b, s, P, or S, for one of the byte-swapping formats; or 6 for UNIX Sixth Edition.

Otherwise, a header may be corrupt. Use the R option to have cpio attempt to resynchronize the file automatically. Resynchronizing means that cpio tries to find the next good header in the archive file and continues processing from there. If cpio tries to resynchronize from being out of phase, it returns an exit code of 1.

Renegade
27th February 2002, 00:57
yep. i too saw that when i say 'man cpio' in HP UX box.
It didn't help me say -R too.
I am beginning to think that the tape header may be corrupt.
Is it possible? I guess they are right protected. The tape device is perfect.
Thanks anyway

patvdv
27th February 2002, 09:12
Renegade,

I am not so sure that the tapes are write-protected by default.... Makes me think of the following: did you by any chance, accidentally use '>' instead of '<' the first time you accessed the tape?

If not then I would say the header of the tape is buggered up. Did the installation manual clearly say to use 'icvdB' options?

Renegade
27th February 2002, 18:28
Well. I guess I have not done that. But thank God, the tape is on the way from BaaN. Hope it works fine this time. Thanks for ur time

The BaaNERP5.0c default help files are not complete. I have not loaded any SPs. Is there any dump of help file that I can load, without bothering abt SPs?

Thanks

Gerhard
28th February 2002, 08:55
Renegade, on which Unix box do you try to read the tape. There are some incompatibilities with cpio between different plattforms.

Han Brinkman
28th February 2002, 09:21
That what Gerhards tells us is also my experience. You have somethimes to use the option -H odc if you want to read a tape created on another Unix platform.

Han

Renegade
28th February 2002, 15:30
my unix is HP UX 10.20
But I have installed in HPUX 10.20 before, with the same cpio command

Gerhard
28th February 2002, 17:19
If you have an original mastertape from Baan, this should be readable on a HP system always! So it seems, the tape is defect.

Renegade
5th March 2002, 01:25
BaaN sent another tape and it just worked fine.
Thanks for all the support.