免费注册 查看新帖 |

Chinaunix

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

apache 启动问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-05-07 11:32 |只看该作者 |倒序浏览
使用:  /usr/local/apahce/bin/apachectl start 启动apache2.2.4   
执行命令后,apache并没有启动。日志为:



[Mon May 07 11:22:38 2007] [notice] Digest: generating secret for digest authent
ication ...
[Mon May 07 11:22:38 2007] [notice] Digest: done
[Mon May 07 11:22:39 2007] [warn] pid file /usr/local/apache/logs/httpd.pid over
written -- Unclean shutdown of previous Apache run?
[Mon May 07 11:22:39 2007] [notice] Apache/2.2.4 (Unix) DAV/2 PHP/5.2.2 configur
ed -- resuming normal operations
[Mon May 07 11:22:39 2007] [alert] (12)Cannot allocate memory: apr_thread_create
: unable to create worker thread
[Mon May 07 11:22:39 2007] [alert] (12)Cannot allocate memory: apr_thread_create
: unable to create worker thread
[Mon May 07 11:22:39 2007] [alert] (12)Cannot allocate memory: apr_thread_create
: unable to create worker thread
[Mon May 07 11:22:41 2007] [alert] No active workers found... Apache is exiting!



哪位大哥帮忙看看。我觉得是内存或者虚拟内存的问题。但不知道如何解决

[ 本帖最后由 demy168 于 2007-5-7 11:33 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2007-05-07 12:57 |只看该作者
Apache is exiting好像是说apache已经启动..我也是刚学apache,下面是官方长手册.

http://lamp.linux.gov.cn/Apache/ApacheMenu/stopping.html

论坛徽章:
0
3 [报告]
发表于 2007-05-07 15:59 |只看该作者
exiting是退出的意思,
Cannot allocate memory,无法分配内存空间?
unable to create worker thread无法创建工作线程?
说说你的内核,是不是经过自己编译过的?
还有你是怎样安装apache的

论坛徽章:
0
4 [报告]
发表于 2007-05-07 16:19 |只看该作者

回复 #3 prettywolf 的帖子

apache2.2.4 是编译安装的。
操作系统是        redhat-as4 虚拟出来的VPS
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP