[pca] Odd problem - must have debug enabled to pull patchdiag.xref

Martin Paul martin at par.univie.ac.at
Tue Dec 1 09:26:00 CET 2009


Hi Lee,

> $ /dss/bin/pca --version
> pca 20091030-01
 > $ /support/bin/pca --getxref --wget=/usr/local/bin --xrefdir=/tmp

Are these two copies of pca? I assume that the version is the same?

I can't imagine a reason why --debug should alter the behaviour of pca 
when downloading the xref file; something else must be different.

Are both tests with and without --debug running on the same machine, 
under the same user?

> I am going through a proxy server that does not require authentication.

The failure could be caused by a missing proxy server setting, but it 
would then fail independent of --debug set or not. Are you setting the 
proxy in a pca configuration file, in a wgetrc or via the http_proxy 
environment variable?

To get more information, try wget directly, e.g.:

/usr/local/bin/wget --no-check-certificate 
"https://sunsolve.sun.com/pdownload.do?target=patchdiag.xref" -O 
patchdiag.xref

Also, while running the failing pca, try to run "ps" repeatedly in a 
second terminal window to catch the exact wget command it runs (or use 
"truss" for the same purpose) and compare it to the one when run with 
--debug. Then try that command on the command line again and show us the 
output.

Martin.



More information about the pca mailing list