Hi Everyone, So still having issues with mod_jk. I have downloaded
wget http://www.eu.apache.org/dist/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.46-src.tar.gz wget http://www.eu.apache.org/dist/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.46-src.tar.gz.sha1 and make install, and everything seems fine I then edited the httpd.conf file and added LoadModule jk_module modules/mod_jk.so JkWorkersFile "/etc/httpd/conf/workers.properties" JkLogFile "/var/log/mod_jk.log" JkLogLevel info JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories JkRequestLogFormat "%w %V %T" then I edited workers.properties and added worker.list=app1,app2 worker.app1.type=ajp13 worker.app1.host=app1.example.com worker.app1.port=8201 worker.app1.socket_timeout=10 worker.app2.type=ajp13 worker.app2.host=app2.example.com worker.app2.port=8201 worker.app1.socket_timeout=10 Then when I restart Apache using systemctl restart httpd I get Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.servic e" and "journalctl -xe" for details. So checking mod_jk log I see [Wed Nov 21 15:54:19 2018] [11957:140478724515968] [warn] jk_map_handle_duplicates::jk_map.c (456): Duplicate key $ and the httpd log last entries are [Wed Nov 21 15:54:13.789384 2018] [mpm_prefork:notice] [pid 7569] AH00170: caught SIGWINCH, shutting down gracefully [Wed Nov 21 15:54:19.910325 2018] [core:notice] [pid 11957] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0 [Wed Nov 21 15:54:19.911278 2018] [suexec:notice] [pid 11957] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Wed Nov 21 15:54:19.916294 2018] [jk:warn] [pid 11957] No JkShmFile defined in httpd.conf. Using default /etc/httpd/logs/jk-runtime-status [Wed Nov 21 15:54:19.916632 2018] [jk:emerg] [pid 11957] Initializing shm:/etc/httpd/logs/jk-runtime-status.11957 errno=13. Unable to start due to shared memory failure. [Wed Nov 21 15:54:19.916639 2018] [jk:emerg] [pid 11957] Initializing shm:/etc/httpd/logs/jk-runtime-status.11957 errno=13. Unable to start due to shared memory failure. I am not sure if the first 3 are connected to mod_jk, I included them for those who know far more then me (almost everyone I suspect) just in case And ideas, hints or thoughts? Thanks! Lou On Fri, Nov 16, 2018 at 9:56 AM Lou Wallace <mrlouwall...@gmail.com> wrote: > Hi All, > > I am in need of some help in getting mod_jk installed on a new google > cloud server. > > Right now it has Apache, Tomcat, Java, mysql, perl and python installed. > But mod_jk isn't there. > > When I try yum install mod_jk it isn't found in any of the mirrors. > > I've been to the Tomcat site and when I try and get binaries or source it > sees I am on a windows pc and forces me to those directories. > > So, if someone can give me a simple set of commands to do this it would be > awesome. Also is there other tomcat connectors needed with java? > > Preferable it will be done from the ssh client on the cloud server. > > Thanks! > > Lou >