2 Replies Latest reply: Nov 23, 2010 7:38 AM by 817812 RSS

    Trying to Upgrade from Patch 121118-13 to 121118-17, fails

    817812
      Due to problems with Update manager not having valid certification :-

      # smpatch analyze
      Failure: Cannot connect to retrieve current.zip: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target


      I tried to upgrade to the latest SunOS 5.10: Update Connection System Client from 21118-13 to 21118-17 but this fails with

      # more /var/sadm/patch/121118-17/log

      This appears to be an attempt to install the same architecture and
      version of a package which is already installed. This installation
      will attempt to overwrite this package.

      /opt/home/cuthbertm/121118-17/SUNWcsmauth/install/checkinstall: /opt/home/cuthbe
      rtm/121118-17/SUNWcsmauth/install/checkinstall: cannot open
      pkgadd: ERROR: checkinstall script did not complete successfully
      Dryrun complete.
      No changes were made to the system.


      Any clues?

      Regards

      Mark
        • 1. Re: Trying to Upgrade from Patch 121118-13 to 121118-17, fails
          817812
          I managed to figure out this was a permissions issue and have successfully upgraded to 21118-17, but I still cannot get smpatch to connect to the update server without getting the following message:-

          # smpatch analyze -C patchpro.log.level=3 -C patchpro.debug=true
          Effective proxy host : "inetproxy"
          Effective proxy port : "8080"
          Effective proxy user : ""
          Last Modified Date read: Thu Jan 01 01:00:00 GMT 1970
          ... Submitting download request against a GUUS server
          ... ... Hostname of URL is getupdates1.sun.com
          ... ... Filename of URL is /xml/motd.xml
          ... ... File path portion of URL is /xml/motd.xml
          Defining request header : IF_MODIFIED_SINCE... valueThu Jan 01 01:00:00 GMT 1970
          Key 1 : Server = Oracle-iPlanet-Web-Server/7.0
          Key 2 : Date = Tue, 23 Nov 2010 13:07:13 GMT
          Key 3 : Content-disposition = attachment; filename=xml/motd.xml
          Key 4 : Content-type = text/xml
          Key 5 : Content-length = 10513
          Last Modified Date value written to /var/sadm/spool/cache/xml/https%3A%2F%2Fgetupdates1.sun.com%2F%2Fmotd.xml.lmd is 0
          Date format for this value: Thu Jan 01 01:00:00 GMT 1970
          Last Modified Date file updated : /var/sadm/spool/cache/xml/https%3A%2F%2Fgetupdates1.sun.com%2F%2Fmotd.xml.lmd
          Last Modified Date read: Thu Jan 01 01:00:00 GMT 1970
          ... Submitting download request against a GUUS server
          ... ... Hostname of URL is getupdates1.sun.com
          ... ... Filename of URL is /xml/motd.xml
          ... ... File path portion of URL is /xml/motd.xml
          Defining request header : IF_MODIFIED_SINCE... valueThu Jan 01 01:00:00 GMT 1970
          Key 1 : Server = Oracle-iPlanet-Web-Server/7.0
          Key 2 : Date = Tue, 23 Nov 2010 13:07:14 GMT
          Key 3 : Content-disposition = attachment; filename=xml/motd.xml
          Key 4 : Content-type = text/xml
          Key 5 : Content-length = 10513
          Last Modified Date value written to /var/sadm/spool/cache/xml/https%3A%2F%2Fgetupdates1.sun.com%2F%2Fmotd.xml.lmd is 0
          Date format for this value: Thu Jan 01 01:00:00 GMT 1970
          Last Modified Date file updated : /var/sadm/spool/cache/xml/https%3A%2F%2Fgetupdates1.sun.com%2F%2Fmotd.xml.lmd
          Effective proxy host : "inetproxy"
          Effective proxy port : "8080"
          Effective proxy user : ""
          Effective proxy host : "inetproxy"
          Effective proxy port : "8080"
          Effective proxy user : ""
          ... Submitting download request against a GUUS server
          ... ... Hostname of URL is getupdates1.sun.com
          ... ... Filename of URL is /detector/detectors.jar
          ... ... File path portion of URL is /detector/detectors.jar
          ... Submitting download request against a GUUS server
          ... ... Hostname of URL is getupdates1.sun.com
          ... ... Filename of URL is /database/current2.zip
          ... ... File path portion of URL is /database/current2.zip
          Defining request header : IF_MODIFIED_SINCE... valueThu Jan 01 01:00:00 GMT 1970
          Defining request header : IF_MODIFIED_SINCE... valueThu Jan 01 01:00:00 GMT 1970
          Failure: Cannot connect to retrieve current2.zip: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
          • 2. Re: Trying to Upgrade from Patch 121118-13 to 121118-17, fails
            817812
            I found the following


            http://192.9.162.102/thread.jspa?threadID=5385865&tstart=0

            but as I am behind a proxy I cannot seem to get InstalCert to work:-

            # java InstallCert getupdates1.sun.com
            Loading KeyStore /usr/jdk/instances/jdk1.5.0/jre/lib/security/cacerts...
            Opening connection to getupdates1.sun.com:443...
            Exception in thread "main" java.net.UnknownHostException: getupdates1.sun.com
            at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
            at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
            at java.net.Socket.connect(Socket.java:520)
            at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:545)
            at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:348)
            at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:69)
            at InstallCert.main(InstallCert.java:83)
            # java InstallCert 192.18.110.14
            Loading KeyStore /usr/jdk/instances/jdk1.5.0/jre/lib/security/cacerts...
            Opening connection to 192.18.110.14:443...
            Exception in thread "main" java.net.ConnectException: Connection refused
            at java.net.PlainSocketImpl.socketConnect(Native Method)
            at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
            at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
            at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
            at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
            at java.net.Socket.connect(Socket.java:520)
            at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:545)
            at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:348)
            at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:69)
            at InstallCert.main(InstallCert.java:83)