1 Reply Latest reply on Nov 10, 2009 10:20 PM by 807559

    Patchadd failure - non-global zones

    807559
      Hi there

      Having issues running patchadd. Can't find libcrypto.so.0.9.7. The file exists and have attempted using crle and LD_LIBRARY_PATH to point patchadd in the right direction. This occurs when zones in a halted state. If I start zones then patchadd works OK, however not an option when trying to install patch bundle.

      Note, we do have openssh & openssl installed which use libcrypto.so.0.9.8
      Preparing checklist for non-global zone check...
      
      Checking non-global zones...
      
      ld.so.1: pdo: fatal: libcrypto.so.0.9.7: open failed: No such file or directory
       Non-global zone check failed. No change made to the System.                   
      Patchadd exiting.                                                              
      Any suggestions?

      Cheers

      Garry
        • 1. Re: Patchadd failure - non-global zones
          807559
          After much trial and error located the problem.

          It would seem that when patching non-global zones, Solaris 10 sets up a "live upgrade environment" in which various directories are mounted over temporary "lu" mount points. Sorry, no longer have a screen dump. When patchadd was failing the zone was left in a state of "mounted" - (rectified by running zoneadm -z zonename unmount). While in this mounted state, I could zlogin and run an ldd on patchadd (ldd `which patchadd`). This resulted in libcrypto.so.0.9.7 pointing to "file not found".

          The cause of this was due to Openssh & Openssl being installed over the standard distribution. Copied libcrypto.so.0.9.7 from /usr/sfw/lib to /usr/lib and problem went away