Hi everyone, After much heartbreak trying to get solaris patching software working in a manner that did not crash my servers I found links to PCA on the web. As far as I can see the general consensus seems to be that this is the best way to manage solaris patching. I have therefore downloaded the script and it works find when scanning my servers but I cannot seem to get it to download patches from sunsolve.com.
As I am only staring with PCA I have kept everything simple for now. The contents of my /etc/pca.conf file are as follows: user=%SOA username% passwd=%password_for_above% wget=/usr/sfw/bin/wget wgetproxy=http://address_of_proxy_server:8080 A simple pretend install of missing security patches produces the following output. It is probable that I'm missing something simple but I can't see it. I would therefore be grateful for any help. Thanks # ./pca -I missings -V Option install: 1 Option pretend: 1 Option patchdir: /pca.sh/. Option user: %username% Option passwd: %password% Option wget: /usr/sfw/bin/wget Option wgetproxy: --execute http_proxy=http://address_of_proxy_server:8080 Option debug: 1 Option wgetq: ARGV: missings Version: 20080519-01 Config files: ./../etc/pca.conf /etc/pca.conf Using /usr/sfw/bin/wget (1.9.1, 10901) Prerequisites for threads not met, setting threads to 0 Never update Expanded patch list: missings xref now : Wed May 21 11:55:31 2008 xref current: Wed May 21 11:19:24 2008 xref age : 2167 Local file /var/tmp/patchdiag.xref is up to date Reading from /usr/bin/showrev -p Using /var/tmp/patchdiag.xref from May/20/08 118860-01 required by 125720: obsolete, replaced with 119859-02 119859-02 required by 125720: obsolete, replaced with 118844-19 118844-19 required by 125720: obsolete, replaced with 118855-36 118855-36 required by 125720: already installed 120202-05 required by 125720: already installed 123614-01 required by 125720: already installed 118855-36 required by 127854: already installed 120012-14 required by 127854: already installed 118855-36 required by 128307: already installed 120012-14 required by 128307: already installed 118855-36 required by 128412: already installed Host: rossini (SunOS 5.10/Generic_127128-11/i386/i86pc) List: missings Patch IR CR RSB Age Synopsis ------ -- - -- --- --- ------------------------------------------------------- 116299 08 < 20 -S- 729 Sun One Application Server 7.0_x86: Java API for XML Parsing 1.2 P Downloading 116299-20 (1/8) Trying http://sunsolve.sun.com/ (1/1) --11:55:33-- http://sunsolve.sun.com/pdownload.do?target=116299-20&method=h => `/pca.sh/./116299-20.tmp' Resolving address_of_proxy_server... x.x.x.x Connecting to address_of_proxy_server[x.x.x.x]:8080... connected. Proxy request sent, awaiting response... 401 Unauthorized 11:55:34 ERROR 401: Unauthorized. Failed Failed (patch not found) Installing 116299-20 (1/8) Failed (missing patch file) ------------------------------------------------------------------------ ------ 119901 04 < 05 -S- 1 GNOME 2.6.0_x86: Gnome libtiff - library for reading and writing T Downloading 119901-05 (2/8) Trying http://sunsolve.sun.com/ (1/1) --11:55:34-- http://sunsolve.sun.com/pdownload.do?target=119901-05&method=h => `/pca.sh/./119901-05.tmp' Resolving address_of_proxy_server... x.x.x.x Connecting to address_of_proxy_server[x.x.x.x]:8080... connected. Proxy request sent, awaiting response... 401 Unauthorized 11:55:34 ERROR 401: Unauthorized. Failed Failed (patch not found) Installing 119901-05 (2/8) Failed (missing patch file) ------------------------------------------------------------------------ ------ 120095 04 < 19 RS- 15 X11 6.6.2_x86: xscreensaver patch Downloading 120095-19 (3/8) Trying http://sunsolve.sun.com/ (1/1) --11:55:34-- http://sunsolve.sun.com/pdownload.do?target=120095-19&method=h => `/pca.sh/./120095-19.tmp' Resolving address_of_proxy_server... x.x.x.x Connecting to address_of_proxy_server[x.x.x.x]:8080... connected. Proxy request sent, awaiting response... 401 Unauthorized 11:55:34 ERROR 401: Unauthorized. Failed Failed (patch not found) Installing 120095-19 (3/8) Failed (missing patch file) ------------------------------------------------------------------------ ------ 125720 20 < 21 RS- 5 X11 6.8.0_x86: Xorg server patch Downloading 125720-21 (4/8) Trying http://sunsolve.sun.com/ (1/1) --11:55:34-- http://sunsolve.sun.com/pdownload.do?target=125720-21&method=h => `/pca.sh/./125720-21.tmp' Resolving address_of_proxy_server... x.x.x.x Connecting to address_of_proxy_server[x.x.x.x]:8080... connected. Proxy request sent, awaiting response... 401 Unauthorized 11:55:35 ERROR 401: Unauthorized. Failed Failed (patch not found) Installing 125720-21 (4/8) Failed (missing patch file) ------------------------------------------------------------------------ ------ 127854 -- < 02 RS- 5 SunOS 5.10_x86: sad driver patch Downloading 127854-02 (5/8) Trying http://sunsolve.sun.com/ (1/1) --11:55:35-- http://sunsolve.sun.com/pdownload.do?target=127854-02&method=h => `/pca.sh/./127854-02.tmp' Resolving address_of_proxy_server... x.x.x.x Connecting to address_of_proxy_server[x.x.x.x]:8080... connected. Proxy request sent, awaiting response... 401 Unauthorized 11:55:35 ERROR 401: Unauthorized. Failed Failed (patch not found) Installing 127854-02 (5/8) Failed (missing patch file) ------------------------------------------------------------------------ ------ 128307 -- < 04 RS- 1 SunOS 5.10_x86: devfs patch Downloading 128307-04 (6/8) Trying http://sunsolve.sun.com/ (1/1) --11:55:35-- http://sunsolve.sun.com/pdownload.do?target=128307-04&method=h => `/pca.sh/./128307-04.tmp' Resolving address_of_proxy_server... x.x.x.x Connecting to address_of_proxy_server[x.x.x.x]:8080... connected. Proxy request sent, awaiting response... 401 Unauthorized 11:55:35 ERROR 401: Unauthorized. Failed Failed (patch not found) Installing 128307-04 (6/8) Failed (missing patch file) ------------------------------------------------------------------------ ------ 128412 -- < 01 RS- 28 SunOS 5.10_x86: vuidm patch Downloading 128412-01 (7/8) Trying http://sunsolve.sun.com/ (1/1) --11:55:35-- http://sunsolve.sun.com/pdownload.do?target=128412-01&method=h => `/pca.sh/./128412-01.tmp' Resolving address_of_proxy_server... x.x.x.x Connecting to address_of_proxy_server[x.x.x.x]:8080... connected. Proxy request sent, awaiting response... 401 Unauthorized 11:55:39 ERROR 401: Unauthorized. Failed Failed (patch not found) Installing 128412-01 (7/8) Failed (missing patch file) ------------------------------------------------------------------------ ------ 137020 -- < 01 -S- 1 SunOS 5.10_x86: snmpXdmid patch Downloading 137020-01 (8/8) Trying http://sunsolve.sun.com/ (1/1) --11:55:39-- http://sunsolve.sun.com/pdownload.do?target=137020-01&method=h => `/pca.sh/./137020-01.tmp' Resolving address_of_proxy_server... x.x.x.x Connecting to name_of_proxy_server[x.x.x.x]:8080... connected. Proxy request sent, awaiting response... 401 Unauthorized 11:55:39 ERROR 401: Unauthorized. Failed Failed (patch not found) Installing 137020-01 (8/8) Failed (missing patch file) ------------------------------------------------------------------------ ------ Download Summary: 8 total, 0 successful, 0 skipped, 8 failed Install Summary : 8 total, 0 successful, 0 skipped, 8 failed # The information transmitted is the property of Institute of Technology, Tallaght. It is possible for data transmitted by email to be deliberately or accidentally corrupted or intercepted. For this reason, where the communication is by email, Institute of Technology Tallaght does not accept any responsibility for any breach of confidence which may arise through the use of this medium. Institute of Technology Tallaght sweeps emails for computer viruses known to it at the date of transmission.
