[pca] Asking for MOS authentication
Fred
fchagnon at gmail.com
Wed Nov 2 14:43:52 CET 2011
That's fine - it returns "401 MOS data missing" to the PCA client, which
> should then react accordingly, asking you for MOS data. Please show me the
> debug output from the client as well (and use an existing patch like
> 115337-05, which you should remove from /home/patches on the proxy before
> testing!).
>
# pca -V -d 115337-05
Option download: 1
Option patchdir: /root/.
Option patchurl: http://pca-proxy/cgi-bin/pca-proxy.cgi
Option xrefurl: http://pca-proxy/cgi-bin/pca-proxy.cgi
Option wgetproxy: http://proxy-host:18082
Option update: auto
Option pcaurl: http://pca=proxy/cgi-bin/pca-proxy.cgi
Option debug: 1
Command: /usr/bin/pca
ARGV: 115337-05
Version: 20111018-01
CWD: /root
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
Auto update
pca mtime : Tue Oct 18 04:41:49 2011
pca now : Wed Nov 2 09:37:42 2011
pca ctime : Wed Nov 2 08:52:48 2011
pca age : 2694
age lower than interval
Expanded patch list: 115337-05
xref mtime: Mon Oct 31 21:55:50 2011
xref now : Wed Nov 2 09:37:42 2011
xref ctime: Wed Nov 2 08:41:49 2011
xref age : 3353
Local file /var/tmp/patchdiag.xref is up to date
osname from uname: SunOS
Reading from /usr/bin/showrev -p 2>/dev/null
patchdiag.xref size: 2137743
Using /var/tmp/patchdiag.xref from Oct/31/11
Bad patch installed: 144489-14
Bad patch installed: 145964-02
All operands are fully qualified patch IDs plus revisions
Host: sedm-to5-oss (SunOS 5.10/Generic_147441-04/i386/i86pc)
List: 115337-05 (1/0)
Patch IR CR RSB Age Synopsis
------ -- - -- --- ---
-------------------------------------------------------
115337 -- < 05 RS- 5 SunOS 5.9_x86: /usr/bin/tar, /usr/sbin/static/tar
Patch
Looking for 115337-05 (1/1)
Trying http://pca-proxy/cgi-bin/pca-proxy.cgi
src: url, srcurl: http://pca-proxy/cgi-bin/pca-proxy.cgi?
/usr/sfw/bin/wget --progress=dot:binary "
http://pca-proxy/cgi-bin/pca-proxy.cgi?115337-05" --execute http_proxy=
http://proxy-host:18082 --execute
https_proxy=http://proxy-host:18082--timeout 3600 -O
/root/./115337-05.tmp
--2011-11-02 09:37:43-- http://pca-proxy/cgi-bin/pca-proxy.cgi?115337-05
Resolving proxy-host... xxx.xxx.xxx.xxx
Connecting to proxy-host|xxx.xxx.xxx.xxx|:18082... connected.
Proxy request sent, awaiting response... 401 Unauthorized
Authorization failed.
Failed (Error 401: Unauthorized)
Failed (patch not found)
------------------------------------------------------------------------------
Download Summary: 1 total, 0 successful, 0 skipped, 1 failed
And the client's /etc/pca.conf file looks like so:
update=auto
xrefurl=http://pca-proxy/cgi-bin/pca-proxy.cgi
patchurl=http://pca-proxy/cgi-bin/pca-proxy.cgi
pcaurl=http://pca-proxy/cgi-bin/pca-proxy.cgi
wgetproxy=http://proxy-host:18082
Thanks.
Fred
--
Fred Chagnon
fchagnon at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.univie.ac.at/pipermail/pca/attachments/20111102/bf55c6b2/attachment.html>
More information about the pca
mailing list