Re: [pca] Problem to download news patches

2015-03-30 Thread Martin Paul

Hi Olivier,

I looked at the logfiles you provided, and it's indeed a strange 
behaviour. As far as I can see you made 3 attempts (the first 2 failed, 
the 3rd worked):


pca --wget=/usr/sfw/bin/wget --wgetopt=--no-check-certificate -d -V 
150400-22

pca  -d -V 150400-22
pca --debug -d 150400-22

Actually all commands do the same. -V/--debug is the same for PCA, and 
while the wget/wgetopt options are not necessary, they result in the 
same wget command being used by PCA.


The only difference is that you ran the third command half an hour later 
than the other two. Right now, I can only imagine that it was a 
temporary problem on the Oracle authentication server.


Maybe you can retry today (with the 3rd command above). If it fails 
again, feel free to send me the output again.


Best,
Martin.


Am 27.03.2015 um 15:50 schrieb Studer Olivier:

Hi Martin,

It's very strange. With your command I can download the patch.

You can see in my debug file (pca_debug_olivier.txt) the problem. But with your 
debug command it's works (pca_debug_olivier.txt).

But I have try as follow without success:

root@hefrjet01@/root/scripts # pca --wgetopt=--no-check-certificate -d 
150400-22
Using /www/pca/patchdiag.xref from Mar/26/15
Host: hefrjet01 (SunOS 5.10/Generic_150400-20/sparc/sun4u)
List: 150400-22 (1/0)

Patch  IR   CR RSB Age Synopsis
-- -- - -- --- --- ---
150400 20  22 RS-  13 SunOS 5.10: Kernel Patch

Looking for 150400-22 (1/1)
Trying Oracle
Trying https://getupdates.oracle.com/ (1/3)
Failed (unknown file type)
Failed (Unknown Error)
Trying https://getupdates.oracle.com/ (2/3)
Failed (unknown file type)
Failed (Unknown Error)
Trying https://getupdates.oracle.com/ (3/3)
Failed (unknown file type)
Failed (Unknown Error)
Failed (patch not found)
--
Download Summary: 1 total, 0 successful, 0 skipped, 1 failed
root@hefrjet01@/root/scripts #

Regards
/Olivier


-Original Message-
From: pca [mailto:pca-boun...@lists.univie.ac.at] On Behalf Of Martin Paul
Sent: vendredi 27 mars 2015 15:22
To: PCA (Patch Check Advanced) Discussion
Subject: Re: [pca] Problem to download news patches

Hi,


With the new PCA tool, I'm not able to download the Kernel Patch and
all new patches


Did it work before? When was the last time you used successfully?

I assume you have checked validity of your MOS account and support contract. Can you 
re-run PCA with pca --debug -d 150400-22 and post the complete output here?

Martin.






Re: [pca] Problem to download news patches

2015-03-30 Thread Studer Olivier
Hi Martin,

During this last night, my script has correctly works without problem of 
Unknown Error. So I think also that's a problem with authentication on the 
Oarcle site.

But I have this other message :

Looking for 800184-03 (1267/1267)
Trying Oracle
Trying https://getupdates.oracle.com/ (1/3)
Failed (Error 404: Not Found)
Trying https://getupdates.oracle.com/ (2/3)
Failed (Error 404: Not Found)
Trying https://getupdates.oracle.com/ (3/3)
Failed (Error 404: Not Found)
Failed (patch not found)
--
Download Summary: 1267 total, 0 successful, 1203 skipped, 64 failed

Can you help, me

Regards
/Olivier


-Original Message-
From: pca [mailto:pca-boun...@lists.univie.ac.at] On Behalf Of Martin Paul
Sent: lundi 30 mars 2015 09:15
To: PCA (Patch Check Advanced) Discussion
Subject: Re: [pca] Problem to download news patches

Hi Olivier,

I looked at the logfiles you provided, and it's indeed a strange behaviour. As 
far as I can see you made 3 attempts (the first 2 failed, the 3rd worked):

pca --wget=/usr/sfw/bin/wget --wgetopt=--no-check-certificate -d -V
150400-22
pca  -d -V 150400-22
pca --debug -d 150400-22

Actually all commands do the same. -V/--debug is the same for PCA, and while 
the wget/wgetopt options are not necessary, they result in the same wget 
command being used by PCA.

The only difference is that you ran the third command half an hour later than 
the other two. Right now, I can only imagine that it was a temporary problem on 
the Oracle authentication server.

Maybe you can retry today (with the 3rd command above). If it fails again, feel 
free to send me the output again.

Best,
Martin.


Am 27.03.2015 um 15:50 schrieb Studer Olivier:
 Hi Martin,

 It's very strange. With your command I can download the patch.

 You can see in my debug file (pca_debug_olivier.txt) the problem. But with 
 your debug command it's works (pca_debug_olivier.txt).

 But I have try as follow without success:

 root@hefrjet01@/root/scripts # pca --wgetopt=--no-check-certificate 
 -d 150400-22 Using /www/pca/patchdiag.xref from Mar/26/15
 Host: hefrjet01 (SunOS 5.10/Generic_150400-20/sparc/sun4u)
 List: 150400-22 (1/0)

 Patch  IR   CR RSB Age Synopsis
 -- -- - -- --- --- 
 ---
 150400 20  22 RS-  13 SunOS 5.10: Kernel Patch

 Looking for 150400-22 (1/1)
 Trying Oracle
 Trying https://getupdates.oracle.com/ (1/3) Failed (unknown file type) 
 Failed (Unknown Error) Trying https://getupdates.oracle.com/ (2/3) 
 Failed (unknown file type) Failed (Unknown Error) Trying 
 https://getupdates.oracle.com/ (3/3) Failed (unknown file type) Failed 
 (Unknown Error) Failed (patch not found)
 --
  Download Summary: 1 total, 0 successful, 0 skipped, 1 failed 
 root@hefrjet01@/root/scripts #

 Regards
 /Olivier


 -Original Message-
 From: pca [mailto:pca-boun...@lists.univie.ac.at] On Behalf Of Martin 
 Paul
 Sent: vendredi 27 mars 2015 15:22
 To: PCA (Patch Check Advanced) Discussion
 Subject: Re: [pca] Problem to download news patches

 Hi,

 With the new PCA tool, I'm not able to download the Kernel Patch and 
 all new patches

 Did it work before? When was the last time you used successfully?

 I assume you have checked validity of your MOS account and support contract. 
 Can you re-run PCA with pca --debug -d 150400-22 and post the complete 
 output here?

 Martin.






Re: [pca] Problem to download news patches

2015-03-30 Thread Studer Olivier
Hi Martin,

Thanks for your feedback. All it's done. I already use pca -d all command. 

Thanks for your help, have a nice day.

Regards
/Olivier


-Original Message-
From: pca [mailto:pca-boun...@lists.univie.ac.at] On Behalf Of Martin Paul
Sent: lundi 30 mars 2015 11:08
To: PCA (Patch Check Advanced) Discussion
Subject: Re: [pca] Problem to download news patches

Hi Olvier,

 During this last night, my script has correctly works without problem of 
 Unknown Error. So I think also that's a problem with authentication on the 
 Oarcle site.

Ok, that sounds fine.

 But I have this other message :

 Looking for 800184-03 (1267/1267)
...
 --
  Download Summary: 1267 total, 0 successful, 1203 skipped, 64 
 failed

All of the 64 failed patches are marked with NOT FOUND IN CROSS REFERENCE 
FILE! in PCA's output. Usually, if a patch is not in patchdiag.xref, you can't 
download it from Oracle.

Did you by chance try to download patches with pca -d all? Most probably you 
want missing instead of all, because all also includes already installed 
patches. There are pre-installed patches in Solaris 10 update releases which 
are never published by Oracle, so you can't (and don't need to) download them.

hth,
Martin.




Re: [pca] Problem to download news patches

2015-03-27 Thread Martin Paul

Hi,


With the new PCA tool, I'm not able to download the Kernel Patch and all new 
patches


Did it work before? When was the last time you used successfully?

I assume you have checked validity of your MOS account and support 
contract. Can you re-run PCA with pca --debug -d 150400-22 and post 
the complete output here?


Martin.



Re: [pca] Problem to download news patches

2015-03-27 Thread Studer Olivier
Hi Martin,

It's very strange. With your command I can download the patch.

You can see in my debug file (pca_debug_olivier.txt) the problem. But with your 
debug command it's works (pca_debug_olivier.txt).

But I have try as follow without success:

root@hefrjet01@/root/scripts # pca --wgetopt=--no-check-certificate -d 
150400-22
Using /www/pca/patchdiag.xref from Mar/26/15
Host: hefrjet01 (SunOS 5.10/Generic_150400-20/sparc/sun4u)
List: 150400-22 (1/0)

Patch  IR   CR RSB Age Synopsis
-- -- - -- --- --- ---
150400 20  22 RS-  13 SunOS 5.10: Kernel Patch

Looking for 150400-22 (1/1)
Trying Oracle
Trying https://getupdates.oracle.com/ (1/3)
Failed (unknown file type)
Failed (Unknown Error)
Trying https://getupdates.oracle.com/ (2/3)
Failed (unknown file type)
Failed (Unknown Error)
Trying https://getupdates.oracle.com/ (3/3)
Failed (unknown file type)
Failed (Unknown Error)
Failed (patch not found)
--
Download Summary: 1 total, 0 successful, 0 skipped, 1 failed
root@hefrjet01@/root/scripts #

Regards
/Olivier


-Original Message-
From: pca [mailto:pca-boun...@lists.univie.ac.at] On Behalf Of Martin Paul
Sent: vendredi 27 mars 2015 15:22
To: PCA (Patch Check Advanced) Discussion
Subject: Re: [pca] Problem to download news patches

Hi,

 With the new PCA tool, I'm not able to download the Kernel Patch and 
 all new patches

Did it work before? When was the last time you used successfully?

I assume you have checked validity of your MOS account and support contract. 
Can you re-run PCA with pca --debug -d 150400-22 and post the complete output 
here?

Martin.

root@hefrjet01@/root/scripts # pca --debug -d 150400-22
Option download: 1
Option xrefdir: /www/pca
Option patchdir: /www/pca
Option user: user
Option passwd: passwd
Option dltries: 3
Option wget: /usr/sfw/bin/wget
Option debug: 1
Command: /usr/local/bin/pca
ARGV: 150400-22
Version: 20150327-01
CWD: /root/scripts
Config files: /etc/pca.conf 
Found /usr/sfw/bin/wget (1.12, 11200, https)
Using /usr/sfw/bin/wget
Found /usr/bin/uname
Prerequisites for threads not met, setting threads to 0
Never update
Expanded patch list: 150400-22
xref mtime: Fri Mar 27 02:10:09 2015
xref now  : Fri Mar 27 15:40:18 2015
xref ctime: Fri Mar 27 14:31:26 2015
xref age  : 4132
Local file /www/pca/patchdiag.xref is up to date
osname from uname: SunOS
Reading from /usr/bin/showrev -p  2/dev/null
patchdiag.xref size: 2321302
Using /www/pca/patchdiag.xref from Mar/26/15
Bad patch installed: 144560-04
All operands are fully qualified patch IDs plus revisions
Host: hefrjet01 (SunOS 5.10/Generic_150400-20/sparc/sun4u)
List: 150400-22 (1/0)

Patch  IR   CR RSB Age Synopsis
-- -- - -- --- --- ---
150400 20  22 RS-  13 SunOS 5.10: Kernel Patch

Looking for 150400-22 (1/1)
Trying Oracle
Trying https://getupdates.oracle.com/ (1/3)
src: oracle, srcurl: 
Adding to /tmp/pca.59500: header=Authorization: Basic base64-user-passwd
/usr/sfw/bin/wget --progress=dot:binary --ca-certificate=/usr/local/bin/pca 
--no-check-certificate --secure-protocol=TLSv1 -O /www/pca/150400-22.zip 
https://getupdates.oracle.com/all_unsigned/150400-22.zip;
--2015-03-27 15:40:22--  
https://getupdates.oracle.com/all_unsigned/150400-22.zip
Resolving getupdates.oracle.com... 141.146.44.51
Connecting to getupdates.oracle.com|141.146.44.51|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Cookie coming from updates.oracle.com attempted to set domain to 
updates.oracle.com
Location: 
https://login.oracle.com/pls/orasso/orasso.wwsso_app_admin.ls_login?site2pstoretoken=v1.2~E4066BF0~AE807C6DDDF57FD2A6BB6170D049908D251FAA9EEE92B17AEDF02A1A586BF996168B4BCF10AA75E3DEB133F9078E4EA0033168A8AE007D7402141D3775DD015E4EE64D54946C64F7DC0D7EE6C78CB75C1A5103DD4355ED882B187A560172D282CF8DBEAF4F3AB2562AAD113618613C8485C91F9FDE373B5FB06DCD49B3A86D40CFED9134BD3F52F271700566AC53AF197EDE82A68D8D903E543BC24A8CDBA8AF086CD19FE73CD62D2BE9EC238189106550231A5652FD01D972D7B1D4DAA82D84
 [following]
--2015-03-27 15:40:24--  
https://login.oracle.com/pls/orasso/orasso.wwsso_app_admin.ls_login?site2pstoretoken=v1.2~E4066BF0~AE807C6DDDF57FD2A6BB6170D049908D251FAA9EEE92B17AEDF02A1A586BF996168B4BCF10AA75E3DEB133F9078E4EA0033168A8AE007D7402141D3775DD015E4EE64D54946C64F7DC0D7EE6C78CB75C1A5103DD4355ED882B187A560172D282CF8DBEAF4F3AB2562AAD113618613C8485C91F9FDE373B5FB06DCD49B3A86D40CFED9134BD3F52F271700566AC53AF197EDE82A68D8D903E543BC24A8CDBA8AF086CD19FE73CD62D2BE9EC238189106550231A5652FD01D972D7B1D4DAA82D84
Resolving login.oracle.com... 209.17.4.8
Connecting to login.oracle.com|209.17.4.8|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: 
https://updates.oracle.com/osso_login_success?urlc=v1.2