[pca] PCA & WGET issues

Coskun, Aydin Aydin.Coskun at blueshieldca.com
Thu Dec 30 19:07:49 CET 2010


Hi,

 

I am having bit of issues with setting up my PCA server.  If I use
pca.conf file I get Failed (Unknown Error) but if don't use pca.conf and
I enter username and password interactively it works. Please help! 

 

P.S. Happy New Year to all of you and hope 2011 will be the best year
for you. 

 

Thanks,

~ Aydin

 

 

Here is my setup: 

 

==== PCA ====

# /pca/Scripts/pca -v

pca 20101221-01

 

# cat /pca/Scripts/pca.conf 

#My Oracle Support Account

user=my.email at mycompany.com

passwd=WWWWWWWW

# Other

syslog=user

safe=1

dltries=5

threads=6

 

 

==== WGET ====

#wget --version 

GNU Wget 1.11

 

 

 

 

This is the problem I got :

 

# /pca/Scripts/pca --debug -d 119254-78

Option download: 1

Option patchdir: /pca/.

Option user: <user>

Option passwd: <passwd>

Option syslog: user

Option safe: 1

Option dltries: 5

Option threads: 6

Option debug: 1

Command: /pca/Scripts/pca

ARGV: 119254-78

Version: 20101221-01

CWD: /pca

Config files: /pca/Scripts/pca.conf 

Found /usr/sfw/bin/wget (1.9.1, 10901, https)

Found /opt/csw/bin/wget (1.11, 11100, https)

Using /opt/csw/bin/wget

Found /usr/bin/uname

Thread modules passed require, importing

Never update

Expanded patch list: 119254-78

xref mtime: Wed Dec 29 12:07:01 2010

xref now  : Thu Dec 30 09:53:54 2010

xref ctime: Thu Dec 30 09:09:21 2010

xref age  : 2673

Local file /var/tmp/patchdiag.xref is up to date

osname from uname: SunOS

Reading from /usr/bin/showrev -p  2>/dev/null

Using /var/tmp/patchdiag.xref from Dec/29/10

Bad patch installed: 120094-14

Bad patch installed: 120272-12

Bad patch installed: 124393-04

All operands are fully qualified patch IDs plus revisions

Host: WWWWWWWWWWWWWWW (SunOS 5.10/Generic_125100-10/sparc/sun4u)

List: 119254-78 (1/0)

 

Patch  IR   CR RSB Age Synopsis

------ -- - -- --- ---
-------------------------------------------------------

Creating worker

Broadcasting download worker ready

Creating workerWaiting for download loop broadcast

 

Creating worker

Waiting for download loop broadcast

Creating worker

Waiting for download loop broadcast

Creating worker

Waiting for download loop broadcast

Creating worker

Waiting for download loop broadcast

Waiting for download loop broadcast

119254 42 < 78 RS-  27 SunOS 5.10: Install and Patch Utilities Patch

 

Looking for 119254-78 (1/1)

Broadcasting download loop ready

Worker 2 downloading 119254-78

Adding to /tmp/pca.511274: header=Authorization: Basic
<base64-user-passwd>

/opt/csw/bin/wget -nv --progress=dot:binary
"https://getupdates.oracle.com/all_unsigned/119254-78.zip"
--ca-certificate=/pca/Scripts/pca -O /pca/./119254-78.tmp

Trying Oracle

Trying https://getupdates.oracle.com/ (1/5)

Authorization failed.

Removing /tmp/pca.511274

Failed (Unknown Error)

Adding to /tmp/pca.779760: header=Authorization: Basic
<base64-user-passwd>

/opt/csw/bin/wget -nv --progress=dot:binary
"https://getupdates.oracle.com/all_unsigned/119254-78.zip"
--ca-certificate=/pca/Scripts/pca -O /pca/./119254-78.tmp

Authorization failed.

Removing /tmp/pca.779760

Trying https://getupdates.oracle.com/ (2/5)

Failed (Unknown Error)

Adding to /tmp/pca.980645: header=Authorization: Basic
<base64-user-passwd>

/opt/csw/bin/wget -nv --progress=dot:binary
"https://getupdates.oracle.com/all_unsigned/119254-78.zip"
--ca-certificate=/pca/Scripts/pca -O /pca/./119254-78.tmp

Authorization failed.

Removing /tmp/pca.980645

Trying https://getupdates.oracle.com/ (3/5)

Failed (Unknown Error)

Adding to /tmp/pca.162236: header=Authorization: Basic
<base64-user-passwd>

/opt/csw/bin/wget -nv --progress=dot:binary
"https://getupdates.oracle.com/all_unsigned/119254-78.zip"
--ca-certificate=/pca/Scripts/pca -O /pca/./119254-78.tmp

Trying https://getupdates.oracle.com/ (4/5)

Authorization failed.

Removing /tmp/pca.162236

Failed (Unknown Error)

Adding to /tmp/pca.509730: header=Authorization: Basic
<base64-user-passwd>

/opt/csw/bin/wget -nv --progress=dot:binary
"https://getupdates.oracle.com/all_unsigned/119254-78.zip"
--ca-certificate=/pca/Scripts/pca -O /pca/./119254-78.tmp

Trying https://getupdates.oracle.com/ (5/5)

Authorization failed.

Removing /tmp/pca.509730

Failed (Unknown Error)

Failed (patch not found)

------------------------------------------------------------------------
------

Waiting for worker

Waiting for worker

Waiting for worker

Waiting for worker

Waiting for worker

Waiting for worker

Download Summary: 1 total, 0 successful, 0 skipped, 1 failed

 

 

 

 

Now if I download the same patch without using the pca.conf file and
input my username and password interactively it works like a charm.

 

 

# /pca/Scripts/pca --debug -d 119254-78

Option download: 1

Option patchdir: /pca/.

Option debug: 1

Command: /pca/Scripts/pca

ARGV: 119254-78

Version: 20101221-01

CWD: /pca

Found /usr/sfw/bin/wget (1.9.1, 10901, https)

Found /opt/csw/bin/wget (1.11, 11100, https)

Using /opt/csw/bin/wget

Found /usr/bin/uname

Prerequisites for threads not met, setting threads to 0

Never update

Expanded patch list: 119254-78

xref mtime: Wed Dec 29 12:07:01 2010

xref now  : Thu Dec 30 09:47:35 2010

xref ctime: Thu Dec 30 09:09:21 2010

xref age  : 2294

Local file /var/tmp/patchdiag.xref is up to date

osname from uname: SunOS

Reading from /usr/bin/showrev -p  2>/dev/null

Using /var/tmp/patchdiag.xref from Dec/29/10

Bad patch installed: 120094-14

Bad patch installed: 120272-12

Bad patch installed: 124393-04

All operands are fully qualified patch IDs plus revisions

Host: WWWWWWWWWWWW (SunOS 5.10/Generic_125100-10/sparc/sun4u)

List: 119254-78 (1/0)

 

Patch  IR   CR RSB Age Synopsis

------ -- - -- --- ---
-------------------------------------------------------

119254 42 < 78 RS-  27 SunOS 5.10: Install and Patch Utilities Patch

 

Looking for 119254-78 (1/1)

Trying Oracle

 

Please enter My Oracle Support Account User: my.email at mycompany.com     

Please enter My Oracle Support Account Password: WWWWWWWWWWWWWWWWWW

 

Trying https://getupdates.oracle.com/ (1/1)

Adding to /tmp/pca.840315: header=Authorization: Basic
<base64-user-passwd>

/opt/csw/bin/wget --progress=dot:binary
"https://getupdates.oracle.com/all_unsigned/119254-78.zip"
--ca-certificate=/pca/Scripts/pca -O /pca/./119254-78.tmp

--2010-12-30 09:47:59--
https://getupdates.oracle.com/all_unsigned/119254-78.zip

Resolving getupdates.oracle.com... 192.18.110.9

Connecting to getupdates.oracle.com|192.18.110.9|:443... connected.

HTTP 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/119254-78.zip?AuthParam=1293731354_99a74a
2ac2f0a39dac9d47d7ed42bd2f&TicketId=C1RZ%2BEmIVFI%3D&GroupName=SWUP&File
Path=/21808/patches/patchroot/all_unsigned/119254-78.zip&File=119254-78.
zip [following]

--2010-12-30 09:48:01--
https://a248.e.akamai.net/f/248/21808/15m/sun.download.akamai.com/21808/
patches/patchroot/all_unsigned/119254-78.zip?AuthParam=1293731354_99a74a
2ac2f0a39dac9d47d7ed42bd2f&TicketId=C1RZ%2BEmIVFI%3D&GroupName=SWUP&File
Path=/21808/patches/patchroot/all_unsigned/119254-78.zip&File=119254-78.
zip

Resolving a248.e.akamai.net... 198.173.21.49, 198.173.21.24

Connecting to a248.e.akamai.net|198.173.21.49|:443... connected.

HTTP request sent, awaiting response... 200 OK

Length: 1711432 (1.6M) [application/zip]

Saving to: `/pca/./119254-78.tmp'

 

     0K ................ ................ ................ 22%  411K 3s

   384K ................ ................ ................ 45%  532K 2s

   768K ................ ................ ................ 68%  647K 1s

  1152K ................ ................ ................ 91%  673K 0s

  1536K ................                                  100%
941K=3.0s

 

2010-12-30 09:48:05 (564 KB/s) - `/pca/./119254-78.tmp' saved
[1711432/1711432]

 

Removing /tmp/pca.840315

Done

------------------------------------------------------------------------
------

Download Summary: 1 total, 1 successful, 0 skipped, 0 failed 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.univie.ac.at/mailman/private/pca/attachments/20101230/8d28d5c8/attachment-0001.html 


More information about the pca mailing list