Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Summary of integration problems between web and tomcat server

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Scenario 1: httpd server cannot be compiled with the following error: configure: error: in `/ opt/httpd-2.2.19/srclib/apr':configure: error: no acceptable C compiler found in $PATHSee `config.log' for more details.configure failed for srclib/apr

Reason: lack of c editors, such as GCC or GCC+.

Solution: download the GCC compiler and compile it.

Scenario 2 Apache cannot be compiled with the make command, showing that the process already exists.

Error: make is not able to compile the code

Reason: make cannot execute this function

Solution: run the following command

Make clean#Thenmakemake install scenario 3 Apache HTTP server cannot connect to TOMCAT7

Error: cannot connect through AJP

Reason: Port is blocked or AJP is misconfigured

Solution: check the log using the following command

[root@localhost logs] # cat error_ log [mon Jul 25 16:11:00 2011] [notice] Apache/2.2.19 (Unix) DAV/2 configured-- resuming normal operations [Mon Jul 25 16:52:16 2011] [notice] caught SIGTERM, shutting down [Mon Jul 25 16:52:23 2011] [warn] No JkShmFile defined in httpd.conf. Using default / opt/apache-2.2.19/logs/jk-runtime-status [Mon Jul 25 16:52:23 2011] [warn] No JkShmFile defined in httpd.conf. Using default / opt/apache-2.2.19/logs/jk-runtime-status [Mon Jul 25 16:52:23 2011] [notice] Apache/2.2.19 (Unix) DAV/2 mod_jk/1.2.32 configured-- resuming normal operations [root@localhost logs] # cat mod_ jk.log [Mon Jul 25 16 purge 52purl 23.555 2011] [13355 Vera 3086857920] [warn] jk_map_validate_property::jk_map.c: The attribute' Worker.node1.cachesize' is deprecated-please check the documentation for the correct replacement. [Mon Jul 25 16 Mon Jul 52 Mon Jul 23.555 2011] [13355 init_jk::mod_jk.c 3086857920] [info] init_jk::mod_jk.c (3252): mod_jk/1.2.32 () initialized [Mon Jul 25 16 Mon Jul 52 info 23.564 2011] [13356 worker.node1.cachesize' is deprecated 3086857920] [warn] jk_map_validate_property::jk_map.c: The attribute 'worker.node1.cachesize' is deprecated- Please check the documentation for the correct re info placement. [Mon Jul 25 16 Mon Jul 52 Mon Jul 23.564 2011] [13356 info] init_jk::mod_jk.c (3252): mod_jk/1.2.32 () initialized

You can also run. / apachectl configtest to check that the configuration file is configured correctly

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report