[字号:  ]

apache服务起不来啊,各位帮忙看看

发布时间:2008-9-06 23:05   作者: ccrobin000   信息来源: PHPChina 开源社区门户
我安装的是appserv 2.5.9 但是安装之后死活都启动不了服务

我直接双击startup.bat时候就这样


01.JPG



使用apache monitor的时候就这样


02.JPG



后来索性到windows管理工具里头去手动启动就这样了


03.JPG



请哪位大侠好心帮帮忙啊,刚接触php就碰到这么大个钉子心情极度郁闷

最新回复

CrossMaya at 2008-9-06 23:06:11
不知道 我一直用wamp 非常方便 个人认为测试的话比app好
Fising at 2008-9-06 23:10:58
看看下载量就知道Appserv更好。
这个根本不是Appserv自身的问题。
楼主请检查迅雷是不是开了?
是不是安装过Dr.com或者Wincap之类的软件?
于安 at 2008-9-06 23:11:58
事件查看器..

贴出出错代码..
Fising at 2008-9-06 23:12:48
恩,日志。
ccrobin000 at 2008-9-07 02:37:05
出错代码

[Mon Feb 19 09:19:22 2007] [notice] Apache/2.2.4 (Win32) configured -- resuming normal operations
[Mon Feb 19 09:19:22 2007] [notice] Server built: Jan  9 2007 23:17:20
[Mon Feb 19 09:19:22 2007] [notice] Parent: Created child process 1992
[Mon Feb 19 09:19:22 2007] [notice] Child 1992: Child process is running
[Mon Feb 19 09:19:22 2007] [notice] Child 1992: Acquired the start mutex.
[Mon Feb 19 09:19:22 2007] [notice] Child 1992: Starting 250 worker threads.
[Mon Feb 19 09:19:22 2007] [notice] Child 1992: Starting thread to listen on port 80.
[Sat Sep 06 02:15:08 2008] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Sat Sep 06 02:15:08 2008] [notice] Server built: Jan  9 2007 23:17:20
[Sat Sep 06 02:15:08 2008] [notice] Parent: Created child process 516
[Sat Sep 06 02:15:09 2008] [notice] Child 516: Child process is running
[Sat Sep 06 02:15:09 2008] [crit] (OS 10022)提供了一个无效的参数。  : Child 516: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Sat Sep 06 02:15:09 2008] [crit] Parent: child process exited with status 3 -- Aborting.
[Sat Sep 06 02:16:04 2008] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Sat Sep 06 02:16:04 2008] [notice] Server built: Jan  9 2007 23:17:20
[Sat Sep 06 02:16:05 2008] [notice] Parent: Created child process 2640
[Sat Sep 06 02:16:05 2008] [notice] Child 2640: Child process is running
[Sat Sep 06 02:16:05 2008] [crit] (OS 10022)提供了一个无效的参数。  : Child 2640: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Sat Sep 06 02:16:05 2008] [crit] Parent: child process exited with status 3 -- Aborting.
[Sat Sep 06 02:16:26 2008] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Sat Sep 06 02:16:26 2008] [notice] Server built: Jan  9 2007 23:17:20
[Sat Sep 06 02:16:27 2008] [notice] Parent: Created child process 1940
[Sat Sep 06 02:16:29 2008] [notice] Child 1940: Child process is running
[Sat Sep 06 02:16:29 2008] [crit] (OS 10022)提供了一个无效的参数。  : Child 1940: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Sat Sep 06 02:16:29 2008] [crit] Parent: child process exited with status 3 -- Aborting.
[Sat Sep 06 02:18:54 2008] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Sat Sep 06 02:18:54 2008] [notice] Server built: Jan  9 2007 23:17:20
[Sat Sep 06 02:18:57 2008] [notice] Parent: Created child process 3312
[Sat Sep 06 02:18:57 2008] [notice] Child 3312: Child process is running
[Sat Sep 06 02:18:57 2008] [crit] (OS 10022)提供了一个无效的参数。  : Child 3312: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Sat Sep 06 02:18:57 2008] [crit] Parent: child process exited with status 3 -- Aborting.
[Sat Sep 06 02:20:38 2008] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Sat Sep 06 02:20:38 2008] [notice] Server built: Jan  9 2007 23:17:20
[Sat Sep 06 02:20:39 2008] [notice] Parent: Created child process 1188
[Sat Sep 06 02:20:39 2008] [notice] Child 1188: Child process is running
[Sat Sep 06 02:20:39 2008] [crit] (OS 10022)提供了一个无效的参数。  : Child 1188: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Sat Sep 06 02:20:39 2008] [crit] Parent: child process exited with status 3 -- Aborting.
[Sat Sep 06 02:20:48 2008] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Sat Sep 06 02:20:48 2008] [notice] Server built: Jan  9 2007 23:17:20
[Sat Sep 06 02:20:48 2008] [notice] Parent: Created child process 1868
[Sat Sep 06 02:20:49 2008] [notice] Child 1868: Child process is running
[Sat Sep 06 02:20:49 2008] [crit] (OS 10022)提供了一个无效的参数。  : Child 1868: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Sat Sep 06 02:20:49 2008] [crit] Parent: child process exited with status 3 -- Aborting.
[Sat Sep 06 02:21:04 2008] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Sat Sep 06 02:21:04 2008] [notice] Server built: Jan  9 2007 23:17:20
[Sat Sep 06 02:21:04 2008] [notice] Parent: Created child process 2740
[Sat Sep 06 02:21:05 2008] [notice] Child 2740: Child process is running
[Sat Sep 06 02:21:05 2008] [crit] (OS 10022)提供了一个无效的参数。  : Child 2740: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Sat Sep 06 02:21:05 2008] [crit] Parent: child process exited with status 3 -- Aborting.
[Sat Sep 06 02:21:29 2008] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Sat Sep 06 02:21:29 2008] [notice] Server built: Jan  9 2007 23:17:20
[Sat Sep 06 02:21:29 2008] [notice] Parent: Created child process 1984
[Sat Sep 06 02:21:31 2008] [notice] Child 1984: Child process is running
[Sat Sep 06 02:21:31 2008] [crit] (OS 10022)提供了一个无效的参数。  : Child 1984: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Sat Sep 06 02:21:31 2008] [crit] Parent: child process exited with status 3 -- Aborting.
[Sat Sep 06 22:03:21 2008] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Sat Sep 06 22:03:21 2008] [notice] Server built: Jan  9 2007 23:17:20
[Sat Sep 06 22:03:31 2008] [notice] Parent: Created child process 2352
[Sat Sep 06 22:03:34 2008] [notice] Child 2352: Child process is running
[Sat Sep 06 22:03:34 2008] [crit] (OS 10022)提供了一个无效的参数。  : Child 2352: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Sat Sep 06 22:03:34 2008] [crit] Parent: child process exited with status 3 -- Aborting.
[Sat Sep 06 22:54:52 2008] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Sat Sep 06 22:54:52 2008] [notice] Server built: Jan  9 2007 23:17:20
[Sat Sep 06 22:54:54 2008] [notice] Parent: Created child process 2156
[Sat Sep 06 22:54:55 2008] [notice] Child 2156: Child process is running
[Sat Sep 06 22:54:55 2008] [crit] (OS 10022)提供了一个无效的参数。  : Child 2156: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Sat Sep 06 22:54:55 2008] [crit] Parent: child process exited with status 3 -- Aborting.
[Sat Sep 06 22:57:11 2008] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Sat Sep 06 22:57:11 2008] [notice] Server built: Jan  9 2007 23:17:20
[Sat Sep 06 22:57:12 2008] [notice] Parent: Created child process 3896
[Sat Sep 06 22:57:12 2008] [notice] Child 3896: Child process is running
[Sat Sep 06 22:57:12 2008] [crit] (OS 10022)提供了一个无效的参数。  : Child 3896: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Sat Sep 06 22:57:12 2008] [crit] Parent: child process exited with status 3 -- Aborting.
[Sat Sep 06 22:59:52 2008] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Sat Sep 06 22:59:52 2008] [notice] Server built: Jan  9 2007 23:17:20
[Sat Sep 06 22:59:52 2008] [notice] Parent: Created child process 2972
[Sat Sep 06 22:59:52 2008] [notice] Child 2972: Child process is running
[Sat Sep 06 22:59:52 2008] [crit] (OS 10022)提供了一个无效的参数。  : Child 2972: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Sat Sep 06 22:59:52 2008] [crit] Parent: child process exited with status 3 -- Aborting.
17too at 2008-9-07 07:07:49
一般是端口占用问题~~
leejianjun at 2008-9-07 10:15:39
failed to open the inherited socket  (不能打开socket)
child process exited with status 3 -- Aborting(子进程因状态3-流产(应该翻译为失败)?退出)

就是说要检查一下socket所在的文件夹的权限,是否所属用户可读。。。。
ccrobin000 at 2008-9-07 12:31:13

QUOTE:

原帖由 17too 于 2008-9-7 07:07 发表
一般是端口占用问题~~
端口没占用,安装的时候,我把端口设置成8082了
ccrobin000 at 2008-9-07 12:32:26

QUOTE:

原帖由 leejianjun 于 2008-9-7 10:15 发表
failed to open the inherited socket  (不能打开socket)
child process exited with status 3 -- Aborting(子进程因状态3-流产(应该翻译为失败)?退出)

就是说要检查一下socket所在的文件夹的权限,是否所属用户 ...
socket在哪个文件夹啊?我用的是administrtor权限的用户
wodoe at 2008-9-07 13:23:29
缷了再装 appserv就那样 反复的启动服务 哎 我也遇到过
leejianjun at 2008-9-07 13:29:13

QUOTE:

原帖由 ccrobin000 于 2008-9-7 12:32 发表


socket在哪个文件夹啊?我用的是administrtor权限的用户
汗,,我没用过appserver啊。。。不过我也碰到过类似的问题,它也是提示说无法打开,我就到生成socket的文件夹看,发现权限是只有root能够查看。。修改其他用户和组也可以查看后就正常启动了。。。。至于这个appsrver的socket文件夹在哪。。百度或者GOOGLE一下咯。。。。。
ccrobin000 at 2008-9-09 08:12:01

QUOTE:

原帖由 leejianjun 于 2008-9-7 13:29 发表

汗,,我没用过appserver啊。。。不过我也碰到过类似的问题,它也是提示说无法打开,我就到生成socket的文件夹看,发现权限是只有root能够查看。。修改其他用户和组也可以查看后就正常启动了。。。。至于这个appsr ...
我是windows系统。。。跟你的不一样