[pca] PCA Proxy Troubles
Gerard McFadden
gerrymcfadden at btinternet.com
Wed Jan 28 12:45:27 CET 2009
Hi Martin,
The webserver is working fine, I have a test-cgi script in there which displays with no problems. The /etc/pca-proxy.conf file (I typed this incorrectly last time) has 640 permissions.
Output from access_log is below
<IP address> - - [28/Jan/2009:11:18:55 +0000] "GET /cgi-bin/pca-proxy.cgi?patchdiag.xref HTTP/1.0" 500 41
The error_log doesn't hold any information from pca.
The DEBUG I attached before is debug level 1 output from the /tmp/pca-proxy-debug.txt
# cat /etc/pca-proxy.conf
xrefdir=/pca
patchdir=/pca
user=xxxxxx
passwd=xxxxxx
wgetproxy=http://localhost:3128
debug=1
update=auto
nocheckxref=1
# ls -l /etc/pca-proxy.conf
-rw------- 1 webservd webservd 123 Jan 27 15:51 /etc/pca-proxy.conf
Gerry
--- On Wed, 28/1/09, Martin Paul <martin at par.univie.ac.at> wrote:
From: Martin Paul <martin at par.univie.ac.at>
Subject: Re: [pca] PCA Proxy Troubles
To: "PCA (Patch Check Advanced) Discussion" <pca at lists.univie.ac.at>
Cc: gerrymcfadden at btinternet.com
Date: Wednesday, 28 January, 2009, 8:55 AM
Hi,
> Connecting to localhost|127.0.0.1|:3128... connected.
> Proxy request sent, awaiting response... 403 Forbidden
> 11:18:21 ERROR 403: Forbidden.
I assume you already checked whether the web proxy on localhost is working fine
(with some other application than pca/wget)? It's impossible to say whether
this 403 comes from the proxy or the webserver itself.
Next thing to check would be the log files (access_log/error_log) of the apache
web server (under /var/apache*/logs, if you're using Sun's apache). If
it's really a permission problem with the CGI, this should tell you.
Then I'd recommend to set "debug=1" in the proxy's
configuration file (pca-proxy.conf) and look at /tmp/pca-proxy-debug.txt. It
will show you debug output of pca-proxy.cgi.
> The cgi-file is owned by our apache user, our pca download directory
> is owned by the apache user, /etc/pca.conf is owned by our apache user.
There's one important change concerning the config files in pca version
20081024-01 - the CGI will not read any pca.conf files anymore, only
pca-proxy.conf. This was necessary as there was a lot of confusion when running
pca and pca-proxy.cgi on the same machine. If you recently installed a new
version of pca or enabled auto update, this might be a point to check.
If this doesn't help you to resolve the problem, please post relevant lines
from the above mentioned log files, pca config files and exact commands you use
for further diagnosis.
Martin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.univie.ac.at/mailman/private/pca/attachments/20090128/442eb8ec/attachment.html
More information about the pca
mailing list