Technical article 115122

ARCserve 2.2.0m, Getting Dynamic Linker: cpio: error opening /usr/lib/libsocket.so.2 when restoring.

OpenServer 5.0.6

Written · Last revised

Problem

I have applied the OpenServer Release Supplement 506a (RS506A) and have installed ARCserve 2.2.0m. I have used ARCserve to generate my Emergency Recovery Disks and have backed up my server using ARCserve. When trying to restore my data to the server, I am get:

Mounting root filesystem (/dev/hd0root) on /mnt ... Done. Mounting boot filesystem (/dev/boot) on /mnt/stand ... Done. Mounting the other filesystems Recovering files from tape session 1 dynamic linker: cpio: error opening /usr/lib/libsocket.so.2 /bin/as_cmd: 101 killed

Please press <Enter> to return to ARCserve.

Cause

/bin/cpio now requires the following libraries:
# ldd /bin/cpio
dynamic linker: cpio: file loaded: /lib/libprot.so.1
dynamic linker: cpio: file loaded: /usr/lib/libsocket.so.2
dynamic linker: cpio: file loaded: /usr/lib/libc.so.1
dynamic linker: cpio: file loaded: /usr/lib/libresolv.so.1

The library /usr/lib/libsocket.so.2 is not put onto the floppy disk during the Emergency Recovery Disk creation.

Solution

The original "cpio" (ie. prior to the installation of the RS506A Supplement) in:

/opt/K/SCO/Unix/5.0.6Ga/.softmgmt/patchBackup/5.0.6Ga/bin/cpio

does not exhibit this problem as it requires fewer libraries.

To add the required libraries to the ARCserve Emergency Recovery Set:

Use your favorite editor to modify:
/usr/lib/arcboot/.mkfuncs
and add:
./usr/lib/libsocket.so.2
./usr/lib/libresolv.so.1
at the section which starts:
# The following is a list of core utils that must be placed on the
# root floppy filesytem.
core_utils="
./usr/lib/libc.so.1
./usr/lib/libsocket.so.1
./usr/lib/librpcsvc.so

You should then be able to use "scoadmin" and select "SCO ARCserve/OPEN" -> Manager -> Utilities -> Create Recovery Disk Set.

NOTE:     You will not be able to use the CHARM version of "SCO ARCserve/OPEN".
          You will get the error message:
error: can't open display
(\)  Error while executing: 'SCO ARCserve/Open',
(exit code 1)

Emergency Recovery should also work with Emergency Recovery Disks created before RS506A was installed.

You will not be able to install the patch APP618A with version 2.2.0m
of ARCserve, which is available on the Optional Services Aug 2000 CD
(049-911-109/049-920-109).  The fixes for APP618a are included in
2.2.0m of ARCserve.

This patch is for 2.2.0k version only, which is available on the Optional Services Jun 1999 CD (049-911-108/049-920-108).

See also

ta100099, "ARCserve causes the system to slow to an unusable state."

ta110887, "What issues are addressed by SLS APP618A, the SCO ARCserve/Open 2.2.0 Maintenance Supplement for SCO OpenServer 5?"

ta112505, "Additional Notes on Emergency Recovery for SCO OpenServer
5.0.6."

ta113702, "'cpio' fails to work when running the system off boot/root floppies on OpenServer 5.0.6 with rs506a installed."

ta114161, "Kernel is too large to fit on a boot diskette, which causes the creation of emergency boot and root floppies to fail."

http://<your_server>:457/archome.html

From the Xinuos technical article database, record 115122. Reproduced with permission. The original is at www.sco.com/ta/115122, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.