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

Rajiv Gunja opn.src.rocks at gmail.com
Tue Jul 8 16:13:38 CEST 2008


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.
>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.univie.ac.at/mailman/private/pca/attachments/20080708/67af336a/attachment-0001.html 


More information about the pca mailing list