[OFBiz] Users - Apache front end ajp13 connector 127.0.0.1:8009 13 permission denied
Mat Sto
yada123 at gmail.com
Fri Feb 3 03:56:24 CST 2006
OK, I just found it
I'm not really sure on the security implications this has on the machine but
if you set the httpd_can_network_connect boolean to true it works. Yay!!!
to set the boolean permanently so it works when the machine is rebooted
execute this command
> setsebool -P httpd_can_network_connect=1
see http://www.fedoraforum.org/forum/archive/index.php/t-59291.html
cheers
On 2/3/06, Mat Sto <yada123 at gmail.com> wrote:
>
> Anyone on this list know about using Apache front end to ofbiz app
> with mod_jk2 and apj13 connectors?
>
> I'm running it on a Fedora core 4 box with Apache 2.0.54
>
> It's probabaly a unix port permissions problem or file permission. Hoping
> someone can help
>
> I have Apache configured as the front end and i'm trying to get it to
> connect to my ofbiz app using the ajp13 connector as I read about in the
> wiki, I'm using mod_jk2 and have set up workers2.properties file
> accordingly. When I start apachectl and my ofbiz app and hit the url I get
> internal server error.
>
> In the log I get a "channelSocket.open() connect failed 127.0.0.1:8009 13
> Permission denied"? any ideas on how to fix. It seems to be trying to do the
> right thing but some system permission has denied access.
>
> -Stoney
>
> I can attach the worker2.properties and httpd.conf if needed but they're
> just the standand config
>
> Important Bits of Log below:
>
> [Fri Feb 03 00:30:11 2006] [error] mod_jk child init 1 -2
>
> [Fri Feb 03 00:30:11 2006] [debug] util_ldap.c(1681): Initialisation of
> global mutex /tmp/filedazPy4 in child process 28784 successful.
>
> [Fri Feb 03 00:30:11 2006] [error] jk2_init() Can't find child 28784 in
> scoreboard
>
> [Fri Feb 03 00:30:11 2006] [debug] ../../common/jk_uriMap.c(377):
> uriMap.init() Fixing Host *
>
> [Fri Feb 03 00:30:11 2006] [debug] ../../common/jk_uriMap.c(464): uriMap:
> fix uri null context null host *
>
> [Fri Feb 03 00:30:11 2006] [debug] ../../common/jk_uriMap.c(464): uriMap:
> fix uri /* context null host *
>
> [Fri Feb 03 00:30:11 2006] [debug] ../../common/jk_uriMap.c(464): uriMap:
> fix uri /images/* context null host *
>
> [Fri Feb 03 00:30:11 2006] [debug] ../../common/jk_uriMap.c(464): uriMap:
> fix uri /catalog/* context null host *
>
> [Fri Feb 03 00:30:11 2006] [debug] ../../common/jk_uriMap.c(464): uriMap:
> fix uri /ordermgr/* context null host *
>
> [Fri Feb 03 00:30:11 2006] [debug] ../../common/jk_uriMap.c(464): uriMap:
> fix uri /accounting/* context null host *
>
> [Fri Feb 03 00:30:11 2006] [debug] ../../common/jk_uriMap.c(464): uriMap:
> fix uri /content/* context null host *
>
> [Fri Feb 03 00:30:11 2006] [debug] ../../common/jk_uriMap.c(464): uriMap:
> fix uri /facility/* context null host *
>
> [Fri Feb 03 00:30:11 2006] [debug] ../../common/jk_uriMap.c(464): uriMap:
> fix uri /manufacturing/* context null host *
>
> [Fri Feb 03 00:30:11 2006] [debug] ../../common/jk_uriMap.c(464): uriMap:
> fix uri /marketing/* context null host *
>
> [Fri Feb 03 00:30:11 2006] [debug] ../../common/jk_uriMap.c(464): uriMap:
> fix uri /partymgr/* context null host *
>
> [Fri Feb 03 00:30:11 2006] [debug] ../../common/jk_uriMap.c(464): uriMap:
> fix uri /webtools/* context null host *
>
> [Fri Feb 03 00:30:11 2006] [debug] ../../common/jk_uriMap.c(464): uriMap:
> fix uri /workeffort/* context null host *
>
> [Fri Feb 03 00:30:11 2006] [debug] ../../common/jk_uriMap.c(464): uriMap:
> fix uri /jkstatus/* context null host *
>
> [Fri Feb 03 00:30:11 2006] [debug] ../../common/jk_uriMap.c(464): uriMap:
> fix uri null context null host 127.0.0.1:8003
>
> [Fri Feb 03 00:30:11 2006] [debug] ../../common/jk_uriMap.c(464): uriMap:
> fix uri /ex context /ex host 127.0.0.1:8003
>
> [Fri Feb 03 00:30:11 2006] [debug] ../../common/jk_uriMap.c(464): uriMap:
> fix uri /examples context /examples host *
>
> [Fri Feb 03 00:30:11 2006] [debug] ../../common/jk_uriMap.c(464): uriMap:
> fix uri /examples1/* context null host *
>
> [Fri Feb 03 00:30:11 2006] [debug] ../../common/jk_uriMap.c(464): uriMap:
> fix uri /examples/servlet/* context null host *
>
> [Fri Feb 03 00:30:11 2006] [debug] ../../common/jk_uriMap.c(464): uriMap:
> fix uri /examples/*.jsp context null host *
>
> [Fri Feb 03 00:30:11 2006] [debug] ../../common/jk_uriMap.c(464): uriMap:
> fix uri /examples/* context null host *
>
> [Fri Feb 03 00:30:11 2006] [debug] ../../common/jk_uriMap.c(464): uriMap:
> fix uri /examples/servlet/HelloW context null host *
>
> [Fri Feb 03 00:30:11 2006] [debug] ../../common/jk_uriMap.c(464): uriMap:
> fix uri null context null host *
>
> [Fri Feb 03 00:30:11 2006] [debug] ../../common/jk_uriMap.c(464): uriMap:
> fix uri / context / host *
>
> [Fri Feb 03 00:30:11 2006] [debug] ../../common/jk_uriMap.c(464): uriMap:
> fix uri / context / host 127.0.0.1:8003
>
> [Fri Feb 03 00:30:11 2006] [debug] ../../common/jk_uriEnv.c(284):
> uriEnv.init() map /examples/servlet/HelloW lb:lb
>
> [Fri Feb 03 00:30:11 2006] [debug] ../../common/jk_uriEnv.c(356):
> uriEnv.init() exact mapping /examples/servlet/HelloW=lb:lb
>
> [Fri Feb 03 00:30:11 2006] [notice] workerEnv.init() ok
> /etc/httpd/conf/workers2.properties
>
> [Fri Feb 03 00:30:11 2006] [error] mod_jk child init 1 -2
>
> [Fri Feb 03 00:30:11 2006] [notice] Apache/2.0.54 (Fedora) configured --
> resuming normal operations
>
> [Fri Feb 03 00:30:11 2006] [info] Server built: Sep 2 2005 11:54:18
>
> [Fri Feb 03 00:30:11 2006] [debug] prefork.c(956): AcceptMutex: sysvsem
> (default: sysvsem)
>
> [Fri Feb 03 00:30:27 2006] [notice] shm.createSlot() Create 1 0xb7e72000
> 0xb7e74000
>
> [Fri Feb 03 00:30:27 2006] [notice] workerEnv.init() create slot epStat.0
>
> [Fri Feb 03 00:30:27 2006] [error] channelSocket.open() connect failed
> 127.0.0.1:8009 13 Permission denied
>
> [Fri Feb 03 00:30:27 2006] [error] ajp13.connect() failed
> ajp13:localhost:8009
>
> [Fri Feb 03 00:30:27 2006] [error] ajp13.service() failed to connect
> endpoint errno=13 Permission denied
>
> [Fri Feb 03 00:30:27 2006] [error] ajp13.service() Error forwarding
> ajp13:localhost:8009 1 1
>
> [Fri Feb 03 00:30:27 2006] [notice] ajp13.done() close endpoint
> ajp13:localhost:8009 error_state 1
>
> [Fri Feb 03 00:30:27 2006] [error] mod_jk.handler() Error connecting to
> tomcat 120000
>
> [Fri Feb 03 00:30:30 2006] [error] channelSocket.open() connect failed
> 127.0.0.1:8009 13 Permission denied
>
> [Fri Feb 03 00:30:30 2006] [error] ajp13.connect() failed
> ajp13:localhost:8009
>
> [Fri Feb 03 00:30:30 2006] [error] ajp13.service() failed to connect
> endpoint errno=13 Permission denied
>
> [Fri Feb 03 00:30:30 2006] [error] ajp13.service() Error forwarding
> ajp13:localhost:8009 1 1
>
> [Fri Feb 03 00:30:30 2006] [notice] ajp13.done() close endpoint
> ajp13:localhost:8009 error_state 1
>
> [Fri Feb 03 00:30:30 2006] [error] mod_jk.handler() Error connecting to
> tomcat 120000
>
> [Fri Feb 03 00:30:32 2006] [error] channelSocket.open() connect failed
> 127.0.0.1:8009 13 Permission denied
>
> [Fri Feb 03 00:30:32 2006] [error] ajp13.connect() failed
> ajp13:localhost:8009
>
> [Fri Feb 03 00:30:32 2006] [error] ajp13.service() failed to connect
> endpoint errno=13 Permission denied
>
> [Fri Feb 03 00:30:32 2006] [error] ajp13.service() Error forwarding
> ajp13:localhost:8009 1 1
>
> [Fri Feb 03 00:30:32 2006] [notice] ajp13.done() close endpoint
> ajp13:localhost:8009 error_state 1
>
> [Fri Feb 03 00:30:32 2006] [error] mod_jk.handler() Error connecting to
> tomcat 120000
>
> [Fri Feb 03 00:30:55 2006] [notice] shm.createSlot() Create 2 0xb7e72000
> 0xb7e76000
>
> [Fri Feb 03 00:30:55 2006] [notice] workerEnv.init() create slot epStat.4
>
> [Fri Feb 03 00:30:55 2006] [error] channelSocket.open() connect failed
> 127.0.0.1:8009 13 Permission denied
>
> [Fri Feb 03 00:30:55 2006] [error] ajp13.connect() failed
> ajp13:localhost:8009
>
> [Fri Feb 03 00:30:55 2006] [error] ajp13.service() failed to connect
> endpoint errno=13 Permission denied
>
> [Fri Feb 03 00:30:55 2006] [error] ajp13.service() Error forwarding
> ajp13:localhost:8009 1 1
>
> [Fri Feb 03 00:30:55 2006] [notice] ajp13.done() close endpoint
> ajp13:localhost:8009 error_state 1
>
> [Fri Feb 03 00:30:55 2006] [error] mod_jk.handler() Error connecting to
> tomcat 120000
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.ofbiz.org
> http://lists.ofbiz.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ofbiz.org/pipermail/users/attachments/20060203/82d3af26/attachment.htm
More information about the Users
mailing list