[pca] Proxy server doesn't get missing patches

Martin Paul martin at par.univie.ac.at
Fri Oct 17 10:20:47 CEST 2008


Hi,

> I was under the impression that the proxy would download the missing 
> patch from Sun and give it to the client. If my impression is correct, 
> what combination of options to pca do I need?

Some background information: pca will only try to download a patch from 
SunSolve if the user/passwd (or askauth, when interactive) options are 
specified. To make sure it doesn't contact SunSolve for patches or 
READMEs, leave them unset. You want that on your clients. With a proxy 
in place, you use xrefurl and patchurl to point them at the proxy 
instead, just like Rajiv said and as you probably have set it up already.

The proxy of course must be able to download patches from Sun, so you 
have to set user/passwd in its configuration file. You don't set 
xrefurl/patchurl on the proxy to point at itself, of course. The best 
thing to do when there are problems on the proxy is to set "debug=1" in 
its configuration file (temporarily). It will write debug output to 
/tmp/pca-proxy-debug.txt then.

If this still doesn't help to get it going, run a simple test case on 
the client (downloading one patch) with --debug, and send me debug 
output both from the client and the proxy, plus the contents of all pca 
configuration files both on the proxy and the client.

Attention - when your proxy is a client, too, make sure to use separate 
configuration files for pca in client mode and for the proxy. As of now, 
the proxy reads e.g. /etc/pca.conf, too, so you wouldn't want to use 
that to set xrefurl/patchurl.

Martin.



More information about the pca mailing list