[pca] Questions on initial setup

little help littlehelphere at gmail.com
Wed Nov 10 01:07:37 CET 2010


I am new to PCA (great tool by the way).  I have been setting up our
environment and been doing some testing and have run into a few
oddities/issues which I need some feedback on.  Any advice is appreciated.

   1. From the pca website it states "*As pca uses the wget command to
   download patches from the patch server, make sure that any specially
   required option is set in /etc/wgetrc or $HOME/.wgetrc*.".  I see the
   options to tell pca where wet resides but nothing to set the wgetrc file.
   Is there a way to do this?  I would like to have one central file that I can
   use for all my servers rather than copying a file locally.
   2. I also notice that wget requires ssl support to work properly. I have
   recompiled wget 1.12 a number of times with ssl support but each time it has
   an issue (only on sparc - x86 works fine). I found a workaround by using an
   older version of wget (1.10.2).  Is there an issue with pca using 1.12?
   3. I have been testing with the --safe flag as well as --pretend to make
   sure there are no issues with patches.  This is due to heavy customization
   for files. Based on the results I save the files and run the install without
   the flags and go back and replace any modified files.  I am wondering if I
   opt to install without the --pretend and simply use --safe what would
   happen.  I know the patches that fail --safe will not get installed.  If I
   go back and install these after would there be any issue with dependencies,
   etc.  Any issues if it is kernel patch>
   4. I have opted to use a local patch server.  When I run my script to
   check the client and download the required patches everything works fine.
   However, when I run a query from the client to download from the local patch
   server it does not see to work.  Rather it complains about file type unknown
   or file not found (404).  See below

109611 -- < 01 -S- 999 Java Plugin 1.2: Product patch for Solaris

Looking for 109611-01 (26/70)
Trying http://foohost/dev/pca-proxy.cgi?
wgetrc: found //.wgetrc
Adding to /tmp/pca.328918: header=X_PCA_USER: <user>
Adding to /tmp/pca.328918: header=X_PCA_PASSWD: <passwd>
/usr/local/bin/wget --progress=dot:binary "
http://foohost/dev/pca-proxy.cgi?109611-01" --timeout 3600 -O
/var/tmp//109611-01.tmp
--13:25:29--  http://foohost/dev/pca-proxy.cgi?109611-01
           => `/var/tmp//109611-01.tmp'
Resolving foohost... xxxx
Connecting to foohost|xxx|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 154,536 (151K) [text/plain]

    0K ................ ..
>
>    100%    3.34 MB/s
>
> 13:25:29 (3.34 MB/s) - `/var/tmp//109611-01.tmp' saved [154536/154536]
>
> Removing /tmp/pca.328918
> Unknown Filetype: /var/tmp//109611-01.tmp
> Failed (unknown file type)
> Trying SunSolve
> Trying https://sunsolve.sun.com/ (1/1)
> wgetrc: found //.wgetrc
> Adding to /tmp/pca.2349: header=Authorization: Basic <base64-user-passwd>
> /usr/local/bin/wget --progress=dot:binary "
> https://sunsolve.sun.com/pdownload.do?target=109611-01&method=h"
> --ca-certificate=/patches/pca/p
> ca -O /var/tmp//109611-01.tmp
> --13:25:29--
> https://sunsolve.sun.com/pdownload.do?target=109611-01&method=h
>            => `/var/tmp//109611-01.tmp'
> Connecting to xxxx:8080... connected.
> Proxy request sent, awaiting response... 302 Moved Temporarily
> Location: https://getupdates2.sun.com/all_unsigned/109611-01.zip[following]
> --13:25:32--  https://getupdates2.sun.com/all_unsigned/109611-01.zip
>            => `/var/tmp//109611-01.tmp'
> Connecting to xxxx:8080... connected.
> Proxy request sent, awaiting response... 302 Moved Temporarily
> Location:
> https://a248.e.akamai.net/f/248/21808/15m/sun.download.akamai.com/21808/patches/patchroot/all_unsigned/109611-01.zip?AuthParam=12
>
> 88891629_090789af25fdfddaf9c6b4d326c0e655&TicketId=C11a%2BEaJWlU%3D&GroupName=SWUP&FilePath=/21808/patches/patchroot/all_unsigned/109611-01
> .zip&File=109611-01.zip [following]
> --13:25:38--
> https://a248.e.akamai.net/f/248/21808/15m/sun.download.akamai.com/21808/patches/patchroot/all_unsigned/109611-01.zip?AuthPara
>
> m=1288891629_090789af25fdfddaf9c6b4d326c0e655&TicketId=C11a%2BEaJWlU%3D&GroupName=SWUP&FilePath=/21808/patches/patchroot/all_unsigned/10961
> 1-01.zip&File=109611-01.zip
>            => `/var/tmp//109611-01.tmp'
> Connecting to xxxx:8080... connected.
> Proxy request sent, awaiting response... 200 OK
> Length: 180,570 (176K) [application/zip]
>
>     0K ................ ......                           100%    1.56 MB/s
>
> 13:25:39 (1.56 MB/s) - `/var/tmp//109611-01.tmp' saved [180570/180570]
>  OR
>
>
> ------------------------------------------------------------------------------
> 118667 26 < 28 RS-  31 JavaSE 5.0: update 26 patch (equivalent to JDK
> 5.0u26), 64bit
>
> Looking for 118667-28 (3/43)
> Trying http://foohost/dev/pca-proxy.cgi?
> Failed (Error 404: Not Found)
> Trying SunSolve
> Trying https://sunsolve.sun.com/ (1/1)
> Done
>
> Installing 118667-28 (3/43)
> Unzipping patch
> Checking files for safe patch installation
> Skipped - pretend (15:40:25/00:00:04/00:01:52, 3/43, 0/3/0)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.univie.ac.at/mailman/private/pca/attachments/20101109/b51911ce/attachment.html 


More information about the pca mailing list