[pca] Question on setting up local caching proxy for pca

Gurugunti, Mahesh Mahesh.Gurugunti at alliancebernstein.com
Tue Jul 8 17:59:45 CEST 2008


Rajiv,
 
Thanks for your inputs.
 
On Server, looks like it works well after I cofigured /etc/pca.conf 
 
 
bash-3.00# uname -a 
SunOS amaeng3 5.10 Generic_118833-17 sun4u sparc SUNW,Sun-Fire-280R
bash-3.00# ~mgurug/PCA/pca -d 138421 
Using /pcarepo/patchdiag.xref from Jul/07/08
Host: amaeng3 (SunOS 5.10/Generic_118833-17/sparc/sun4u)
List: 138421
 
Patch  IR   CR RSB Age Synopsis
------ -- - -- --- ---
-------------------------------------------------------
138421 -- < 01 ---  29 SunOS 5.10: PostgresSQL 8.3 jdbc patch
 
Downloading 138421-01 (1/1)
Skipped (file exists)
------------------------------------------------------------------------
------
Download Summary: 1 total, 0 successful, 1 skipped, 0 failed
 
However on the client when I execute
 
bash-3.00# ./pca -d 118666
Using /var/pca/patchdiag.xref from Jun/20/08
Host: amadv889 (SunOS 5.10/Generic_127127-11/sparc/sun4u)
List: 118666
 
Patch  IR   CR RSB Age Synopsis
------ -- - -- --- ---
-------------------------------------------------------
118666 15 < 16 -S- 132 JavaSE 5.0: update 15 patch (equivalent to JDK
5.0u15)
 
Downloading 118666-16 (1/1)
Trying http://amaeng3.acml.com/cgi-bin/pca-proxy.cgi
<BLOCKED::http://amaeng3.acml.com/cgi-bin/pca-proxy.cgi> ?
Failed
Failed (no Sun Online Account data)
Failed (patch not found)
------------------------------------------------------------------------
------
Download Summary: 1 total, 0 successful, 0 skipped, 1 failed
 
my client side /etc/pca.conf looks as below
 
bash-3.00# cat /etc/pca.conf
patchdir=/var/pca
xrefdir=/var/pca
patchurl=http://amaeng3.acml.com/cgi-bin/pca-proxy.cgi?
xrefurl=http://amaeng3.acml.com/cgi-bin/pca-proxy.cgi?
 
Any ideas ??
 
 
 
 

________________________________

From: pca-bounces at lists.univie.ac.at
[mailto:pca-bounces at lists.univie.ac.at] On Behalf Of Rajiv Gunja
Sent: Tuesday, July 08, 2008 10:14 AM
To: jonathan.whitehouse at zimmer.com; PCA (Patch Check Advanced)
Discussion
Subject: Re: [pca] Question on setting up local caching proxy for pca


Addendum: On the Client, you should be able to do:

pca -d 137048-01

NO need of using the other parameters.

-GGR

---
Rajiv G Gunja 


2008/7/8 Rajiv Gunja <opn.src.rocks at gmail.com>:


	Here is how I have mine setup:
	
	Server: /etc/pca.conf
	user=userid
	passwd=password
	patchdir=/pca/Patches/
	xrefdir=/pca/Patches/
	wgetproxy=http://proxy.home.com:80
	syslog=user
	dltries=5
	threads=5
	debug=1
	
	Client: /etc/pca.conf
	patchdir=/var/pca
	xrefdir=/var/pca
	patchurl=http://pcaproxy.home.com/Patches/pca-proxy.cgi?
	xrefurl=http://pcaproxy.home.com/Patches/pca-proxy.cgi?
	
	1. Make sure that you DO NOT have any http_proxy settings on the
Client server for ROOT or Other IDs which use pca.
	
	2. Make sure you have CGI Enabled on the HTTPD Server. Create
test.cgi with the following contents and make sure it is executable.
This will be a good test if your HTTPD support cgi execution
	#!/bin/sh
	
	# disable filename globbing
	set -f
	
	echo Content-type: text/plain
	echo
	
	echo CGI/1.0 test script report:
	echo
	
	echo argc is $#. argv is "$*".
	echo
	
	echo SERVER_SOFTWARE = $SERVER_SOFTWARE
	echo SERVER_NAME = $SERVER_NAME
	echo GATEWAY_INTERFACE = $GATEWAY_INTERFACE
	echo SERVER_PROTOCOL = $SERVER_PROTOCOL
	echo SERVER_PORT = $SERVER_PORT
	echo REQUEST_METHOD = $REQUEST_METHOD
	echo HTTP_ACCEPT = "$HTTP_ACCEPT"
	echo PATH_INFO = "$PATH_INFO"
	echo PATH_TRANSLATED = "$PATH_TRANSLATED"
	echo SCRIPT_NAME = "$SCRIPT_NAME"
	echo QUERY_STRING = "$QUERY_STRING"
	echo REMOTE_HOST = $REMOTE_HOST
	echo REMOTE_ADDR = $REMOTE_ADDR
	echo REMOTE_USER = $REMOTE_USER
	echo AUTH_TYPE = $AUTH_TYPE
	echo CONTENT_TYPE = $CONTENT_TYPE
	echo CONTENT_LENGTH = $CONTENT_LENGTH
	
	Let us know once you have done this and still have issues.
	
	-GGR
	
	---
	Rajiv G Gunja 
	
	
	2008/7/8 Jonathan L Whitehouse <jonathan.whitehouse at zimmer.com>:



		Can amaeng3.acml.com talk to the net?  In essence
amaeng3 is acting as a proxy... 

		 

		Can you run just pca on amaeng3 and have it go to
sunsolve?

		 

		On amaeng3 make sure your /etc/pca.conf is setup as
normal.

		 

		---

		Jonathan 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

		 

		
________________________________


		From: pca-bounces at lists.univie.ac.at
[mailto:pca-bounces at lists.univie.ac.at] On Behalf Of Gurugunti, Mahesh
		Sent: Tuesday, July 08, 2008 9:44 AM
		To: pca at lists.univie.ac.at
		Subject: [pca] Question on setting up local caching
proxy for pca

		 

		I have setup a server that contacts sun and using my SOA
account downloads and installs patches. This works fine.

		 

		I am in the process of setting up local PCA server , I
followed all the instruction on this page

		 

		http://www.par.univie.ac.at/solaris/pca/usage.html

		 

		of copying pca as pca-proxy.cgi

		settting /etc/pca-proxy.conf

		restarted httpd (amaeng3 is the planned local PCA
server)

		etc....

		 

		On the client I issued

		 

		pca -X .
--xrefurl=http://amaeng3.acml.com/cgi-bin/pca-proxy.cgi
--patchurl=http://amaeng3.acml.com/cgi-bin/pca-proxy.cgi -d
<http://amaeng3.acml.com/cgi-bin/pca-proxy.cgi-d>  137048-01

		 

		it comes back as

		 

		 

		Downloading xref file to /root/./patchdiag.xref
		Trying http://amaeng3.acml.com/cgi-bin/pca-proxy.cgi?
		Failed

		 

		Any ideas? Also, I need to know if there is any config
involved on client side.

		 

		Thanks in advance.

		Mahesh

		 

		 

		 



-----------------------------------------
The information contained in the linked e-mail transmission and any
attachments may be 
privileged and confidential and is intended only for the use of the
person(s) named in the 
linked e-mail transmission. If you are not the intended recipient, or an
employee or agent 
responsible for delivering this message to the intended recipient, you
should not review, 
disseminate, distribute or duplicate this e-mail transmission or any
attachments . If you 
are not the intended recipient, please contact the sender immediately by
reply e-mail and 
destroy all copies of the original message. We do not accept account
orders and/or 
instructions related to AllianceBernstein products or services by
e-mail, and therefore will 
not be responsible for carrying out such orders and/or instructions. The
linked e-mail 
transmission and any attachments are provided for informational purposes
only and should not 
be construed in any manner as any solicitation or offer to buy or sell
any investment 
opportunities or any related financial instruments and should not be
construed in any manner 
as a public offer of any investment opportunities or any related
financial instruments.  If 
you, as the intended recipient of the linked e-mail transmission, the
purpose of which is to 
inform and update our clients, prospects and consultants of developments
relating to our 
services and products, would not like to receive further e-mail
correspondence from the 
sender, please "reply" to the sender indicating your wishes.  Although
we attempt to sweep 
e-mail and attachments for viruses, we will not be liable for any
damages arising from the 
alteration of the contents of this linked e-mail transmission and any
attachments by a third 
party or as a result of any virus being passed on.

Please note: 
Trading instructions sent electronically to Bernstein shall not be
deemed accepted until a 
representative of Bernstein acknowledges receipt electronically or by
telephone. Comments in 
the linked e-mail transmission and any attachments are part of a larger
body of investment 
analysis. For our research reports, which contain information that may
be used to support 
investment decisions, and disclosures, see our website at
www.bernsteinresearch.com.

		 




-----------------------------------------
The information contained in the linked e-mail transmission and any attachments may be 

privileged and confidential and is intended only for the use of the person(s) named in the 

linked e-mail transmission. If you are not the intended recipient, or an employee or agent 

responsible for delivering this message to the intended recipient, you should not review, 

disseminate, distribute or duplicate this e-mail transmission or any attachments . If you 

are not the intended recipient, please contact the sender immediately by reply e-mail and 

destroy all copies of the original message. We do not accept account orders and/or 

instructions related to AllianceBernstein products or services by e-mail, and therefore will 

not be responsible for carrying out such orders and/or instructions. The linked e-mail 

transmission and any attachments are provided for informational purposes only and should not 

be construed in any manner as any solicitation or offer to buy or sell any investment 

opportunities or any related financial instruments and should not be construed in any manner 

as a public offer of any investment opportunities or any related financial instruments.  If 

you, as the intended recipient of the linked e-mail transmission, the purpose of which is to 

inform and update our clients, prospects and consultants of developments relating to our 

services and products, would not like to receive further e-mail correspondence from the 

sender, please "reply" to the sender indicating your wishes.  Although we attempt to sweep 

e-mail and attachments for viruses, we will not be liable for any damages arising from the 

alteration of the contents of this linked e-mail transmission and any attachments by a third 

party or as a result of any virus being passed on.

Please note: 
Trading instructions sent electronically to Bernstein shall not be deemed accepted until a 

representative of Bernstein acknowledges receipt electronically or by telephone. Comments in 

the linked e-mail transmission and any attachments are part of a larger body of investment 

analysis. For our research reports, which contain information that may be used to support 

investment decisions, and disclosures, see our website at www.bernsteinresearch.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.univie.ac.at/mailman/private/pca/attachments/20080708/e7db36a3/attachment-0001.html 


More information about the pca mailing list