I have been struggling to get mod_jk installed on a Centos 7 web server running on Google Cloud. I finally got it compiled and installed but when I add info in httpd.conf and restart Apache, Apache fails to start. Here is the info I have. Help please!
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" when I restart apache I get # systemctl restart httpd Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details. The details are [root@server2 conf]# systemctl status httpd.service ● httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since Sun 2018-11-18 21:30:19 UTC; 49s ago Docs: man:httpd(8) man:apachectl(8) Process: 24980 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE) Process: 24979 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE) Main PID: 24979 (code=exited, status=1/FAILURE) Nov 18 21:30:19 server2 systemd[1]: Starting The Apache HTTP Server... Nov 18 21:30:19 server2 systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE Nov 18 21:30:19 server2 kill[24980]: kill: cannot find process "" Nov 18 21:30:19 server2 systemd[1]: httpd.service: control process exited, code=exited status=1 Nov 18 21:30:19 server2 systemd[1]: Failed to start The Apache HTTP Server. Nov 18 21:30:19 server2 systemd[1]: Unit httpd.service entered failed state. Nov 18 21:30:19 server2 systemd[1]: httpd.service failed. # journalctl -xe bash: [root@server2: command not found [root@server2 conf]# Nov 18 21:27:00 server2 systemd-logind[345]: New session 39 of user dmo2. bash: Nov: command not found [root@server2 conf]# -- Subject: A new session 39 has been created for user dmo2 bash: --: command not found [root@server2 conf]# -- Defined-By: systemd bash: --: command not found [root@server2 conf]# -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel bash: --: command not found [root@server2 conf]# -- Documentation: http://www.freedesktop.org/wiki/Software/systemd/multiseat bash: --: command not found [root@server2 conf]# -- bash: --: command not found [root@server2 conf]# -- A new session with the ID 39 has been created for the user dmo2. bash: --: command not found [root@server2 conf]# -- bash: --: command not found [root@server2 conf]# -- The leading process of the session is 24831. bash: --: command not found [root@server2 conf]# Nov 18 21:27:00 server2 systemd[1]: Starting Session 39 of user dmo2. bash: Nov: command not found [root@server2 conf]# -- Subject: Unit session-39.scope has begun start-up bash: --: command not found [root@server2 conf]# -- Defined-By: systemd bash: --: command not found [root@server2 conf]# -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel bash: --: command not found [root@server2 conf]# -- bash: --: command not found [root@server2 conf]# -- Unit session-39.scope has begun starting up. bash: --: command not found [root@server2 conf]# Nov 18 21:30:11 server2 polkitd[338]: Registered Authentication Agent for unix-process:24969:10491176 (system bus name bash: syntax error near unexpected token `(' [root@server2 conf]# Nov 18 21:30:11 server2 systemd[1]: Stopping The Apache HTTP Server... bash: Nov: command not found [root@server2 conf]# -- Subject: Unit httpd.service has begun shutting down bash: --: command not found [root@server2 conf]# -- Defined-By: systemd bash: --: command not found [root@server2 conf]# -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel bash: --: command not found [root@server2 conf]# -- bash: --: command not found [root@server2 conf]# -- Unit httpd.service has begun shutting down. bash: --: command not found [root@server2 conf]# Nov 18 21:30:19 server2 systemd[1]: Starting The Apache HTTP Server... On Sun, Nov 18, 2018 at 8:30 AM Violeta Georgieva <violet...@apache.org> wrote: > The Apache Tomcat team announces the immediate availability of Apache > Tomcat 7.0.92. > > Apache Tomcat is an open source software implementation of the Java > Servlet, JavaServer Pages, Java Expression Language and Java > WebSocket technologies. > > This release contains a number of bug fixes and improvements compared to > version 7.0.91. The notable changes since 7.0.91 include: > > > - Support for TLSv1.3 when used with a JRE or OpenSSL version that > supports it > > > Please refer to the change log for the complete list of changes: > http://tomcat.apache.org/tomcat-7.0-doc/changelog.html > > Apache Tomcat website: > http://tomcat.apache.org > > Downloads: > http://tomcat.apache.org/download-70.cgi > > Migration guides from Apache Tomcat 5.5.x and 6.0.x: > http://tomcat.apache.org/migration.html > > Enjoy > > The Apache Tomcat team >