Page 1 of 1

Proxy error

Posted: Mon Apr 12, 2010 9:17 pm
by tsimikew
I start my Zend server by submitting the following QSH command:
CMD('/usr/local/Zend/apache2/bin/apachectl -f /usr/local/Zend/apache2/conf/httpddev.conf -k start')

I then start an Apache server using STRTCPSVR *HTTP. The latter is associated with the Zend server through the following directives:
LoadModule proxy_connect_module /QSYS.LIB/QHTTPSVR.LIB/QZSRCORE.SRVPGM

This works fine when I use a user ID with *ALLOBJ authority, but when I the QSYSOPR user ID tries to execute the same commands, the browser displays the following information:
Proxy error -

The proxy server received a response from an upstream server that is not valid.

The proxy could not handle the request for GET /

Reason: Could not connect to remote server ( Connection attempts to all IP addresses failed.

Is this an authority problem? If so, how do I find out which objects I need to give QSYSOPR access to? If not, what steps should I take to locate the problem?

Re: Proxy error

Posted: Thu May 06, 2010 11:53 am
by equalium
Hello tsimikew,

I think it's an authority problem indeed. The documents from IBM states clearly that Apache/Zendcore should run with *SECOFR rights or alike (which is similar to *ALLOBJ authority in the end). That is, when starting Apache from QSH or from ZCMENU OS/400 menu, you should have the kind of authorities. QSYSOPR hasn't much authority though compared to other system profiles.

Hope it helps.