免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 5489 | 回复: 12
打印 上一主题 下一主题

关于mod_perl问题请教 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-07-14 09:19 |只看该作者 |倒序浏览
windows +perl5.10+apache2.2.8+mod_perl2.0.4(perl.apache.org上下载的 )


安装后,启动apache  报错
[Mon Jul 14 09:11:46 2008] [notice] Apache/2.2.8 (Win32) PHP/5.2.6 mod_perl/2.0.4-dev Perl/v5.10.0 configured -- resuming normal operations
[Mon Jul 14 09:11:46 2008] [notice] Server built: Jan 18 2008 00:37:19
[Mon Jul 14 09:11:46 2008] [crit] (22)Invalid argument: Parent: Failed to create the child process.
[Mon Jul 14 09:11:46 2008] [crit] (OS 6)句柄无效。  : master_main: create child process failed. Exiting.
[Mon Jul 14 09:12:16 2008] [notice] Parent: Forcing termination of child process 36


请各位帮忙 ~~~

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
2 [报告]
发表于 2008-07-14 09:24 |只看该作者
apachectl configtest
先看看设定档那边写错...

论坛徽章:
0
3 [报告]
发表于 2008-07-14 13:41 |只看该作者

回复 #2 apile 的帖子

没错误的
configtest是没问题

论坛徽章:
0
4 [报告]
发表于 2008-07-14 19:56 |只看该作者
那你就把出错那段code拿来看看

论坛徽章:
0
5 [报告]
发表于 2008-07-14 22:07 |只看该作者
我贴啥?
啥都还没做呢,就是配置完启动一下apache出现问题了

论坛徽章:
0
6 [报告]
发表于 2008-07-15 09:14 |只看该作者
我的建议是不要在win下搞mod_perl, 虽然可以运行起来,但是要麻烦许多
换系统或用虚拟机, 建议而已
easyworld 该用户已被删除
7 [报告]
发表于 2008-07-15 12:33 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
8 [报告]
发表于 2008-07-20 16:44 |只看该作者
我再XP上安装perl成功了,apache运行也正常,
但是我在服务器2003,就死活搞不定了。
只要加载 LoadModule perl_module modules/mod_perl.so
apache老是开启了一下,就自动停止了。(开启的10几秒是可以正常运行php 和perl的)
报的错误和楼主差不多。


  1. [Sun Jul 20 16:07:50 2008] [notice] Child 180: Child process is running
  2. [Sun Jul 20 16:07:50 2008] [notice] Child 180: Acquired the start mutex.
  3. [Sun Jul 20 16:07:50 2008] [notice] Child 180: Starting 100 worker threads.
  4. [Sun Jul 20 16:08:08 2008] [notice] Child 180: Process exiting because it reached MaxRequestsPerChild. Signaling the parent to restart a new child process.
  5. [Sun Jul 20 16:08:08 2008] [notice] Parent: Received restart signal -- Restarting the server.
  6. [Sun Jul 20 16:08:08 2008] [notice] Apache configured -- resuming normal operations
  7. [Sun Jul 20 16:08:08 2008] [notice] Server built: Jul 27 2006 15:55:03
  8. [Sun Jul 20 16:08:08 2008] [crit] (22)Invalid argument: Parent: Failed to create the child process.
  9. [Sun Jul 20 16:08:08 2008] [crit] (OS 6)句柄无效。  : master_main: create child process failed. Exiting.
  10. [Sun Jul 20 16:08:08 2008] [notice] Parent: Forcing termination of child process 2866832
  11. [Sun Jul 20 16:08:09 2008] [notice] Child 180: Released the start mutex
  12. [Sun Jul 20 16:08:10 2008] [notice] Child 180: Waiting for 100 worker threads to exit.
  13. [Sun Jul 20 16:08:22 2008] [notice] Child 180: All worker threads have exited.
  14. [Sun Jul 20 16:08:22 2008] [notice] Child 180: Child process is exiting
  15. [Sun Jul 20 16:08:45 2008] [notice] Apache configured -- resuming normal operations
  16. [Sun Jul 20 16:08:45 2008] [notice] Server built: Jul 27 2006 15:55:03
  17. [Sun Jul 20 16:08:45 2008] [notice] Parent: Created child process 176
  18. [Sun Jul 20 16:08:45 2008] [notice] Child 176: Child process is running
  19. [Sun Jul 20 16:08:45 2008] [notice] Child 176: Acquired the start mutex.
  20. [Sun Jul 20 16:08:45 2008] [notice] Child 176: Starting 100 worker threads.

复制代码

[ 本帖最后由 spzgy 于 2008-7-20 16:47 编辑 ]

2003.zip

1.97 KB, 下载次数: 27

2003下,加载mod_perl报错日志

easyworld 该用户已被删除
9 [报告]
发表于 2008-07-21 09:27 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
10 [报告]
发表于 2008-07-24 18:16 |只看该作者

回复 #9 easyworld 的帖子

easyworld 请问你的apache版本是什么? 2 还是2.2
我的 apache2.0 ActivePerl 5.8 mod_perl 2.0 在2003下面能用得起,
但是apache老自动停止,如果不加载mod_perl就没有问题.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP