Trying to start Apache instance configured for FastCGI and I get the
following error.
From module . . . . . . . . :   QP2LOAD
From procedure  . . . . . . :   send_message__FPcT1Pvi
Statement . . . . . . . . . :   11
To module . . . . . . . . . :   QP0ZPCPN
To procedure  . . . . . . . :   Qp0zNewProcess
Statement . . . . . . . . . :   278
Message . . . . :   Not authorized to PASE for i program
  /QOpenSys/QIBM/ProdData/OS400/PASE/sbin/zfcgi.
Cause . . . . . :   You must have execute authority for the file and every
  directory in the path. You may also need read authority to the file if it
is
on a remote file system or a local file system other than the root file
system or QOpenSys file system. Recovery  . . . :   Verify that you have
read and execute authority to the file, and execute authority to all
directories in the path, then try the request again. Technical description .
. . . . . . . :   The error occurred loading Portable Application Solutions
Environment program /QOpenSys/QIBM/ProdData/OS400/PASE/sbin/zfcgi.
I have a shell script named full_path_perms.sh** that gives me the perms
for each dir, as shown below.
$ ./full_path_perms.sh /QOpenSys/QIBM/ProdData/OS400/PASE/sbin/zfcgi
drwxrwsrwx   13 qsys     0            339968 Dec 21 21:41 /QOpenSys
drwxr-sr-x    4 qsys     0              8192 May 21 2015  /QOpenSys/QIBM
drwxr-sr-x   13 qsys     0             12288 Jan  8 16:59
/QOpenSys/QIBM/ProdData
drwxr-sr-x    6 qsys     0              8192 May 21 2015
 /QOpenSys/QIBM/ProdData/OS400
drwxr-sr-x    9 qsys     0              8192 May 21 2015
 /QOpenSys/QIBM/ProdData/OS400/PASE
drwxr-sr-x    2 qsys     0             28672 Nov 25 09:04
/QOpenSys/QIBM/ProdData/OS400/PASE/sbin
-rwxr-xr-x    1 qsys     0             36114 Oct  6 2013
 /QOpenSys/QIBM/ProdData/OS400/PASE/sbin/zfcgi
My httpd.conf file: 
https://bitbucket.org/snippets/aaronbartell/jnB79
Everything looks correct concerning perms (r+x on every dir in tree).  I am
up to date with PTFs.  Any suggestions?
**
----full_path_perms.sh----
#!/bin/sh
l_path=$1
while [ "$l_path" != / -a "$l_path" != . ]; do
     ls -ld $l_path
     l_path=$(dirname -- "$l_path")
done | sed '1!G;h;$!d'
# credits to bit.ly/full-dir-path-perms for this code
Aaron Bartell
litmis.com - Services for open source on IBM i
As an Amazon Associate we earn from qualifying purchases.