Re: cpio errors on install: Bad Magic
Posted in 1997
Yes, I already know that the Informix install instructions are wrong. I've informed Informix of this a number of times some time ago, but they still haven't corrected them. Anyway, the file is called "online.cpi". The "Bad Magic" error doesn't come until quite a number of files have been extracted by `cpio`, so I know I'm at least mounting the CD ok, and that this is not the issue. I tried using the "-k" option (thanks for this suggestion!). This instructs `cpio` to try to skip files with bad headers. Originally the `cpio` would fail after copying a file named "nformbld.iem", and was looking for the next file. After trying to use the "-k" option, `cpio` didn't show any more files after "nformbld.iem", but complained that there was no end of archive marker. So this might have been the problem. I assumed that "nformbld.iem" might have been the last file in the archive and ran `installonline`, and the install seems to have gone ok, and Online is running alright so far. Still, I'm puzzled as to why Informix did not have this error on their Unixware machines when they tested the re-shipped CDs, and I get them consistenly on 3 different machines. > The instrutions are wrong! Do not do > > cpio -icVBum < <device name> > > this only works with tapes which do not have a filesystem on them. > > Instead mount the CD-ROM as another filesystem (E.g. /cdrom), then > do > > ls /cdrom > > and you will probably find a big file on there (E.g. > /cdrom/online7.2) > > > Do > > cpio -icVBum < /cdrom/online7.2 > > or whatever the file is called.... > > The installation instructions need updating now that Informix are > sending out CD-ROM rather then just tapes and floppies (Yes I > have seen and installed Informix from floppy)!. > > -- > David Williams -- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ADDRESS ALTERED TO FOIL SPAMMERS: Remove "*NO-SPAM*" to reply. Cosmo Lee Multi-User Computer Systems Brooklyn, NY "JUST SAY 'NO' TO SPAM" * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *