我的apache无法启动,请帮帮我。
症状:
1 安装apache以后 点start 提示 “the requested operation has failed!”
2 这是如下的错误日志:
Fri Feb 01 16:09:28 2008] [notice] Apache/2.2.4 (Win32) configured -- resuming normal operations
[Fri Feb 01 16:09:28 2008] [notice] Server built: Jan 9 2007 23:17:20
[Fri Feb 01 16:09:28 2008] [notice] Parent: Created child process 792
[Fri Feb 01 16:09:28 2008] [notice] Child 792: Child process is running
[Fri Feb 01 16:09:28 2008] [crit] (OS 10022)提供了一个无效的参数。 : Child 792: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Fri Feb 01 16:09:28 2008] [crit] Parent: child process exited with status 3 -- Aborting.
3 在-管理工具里的服务里面有apache2,但是点启动时,最后一行提示参定服务错误代码1。
4 我的httpd.conf的基本配置是:(前面有#号的都删了,因为帖子不能放那么多字)
ThreadsPerChild 250
MaxRequestsPerChild 1
ServerRoot "C:/Program Files/Apache Software Foundation/Apache2.2"
Listen 80
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule dir_module modules/mod_dir.so
LoadModule env_module modules/mod_env.so
LoadModule imagemap_module modules/mod_imagemap.so
LoadModule include_module modules/mod_include.so
LoadModule isapi_module modules/mod_isapi.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule userdir_module modules/mod_userdir.so
ServerAdmin nxdawukoussz@126.com
ServerName localhost:80
DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Satisfy all
</Directory>
<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs">
Order allow,deny
Allow from all
</Directory>
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
6 我没有开iis 也没有开讯雷,和网络电话什么的。
我掌握的信息就是这样了,谢谢大家我已经倒腾了3天了,希望大家帮帮我。谢谢
------解决方案--------------------关注
------解决方案--------------------MaxRequestsPerChild 0