免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1619 | 回复: 3

求助大侠 关于整合apache and resin 问题 [复制链接]

论坛徽章:
0
发表于 2008-05-29 10:22 |显示全部楼层
在我的服务器上  做了以下设置
整合Apache和Resin
1)修改/usr/local/apache/conf/httpd.conf
增加:
LoadModule caucho_module /usr/local/apache/libexec/mod_caucho.so
ResinConfigServer localhost 6802
CauchoStatus yes
<Location /caucho-status>
  SetHandler caucho-status
</Location>
2)修改/usr/local/resin/conf/resin.conf
修改以下片断:
<cluster>
      <srun server-id="" host="127.0.0.1" port="6802"/>
</cluster>
<host id="">
    <web-app id='/' document-directory="/var/www"/>
</host>
3)
重新启动 apache,
/usr/local/apache/bin/apachectl restart
在最后restart后 报错了  httpd: Syntax error on line 9 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/mod_caucho.so into server: /usr/local/apache/libexec/mod_caucho.so: cannot open shared object file: No such file or directory
不知道是什么原因 没有 loadmodule 成功啊

论坛徽章:
0
发表于 2008-05-29 10:41 |显示全部楼层
tail /var/log/messages

应该有关于selinux 信息。贴出来。照着提示做就可以了。

论坛徽章:
0
发表于 2008-05-29 11:43 |显示全部楼层
原帖由 守住每一天 于 2008-5-29 10:41 发表
tail /var/log/messages

应该有关于selinux 信息。贴出来。照着提示做就可以了。



晕,瞎指点个啥哦,又不是系统错误
/usr/local/apache/libexec/mod_caucho.so: cannot open shared object file: No such file or directory
已经说得很清楚了,找不到这个文件.看看是不是路径写错了

论坛徽章:
0
发表于 2008-05-30 12:00 |显示全部楼层

回复 #3 voxxu 的帖子

是的 大侠说得没错! 这个问题搞定了
不过 在 resin.conf 里边 配置 有问题
我要整合apache resin
配置resin.conf 怎么都不行  ./httpd.sh 就报错 说
srun 那行有问题
看了很多文章 还是不会
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP