web与tomcat服务器集成问题汇总
发表于:2024-09-23 作者:千家信息网编辑
千家信息网最后更新 2024年09月23日,场景1: httpd server不能够编译,错误如下:configure: error: in `/opt/httpd-2.2.19/srclib/apr':configure: error: no
千家信息网最后更新 2024年09月23日web与tomcat服务器集成问题汇总
场景1: httpd server不能够编译,
错误如下:
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
原因:缺少c编辑器,比如 GCC或GCC+等。
解决方案:下载GCC编译器并编译它。
场景2 Apache不能够使用make命令编译,显示已存在该进程。
Error: make is not able to compile the code
原因:make不能够执行该函数
解决方案: 运行下面命令
make clean#Thenmakemake install
场景3 Apache HTTP服务器不能够连接到TOMCAT7
Error:不能通过 AJP连接
原因:端口被阻止或者AJP的配置有错误
解决方案:使用下列命令检查日志
[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:52:23.555 2011] [13355:3086857920] [warn] jk_map_validate_property::jk_map.c (411): The attribute 'worker.node1.cachesize' is deprecated - please check the documentation for the correct replacement.[Mon Jul 25 16:52:23.555 2011] [13355:3086857920] [info] init_jk::mod_jk.c (3252): mod_jk/1.2.32 () initialized[Mon Jul 25 16:52:23.564 2011] [13356:3086857920] [warn] jk_map_validate_property::jk_map.c (411): The attribute 'worker.node1.cachesize' is deprecated - please check the documentation for the correct replacement.[Mon Jul 25 16:52:23.564 2011] [13356:3086857920] [info] init_jk::mod_jk.c (3252): mod_jk/1.2.32 () initialized
也可以运行./apachectl configtest检查配置文件配置是否正确
编译
原因
命令
场景
方案
解决方案
配置
错误
检查
运行
服务器
服务
函数
文件
日志
端口
编译器
编辑器
进程
问题
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
企业网络安全等级保护通知
数据库是多线程
芜湖软件开发工程师有前途吗
网络安全如何做网络营销
ps5港版的原神是哪个服务器
网络安全工程师的工资内容
怎么样学好数据库
基于网络安全能做什么项目
公司服务器没有储存权限
客运数据库
山西浪潮服务器维修调试费用
教体局网络安全防护预案
枣庄便民平台软件开发
新建项目网络安全预算
万得数据库功能
互联网前沿科技创新创业
ssh启动数据库连接
网络技术难吗
数据库查询连接查询实验卡
服务器的管理口如何配置
pcie4.0主板服务器
网络安全违规问责原则有哪些
感谢互联网感谢高科技
成都中国网络安全之城
数据库错误码162
linux软件开发实践
山亭软件开发学习网站教学视频
虚拟主机对异地服务器有影响吗
自己买服务器搭建免流
银行科技部属于互联网