Are you using the latest version of PCA on the client and on the proxy?
> People sometimes use very old versions of PCA as pca_proxy.cgi.
>

Oops. Indeed my proxy seemed to be hanging back at version 20110329-01.
I've updated it to 20111018-01. I've also added update=auto to the
pca-proxy.conf file so I don't get version mismatches again. (The pca
clients all use auto-update as well).


> If it doesn't work, please set "debug=1" in the pca-proxy.conf, run "pca
> --debug --download 111111-11" (some patch which doesn't exist on the PCA
> proxy yet) on the client and send debug output both from the client and the
> proxy.
>

Indeed the client still gets an *Unauthorized* error. Debug on the proxy
shows the following.

Wed Nov  2 09:21:35 2011: Option xrefdir: /home/patches
Wed Nov  2 09:21:35 2011: Option patchdir: /home/patches
Wed Nov  2 09:21:35 2011: Option wgetproxy: http://proxy-host:18082
Wed Nov  2 09:21:35 2011: Option update: auto
Wed Nov  2 09:21:35 2011: Option debug: 1
Wed Nov  2 09:21:35 2011: Option proxy: 111111-11
Wed Nov  2 09:21:35 2011: Command: /var/apache2/2.2/cgi-bin/pca-proxy.cgi
Wed Nov  2 09:21:35 2011: ARGV: 111111-11
Wed Nov  2 09:21:35 2011: Version: 20111018-01
Wed Nov  2 09:21:35 2011: CWD: /var/apache2/2.2/cgi-bin
Wed Nov  2 09:21:35 2011: Config files: /etc/pca-proxy.conf
Wed Nov  2 09:21:35 2011: Found /usr/sfw/bin/wget (1.12, 11200, https)
Wed Nov  2 09:21:35 2011: Found /usr/bin/wget (1.12, 11200, https)
Wed Nov  2 09:21:35 2011: Using /usr/sfw/bin/wget
Wed Nov  2 09:21:35 2011: Found /usr/bin/uname
Wed Nov  2 09:21:35 2011: Prerequisites for threads not met, setting
threads to 0
Wed Nov  2 09:21:35 2011: Auto update
Wed Nov  2 09:21:35 2011: pca mtime : Wed Nov  2 08:40:36 2011
Wed Nov  2 09:21:35 2011: pca now   : Wed Nov  2 09:21:35 2011
Wed Nov  2 09:21:35 2011: pca ctime : Wed Nov  2 09:20:55 2011
Wed Nov  2 09:21:35 2011: pca age   : 40
Wed Nov  2 09:21:35 2011: age lower than interval
Wed Nov  2 09:21:35 2011: Requested file: 111111-11
Wed Nov  2 09:21:35 2011: Trying Oracle
Wed Nov  2 09:21:35 2011: 401 MOS data missing
Wed Nov  2 09:21:35 2011: Cleanup
Wed Nov  2 09:21:35 2011: Removing /home/patches/.pcaLock.download.111111-11

My pca-proxy.conf file is pretty simple.

update=auto
debug=1
wgetproxy=http://proxy-host:18082
xrefdir=/home/patches
patchdir=/home/patches

-- 
Fred Chagnon
[email protected]

Reply via email to