Proxy error

General discussion on Zend Core for IBM System i
Post Reply
Posts: 13
Joined: Mon Apr 12, 2010 8:46 pm

Proxy error

Post by tsimikew » Mon Apr 12, 2010 9:17 pm

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?

Posts: 2
Joined: Tue May 04, 2010 3:09 pm

Re: Proxy error

Post by equalium » Thu May 06, 2010 11:53 am

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.


Post Reply