10 Replies Latest reply: Sep 21, 2009 12:23 AM by 807567 RSS

    Cannot connect to retrieve current2.zip: You are not authorized to access

    807567
      Hi,

      I have tried to search the forum for help, but I'm still unable to patch my account.

      My Solaris version is:
      SunOS sun0 5.10 Generic_139556-08 i86pc i386 i86pc
      I have been successful in registering my Solaris using:
      sconadm register -a -r  /tmp/RegistrationProfile.properties
      But when trying to run the
      smpatch analyze
      I get
      Failure: Cannot connect to retrieve detectors.jar: You are not authorized to access this service.
      or this
      Failure: Cannot connect to retrieve current2.zip: You are not authorized to access this service.
      It changes back and forth between these two.

      I have no gui installed on the box, so using updatemanager is not an option.

      Btw - I have no subscription key in my registration file. But I guess I should be able to download security patches.

      Any help would be appreciated.

      Regards,
      Flemming B.

      Edited by: iportalenn on Jul 22, 2009 12:51 PM
        • 1. Re: Cannot connect to retrieve current2.zip: You are not authorized to acce
          807567
          This could be due to several issues. I hope you have a valid sun online account.
          Remove your sensitive data and run the suc scrip, posting the output.
          • 2. Re: Cannot connect to retrieve current2.zip: You are not authorized to acce
            807567
            Hi there,

            having the same issue here. We've been building servers for the past week or so, all identical servers, the ones last week patched just fine, the ones this week are throwing the "You are not authorized to access this service."

            Here's the output of suc.sh

            User: root
            Logname: root
            Thu Jul 23 11:36:35 EDT 2009
            ng-scan01


            smpatch settings:

            patchpro.backout.directory - ""
            patchpro.baseline.directory - /var/sadm/spool
            patchpro.download.directory - /var/sadm/spool
            patchpro.install.types - rebootafter:reconfigafter:standard
            patchpro.patch.source https://getupdates.sun.com/ https://getupdates1.sun.com/
            patchpro.patchset - current
            patchpro.proxy.host - ""
            patchpro.proxy.passwd **** ****
            patchpro.proxy.port - 8080
            patchpro.proxy.user - ""


            smpatch analyze:

            Failure: Cannot connect to retrieve detectors.jar: You are not authorized to access this service.


            Entitlement:



            Sun UC patch revision:

            120335-04
            121081-06
            121118-09
            121118-13
            121453-02
            122231-01
            123003-02
            123003-03
            123005-05
            123005-07
            123630-01
            123630-03
            124171-03
            124171-07
            124614-01
            138064-02


            Solaris release:

            Solaris 10 11/06 s10s_u3wos_10 SPARC
            Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
            Use is subject to license terms.
            Assembled 14 November 2006


            Solaris Kernel: Generic_137111-03
            Machine Type: sun4v
            Platform: SUNW,SPARC-Enterprise-T1000


            Java versions:



            System default:

            java version "1.5.0_07"
            Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
            Java HotSpot(TM) Server VM (build 1.5.0_07-b03, mixed mode)


            Java 5:

            java version "1.5.0_07"
            Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
            Java HotSpot(TM) Server VM (build 1.5.0_07-b03, mixed mode)


            Java 6:

            Unable to locate JRE meeting specification "1.6*"

            Java used by smpatch and updatemanager:

            /usr/sbin/pprosvc:JAVACMD="/usr/jdk/latest/bin/java -version:1.5+"
            /bin/updatemanager:JAVA_EXEC="/usr/jdk/latest/bin/java -version:1.5+"


            Cacao Java version:

            java-home=/usr/jdk/jdk1.5.0_07


            Cacao Base Directories:

            cacao.install.rt.base.dir=/
            cacao.install.etc.base.dir=/


            Software Cluster:

            CLUSTER=SUNWCXall


            All ccr properties:

            18:

            cns.assetid:
            36HaMSrVGQlwX+Mt99iYkbUF3G8=

            cns.br.SunUCenabled:
            true

            cns.ccr.keyGenPath:
            /usr/lib/cc-ccr/bin/ccrKeyGen

            cns.clientid:
            93fad82e-c8d6-4c8a-a80d-3677329aa71d

            cns.httpproxy.auth:


            cns.httpproxy.ipaddr:


            cns.httpproxy.port:


            cns.regtoken:
            59a20df5-f3ba-4eb7-b909-ced7584cfa2c:1279929600000:T

            cns.security.password:
            2Vs+rFW/3isjE5hRK1XAAOPmpRA3mfQTM8O7ImKod302

            cns.security.privatekey:
            -----BEGIN ENCRYPTED PRIVATE KEY-----
            MIICxjBABgkqhkiG9w0BBQ0wMzAbBgkqhkiG9w0BBQwwDgQI1EUrWRusJK4CAggA
            MBQGCCqGSIb3DQMHBAia7nnJiU+PrQSCAoCz3rWo1JvzU//dlWO5VsfHnsYdsY1m
            5HLSAXCeTsJaya8Xo51cYFZvh9ViM3mpR6DAJY4eQMcKI6mjPN7zilQApF6cLDTj
            TazlLriKc8lHWMif4pM6tIdiY4ObnkGszZ9eCbFMj3Yth+zcEIe1bLtqr2o2HlGh
            oAjgsee8ZU5jTsvJGs8j4M/ktGV2fPlmCICLJ9LQ8qY3UHSyep7yTnATKMpj5R
            bayD9ZoTYuHYb2DkVSH2w2B4pMn3/ndiyasDKSR0mHf16RwsairvUkEQZa9bmNqG
            IRA1sVpmXfpB8pXfOxczKakv7X25+yk+eLJPrGdLQid7QsGsp7LgiWj3oNZTgiqe
            iAungX8ilsQdQuX9kM8Nqq88AbbeRDelf28hbLzprUa+yI/4djIrdkmIOBQF0P5r
            EeL5Wh0+sn121wPksXaRKjCUlvCMEDZ9lvjOliKc7/nbM14FDCr1DH8PHOROfAUv
            NEwFXckiXOIfg2lZ0N46B6g7kZLxJNHGvP7aK5R6HrZ+5v5RTXlfPU0hSx84ujhG
            AZLtsU0Q5Fk9OEpXm1WRvo/NmagegmefIVb0JQacvXsAof/1qo8/7ILnEF1dkPg+
            wC3DC+Ib91caap435e44FX4YMFIwFmGTU6PQH0IM/MYpIVbrfq11wiMpOhHMjsr4
            SCjBO5aHXNe8g/kIdP2JZoB5+B+4LAQ19DmpOOQCh4geCoGDb+6mnGB2aiBQKJhG
            1HH8cLIymwtJsTC2kIPHrV8u/Rg783NE9Q6d7/aeXqEgytWfEGSYYmbB9i2y0hXx
            uVHL5nqJBLVp8gKlVLTkr4J8vM/7ux96B/v21ZncwMclTw/aDLnroR3X
            -----END ENCRYPTED PRIVATE KEY-----


            cns.security.publickey:
            -----BEGIN PUBLIC KEY-----
            MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD6FcQtUta+hgwoqjqrmF36DnXg
            3ChrkxBw7NWeZecOAJdT8pshUaAcpfQiTcDyIHmSMYYNiu+9DDw3ymFKsSK9s5w1
            X2W2VsWG8j3Toa5qwdvLJxiYfkeCJy10DkNdt89W4cLFPUlRRtHc4W1VRo6hrLsw
            chN4I6v1DJSxNLtpKQIDAQAB
            -----END PUBLIC KEY-----


            cns.swup.UMautolaunch:
            false

            cns.swup.autoAnalysis.enabled:
            true

            cns.swup.checkinInterval:
            2

            cns.swup.lastCheckin:
            0

            cns.swup.patchbaseline:
            current

            cns.swup.regRequired:
            true

            cns.transport.serverurl:
            https://cns-transport.sun.com



            Sun UC package status:

            SUNWbreg not installed
            SUNWdc not installed


            Services in maintenance/disabled state:
            • 3. Re: Cannot connect to retrieve current2.zip: You are not authorized to acce
              807567
              You are down rev. on these patchs:
              121118-16
              123893-15

              download and install them.
              Once this has been done I would suggest that you clear out any files from the
              cache directory to be on the safe side:

              # find /var/sadm/spool/cache -type f -exec rm {} \;

              If you are still having problems, then let us have the following files:

              # /tmp/basicreg<timestamp>.log
              # /var/cacao/instances/default/logs/cacao.0
              • 4. Re: Cannot connect to retrieve current2.zip: You are not authorized to acce
                807567
                I too hope I have a valid sun account. Is there any way for me to confirm this? It seems to me I just need to create an standard account. I use the same account for patching my server as I use for this forum.

                I ran the script and got the following output
                User:
                Logname: root
                tirsdag den 28. juli 2009 20.59.29 CEST
                sun0
                
                
                smpatch settings:
                
                patchpro.backout.directory      -       ""
                patchpro.baseline.directory     -       /var/sadm/spool
                patchpro.download.directory     -       /var/sadm/spool
                patchpro.install.types          -       rebootafter:reconfigafter:standard
                patchpro.patch.source           -       https://getupdates1.sun.com/
                patchpro.patchset               -       current2
                patchpro.proxy.host             -       ""
                patchpro.proxy.passwd           ****    ****
                patchpro.proxy.port             -       8080
                patchpro.proxy.user             -       ""
                
                
                smpatch analyze:
                
                Failure: Cannot connect to retrieve current2.zip: You are not authorized to access this service.
                
                
                Entitlement:
                
                cat: cannot open /var/sadm/spool/cache/entitlement/*entitlement_client
                
                
                Sun UC patch revision:
                
                120336-04
                121082-06
                121082-08
                121119-16
                121454-02
                123004-03
                123006-07
                123631-03
                123896-05
                123896-15
                124187-07
                137138-09
                
                
                Solaris release:
                
                                        Solaris 10 5/09 s10x_u7wos_08 X86
                           Copyright 2009 Sun Microsystems, Inc.  All Rights Reserved.
                                        Use is subject to license terms.
                                             Assembled 30 March 2009
                
                
                Solaris Kernel: Generic_139556-08
                Machine Type: i86pc
                Platform: i86pc
                
                
                Java versions:
                
                
                
                System default:
                
                java version "1.5.0_17"
                Java(TM) Platform, Standard Edition for Business (build 1.5.0_17-b04)
                Java HotSpot(TM) Server VM (build 1.5.0_17-b04, mixed mode)
                
                
                Java 5:
                
                java version "1.5.0_17"
                Java(TM) Platform, Standard Edition for Business (build 1.5.0_17-b04)
                Java HotSpot(TM) Server VM (build 1.5.0_17-b04, mixed mode)
                
                
                Java 6:
                
                Unable to locate JRE meeting specification "1.6*"
                
                
                Java used by smpatch and updatemanager:
                
                /usr/sbin/pprosvc:JAVACMD="/usr/jdk/latest/bin/java -version:1.5+"
                /bin/updatemanager:JAVA_EXEC="/usr/jdk/latest/bin/java -version:1.5+"
                
                
                Cacao Java version:
                
                java-home=/usr/jdk/jdk1.5.0_17
                
                
                Cacao Base Directories:
                
                cacao.install.rt.base.dir=/
                cacao.install.etc.base.dir=/
                
                
                Software Cluster:
                
                CLUSTER=SUNWCreq
                
                
                All ccr properties:
                
                18:
                Property not defined: 18
                
                cns.assetid:
                0J6stmPypOw8KNn6fnmG+QXAe/Y=
                
                cns.br.SunUCenabled:
                true
                
                cns.ccr.keyGenPath:
                /usr/lib/cc-ccr/bin/ccrKeyGen
                
                cns.clientid:
                481a487d-00dc-432e-8058-9f04b5d4c148
                
                cns.httpproxy.auth:
                
                
                cns.httpproxy.ipaddr:
                
                
                cns.httpproxy.port:
                
                
                cns.regtoken:
                e29884b5-86d5-4528-92b5-e15c1809fdaf:1279843200000:T
                
                cns.security.password:
                --Removed --
                
                cns.security.privatekey:
                -- Removed --
                
                cns.security.publickey:
                -----BEGIN PUBLIC KEY-----
                MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCeuU8Q4jNfHaD1po1y/v4o/MY+
                RC4yBJsFCDRLxaxSCacnbEt5Zx+LInqFhDCFO4B+GOZ6t63grEadsVD4bZ2Tbcog
                GvDHS6+Yw7Svn6bGcDsHLdLYstII7qoWEHQDIs3biCi9sIbg4eaHze97iDhK5gVM
                d///3wXmkXC6wzNrDwIDAQAB
                -----END PUBLIC KEY-----
                
                
                cns.swup.UMautolaunch:
                false
                
                cns.swup.autoAnalysis.enabled:
                true
                
                cns.swup.checkinInterval:
                2
                
                cns.swup.lastCheckin:
                0
                
                cns.swup.patchbaseline:
                current
                
                cns.swup.regRequired:
                true
                
                cns.transport.serverurl:
                https://cns-transport.sun.com
                
                
                
                patchsvr not installed.
                
                
                
                Sun UC package status:
                
                SUNWadmfr not installed
                SUNWbreg not installed
                SUNWctpls not installed
                SUNWdc not installed
                SUNWj5rtx not installed
                SUNWmfrun not installed
                SUNWpoolr not installed
                SUNWxwfnt not installed
                SUNWxwice not installed
                SUNWxwplt not installed
                SUNWxwrtl not installed
                
                
                Services in maintenance/disabled state:
                Thanks for any help you can provide

                Regards,
                Flemming B
                • 5. Re: Cannot connect to retrieve current2.zip: You are not authorized to acce
                  807567
                  I am not sure that you are seeing the same problem; you appear to be missing some packages. I would suggest that you install the following packages:
                  SUNWadmfr
                  SUNWctpls
                  SUNWj5rtx
                  SUNWmfrun
                  SUNWpoolr
                  The SUNWxw* packages are only required if you want to run updatemanager. SUNWdc and SUNWbreg are not required (note that SUNWbreg was superseded by SUNWbrg).
                  • 6. Re: Cannot connect to retrieve current2.zip: You are not authorized to acce
                    807567
                    Good Day!
                    I think, I have the same problem. Maybe I need to install more patches to get smpatch working?

                    # ./suc.sh
                    User:
                    Logname: root
                    Thu Jul 30 14:27:12 MSD 2009
                    pmcm3


                    smpatch settings:

                    patchpro.backout.directory - ""
                    patchpro.baseline.directory - /var/sadm/spool
                    patchpro.download.directory - /var/sadm/spool
                    patchpro.install.types - rebootafter:reconfigafter:standard
                    patchpro.patch.source - https://getupdates1.sun.com/
                    patchpro.patchset - current2
                    patchpro.proxy.host spbext2.eme.pwrm ""
                    patchpro.proxy.passwd **** ****
                    patchpro.proxy.port 8080 8080
                    patchpro.proxy.user powerm\\tubalov_ds ""


                    smpatch analyze:

                    Failure: Cannot connect to retrieve current2.zip: You are not authorized to access this service.


                    Entitlement:

                    cat: cannot open /var/sadm/spool/cache/entitlement/*entitlement_client


                    Sun UC patch revision:

                    120335-04
                    121081-06
                    121118-13
                    121118-16
                    121453-02
                    122231-01
                    123003-03
                    123005-07
                    123630-03
                    123893-05
                    124171-07
                    137137-09


                    Solaris release:

                    Solaris 10 10/08 s10s_u6wos_07b SPARC
                    Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
                    Use is subject to license terms.
                    Assembled 27 October 2008


                    Solaris Kernel: Generic_137137-09
                    Machine Type: sun4u
                    Platform: SUNW,Ultra-250


                    Java versions:



                    System default:

                    java version "1.5.0_16"
                    Java(TM) Platform, Standard Edition for Business (build 1.5.0_16-b02)
                    Java HotSpot(TM) Client VM (build 1.5.0_16-b02, mixed mode, sharing)


                    Java 5:

                    java version "1.5.0_16"
                    Java(TM) Platform, Standard Edition for Business (build 1.5.0_16-b02)
                    Java HotSpot(TM) Client VM (build 1.5.0_16-b02, mixed mode, sharing)


                    Java 6:

                    Unable to locate JRE meeting specification "1.6*"


                    Java used by smpatch and updatemanager:

                    /usr/sbin/pprosvc:JAVACMD="/usr/jdk/latest/bin/java -version:1.5+"
                    /bin/updatemanager:JAVA_EXEC="/usr/jdk/latest/bin/java -version:1.5+"


                    Cacao Java version:

                    java-home=/usr/jdk/jdk1.5.0_16


                    Cacao Base Directories:

                    cacao.install.rt.base.dir=/
                    cacao.install.etc.base.dir=/


                    Software Cluster:

                    CLUSTER=SUNWCreq


                    All ccr properties:

                    18:
                    Property not defined: 18

                    cns.assetid:
                    Kt4JKMdAv1+i7kFHbSwmXhCvcEc=

                    cns.br.SunUCenabled:
                    true

                    cns.ccr.keyGenPath:
                    /usr/lib/cc-ccr/bin/ccrKeyGen

                    cns.clientid:
                    bef9e5da-6d67-47a5-9175-d0a14d9ff7f9

                    cns.httpproxy.auth:
                    powerm\tubalov_ds:zaxoX27hy

                    cns.httpproxy.ipaddr:
                    spbext2.eme.pwrm

                    cns.httpproxy.port:
                    8080

                    cns.regtoken:
                    dc81bf72-b183-48ab-9cb2-cd12b1ce5669:1280448000000:T

                    cns.security.password:
                    nVg5PzR2urTiGa530bnm13dAQ7wTMtKanY55AR9GQ7j3

                    cns.security.privatekey:
                    -----BEGIN ENCRYPTED PRIVATE KEY-----
                    MIICxjBABgkqhkiG9w0BBQ0wMzAbBgkqhkiG9w0BBQwwDgQIhzsFaNrn394CAggA
                    MBQGCCqGSIb3DQMHBAheZQVPlihTlQSCAoBkOZJLO2ESIJszK24aoF1c5TMG49Wi
                    WKhoPrW/QBRjR1ZQkSFumM1qAoYhAhLZiN3Sv2dkLoTcFfAKyXqpAwIqT9VYI4AH
                    oAj4ayU+7RaolfZazK09txgCnOovoKVi0f5fBZrBVJOl65BaostguhWicri7Uy80
                    TvwFKcMb3xTyATw1poJnohlv6WmdVYMjwztiSOudJTooYown8dAwuwOs6zTAszPP
                    s/bNo6kOFRKcPJA9+eGPTgddwDlFEJ5IOZUXiI7fKWnpLHhSe9YduNLHUsYx/ND5
                    RCNOIr9ZRuGCHN8LeU395HPQs6DN130lghXB3SHN0D7X0qS98lZKWIOmGGP7nU+B
                    LRn9b8XVqwmWOeG4VYRANy6LWnNGrDEgvp4YoUmnCgYKrpcvamCalxs6nWHH+mmo
                    7uIoDzTWxHjtJt0CP3Ldm67ZhgrGg5EMldlCc1LYybl7VWYQx9Bn5RXmsgz+BkUR
                    J89LJfrRa857hQuBbMdPpAh+xVHPnOiTYPMH3KyQoav/o/WcunTOTjAEZV+Iho/H
                    ymnEB5kNcsdCH0hw0wLbN9txjETousbfAY0l+vAAvkRRrp+XGRSxi3W2/JdXGM0W
                    DJWyCkS/AJc3D3BEgemQqTq/QGmSUfRIIzzsxgb5JAbyvwOiY2K0Wjh7eyacDkwF
                    CX3XfGgH8szytF5wvF9RpTcD0i6W3yEpWsmko/pvs/0bzgmjlNE3Su2WrSkIPQCu
                    H+mwUPu9574g/tS/AY0EqMZ03reg2hKaLT9jfKw8C6g7q8hvbfn4JVpcHMd9l+In
                    GXJ1JCzkSexKpVbYCZDM1ufVF6C0+KKxSJIz5QFu4TFLiuPKDM+fJlHU
                    -----END ENCRYPTED PRIVATE KEY-----


                    cns.security.publickey:
                    -----BEGIN PUBLIC KEY-----
                    MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEczoDZ6YNIIajwdef+I5Y3+Fk
                    oHxsf/v1RsXak1U9vMIwetbo4BZzQn1F5L9sI1vjfc2dBQmjyg5zmTijrogCb+ck
                    luWtwd+SfIJMVXEfkH+lM4DXxihrU23SGGbACJZlTM8+xwOdjpLgUCZqPExorO+H
                    lu2139h0C1IMzGCIYwIDAQAB
                    -----END PUBLIC KEY-----


                    cns.swup.UMautolaunch:
                    false

                    cns.swup.autoAnalysis.enabled:
                    true

                    cns.swup.checkinInterval:
                    2

                    cns.swup.lastCheckin:
                    0

                    cns.swup.patchbaseline:
                    current

                    cns.swup.regRequired:
                    true

                    cns.transport.serverurl:
                    https://cns-transport.sun.com



                    patchsvr not installed.



                    Sun UC package status:

                    SUNWbreg not installed
                    SUNWdc not installed


                    Services in maintenance/disabled state:



                    Please attach /tmp/pmcm3-300709-suc-out.Z in your reply to the Sun Update Connection Technical Support Team.
                    • 7. Re: Cannot connect to retrieve current2.zip: You are not authorized to access
                      807567
                      Has anyone actually resolved this?

                      Exact errors here. Have added suggested patches, added patch_cluster, de and re registered the system. I can't believe this isnt fixed. Seem brutal, just need patches.
                      • 8. Re: Cannot connect to retrieve current2.zip: You are not authorized to access
                        807567
                        The issue encountered here may be related to a backend issue that is affecting a limited number of user accounts. This is currently being treated as a high priority but unfortunately it is taking longer than expected to fix.

                        Re-registering systems with a brand new Sun Online Account may workaround the problem for now.
                        • 9. Re: Cannot connect to retrieve current2.zip: You are not authorized to acce
                          807567
                          Having the same issue here, but it is also causing issues for our Sun Ray Server installation as well....

                          Has this been resolved?

                          Thanks,

                          Matt
                          • 10. Re: Cannot connect to retrieve current2.zip: You are not authorized to acce
                            807567
                            The fix is in progress, hopefully will not be much longer before it is in place.