[pca] [pca-news] New release: 20080909-01
Jon Whitehouse
jonathan.whitehouse at zimmer.com
Tue Sep 9 17:31:52 CEST 2008
Thanks! Your changes have fixed it:
1.) on the main pca proxy - I made the cgi-bin/pca-proxy.cgi the main pca file.
2.) on the main pca proxy - I made /local/sbin/pca a symbolic link to the cgi-bin/pca-proxy.cgi
3.) on the main pca proxy - I changed /etc/pca.conf to:
# PCA - Sun ID & Password
user=xxxx
passwd=xxxxx
# PCA Patching Directories
patchdir=/localpca-server/pca
xrefdir=/localpca-server/pca
# PCA Proxy
wgetproxy=http://proxy-server:8080
# Try to download 5x
dltries=5
# Keep pca updated
update=auto
# Write successful patches to user syslog
syslog=user
4.) changed the client server /etc/pca.conf to:
# PCA Patching Directories
patchdir=/tmp
xrefdir=/tmp
# PCA Proxy
patchurl=http://localpca-server/cgi-bin/pca-proxy.cgi
xrefurl=http://localpca-server/cgi-bin/pca-proxy.cgi
# Keep pca updated
pcaurl=http://localpca-server/cgi-bin/pca-proxy.cgi
# Write successful patches to user syslog
syslog=user
---
Jon Whitehouse
Systems Engineer - IT, Server Support
MS 5221
1800 W. Center Street
Warsaw, IN 46580
(574) 371-8684
(574) 377-2829 (cell)
jonathan.whitehouse at zimmer.com
-----Original Message-----
From: pca-bounces at lists.univie.ac.at [mailto:pca-bounces at lists.univie.ac.at] On Behalf Of Martin Paul
Sent: Tuesday, September 09, 2008 9:56 AM
To: PCA (Patch Check Advanced) Discussion
Subject: Re: [pca] [pca-news] New release: 20080909-01
As for pca updates with a pca proxy there are two things:
Updating pca-proxy.cgi: If you have "update=auto" set in the pca.conf
used by pca-proxy.cgi, the proxy will keep itself up-to-date. It will
download and replace itself with new version of pca when they are
available. pca-proxy.cgi should better not be a link in that case.
Alternatively, you can link it to e.g. /usr/sbin/pca (like you already
do) and keep that up-to-date as described below.
Updating pca: To update pca on the client through the proxy, you set
pcaurl to point at the proxy (just like xrefurl/patchurl). When running
"pca --update now" on the client, it will contact the pca proxy. This
will check pca's home for the most recent version, download it and store
it in patchdir. It will then deliver the file to the client, which
updates itself.
Your configuration files look OK. Can you please add "debug=1" to both
configuration files (on the proxy and on the client) and then run "pca
--update now" on the client. The client will show it's debug output on
screen, the proxy will write it to /tmp/pca-proxy-debug.txt. Please post
it for further analysis.
Martin.
More information about the pca
mailing list