你好!
我的意思是打开XAMPP的时候,mysql可以用,在进程里也有mysql-nt 说明mysql正在运行。
可是点apache的时候 点start就立即关闭了,
没有beginning的提示。也没有stop的提示。
XAMPP这个软件没有问题,就是在网吧里的时候不能打开APACHE,
帮帮我啊,谢谢了。

解决方案 »

  1.   

    http://download.csdn.net/user/mrshelly下载..错误提示在APACHE errorlog 里,去查看一下.不能启的原因很多..最有可能的原因.1 服务没有正确安装.
    2 站点文件夹不对.
    3 端口被占用.
      

  2.   

    [Fri Feb 01 11:06:18 2008] [notice] Server built: Sep 21 2007 00:29:38
    [Fri Feb 01 11:06:18 2008] [notice] Parent: Created child process 1128
    [Fri Feb 01 11:06:20 2008] [notice] Child 1128: Child process is running
    [Fri Feb 01 11:06:20 2008] [crit] (OS 10022)提供了一个无效的参数。  : Child 1128: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
    [Fri Feb 01 11:06:20 2008] [crit] Parent: child process exited with status 3 -- Aborting.
    [Fri Feb 01 11:06:55 2008] [notice] Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.4 configured -- resuming normal operations
    [Fri Feb 01 11:06:55 2008] [notice] Server built: Sep 21 2007 00:29:38
    [Fri Feb 01 11:06:55 2008] [notice] Parent: Created child process 168
    [Fri Feb 01 11:06:57 2008] [notice] Child 168: Child process is running
    [Fri Feb 01 11:06:57 2008] [crit] (OS 10022)提供了一个无效的参数。  : Child 168: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
    [Fri Feb 01 11:06:57 2008] [crit] Parent: child process exited with status 3 -- Aborting.
    [Fri Feb 01 11:07:01 2008] [notice] Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.4 configured -- resuming normal operations
    [Fri Feb 01 11:07:01 2008] [notice] Server built: Sep 21 2007 00:29:38
    [Fri Feb 01 11:07:01 2008] [notice] Parent: Created child process 1932
    [Fri Feb 01 11:07:03 2008] [notice] Child 1932: Child process is running
    [Fri Feb 01 11:07:03 2008] [crit] (OS 10022)提供了一个无效的参数。  : Child 1932: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
    [Fri Feb 01 11:07:03 2008] [crit] Parent: child process exited with status 3 -- Aborting.
    您好!
    这个是我的apache 里的errorlog里的最后几行,这个以上的都是重复的
    我也不真鲷是哪里出错了 帮我看看好吗?谢谢您
      

  3.   

    1   服务没有正确安装. 服务应该是正确的
    理由:我在service 找到了apache2然后点启动,可以启动,但是立即停止了
    2   站点文件夹不对. 
    站点文件夹用的安装时候默认的文件夹
    3   端口被占用.
    我也没开IIS也没有讯雷,skype等工具,不应该被占用啊我在网吧是不和这个有关系
    可是我在网吧的别的机器上可以用啊
      

  4.   

    [Fri Feb 01 14:33:10 2008] [notice] Apache/2.2.4 (Win32) configured -- resuming normal operations
    [Fri Feb 01 14:33:10 2008] [notice] Server built: Jan  9 2007 23:17:20
    [Fri Feb 01 14:33:10 2008] [notice] Parent: Created child process 468
    [Fri Feb 01 14:33:10 2008] [notice] Child 468: Child process is running
    [Fri Feb 01 14:33:10 2008] [crit] (OS 10022)提供了一个无效的参数。  : Child 468: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
    [Fri Feb 01 14:33:11 2008] [crit] Parent: child process exited with status 3 -- Aborting.
    [Fri Feb 01 14:38:03 2008] [notice] Apache/2.2.4 (Win32) configured -- resuming normal operations
    [Fri Feb 01 14:38:03 2008] [notice] Server built: Jan  9 2007 23:17:20
    [Fri Feb 01 14:38:03 2008] [notice] Parent: Created child process 460
    [Fri Feb 01 14:38:03 2008] [notice] Child 460: Child process is running
    [Fri Feb 01 14:38:03 2008] [crit] (OS 10022)提供了一个无效的参数。  : Child 460: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
    [Fri Feb 01 14:38:03 2008] [crit] Parent: child process exited with status 3 -- Aborting.
    [Fri Feb 01 14:38:11 2008] [notice] Apache/2.2.4 (Win32) configured -- resuming normal operations
    [Fri Feb 01 14:38:11 2008] [notice] Server built: Jan  9 2007 23:17:20
    [Fri Feb 01 14:38:11 2008] [notice] Parent: Created child process 636
    [Fri Feb 01 14:38:11 2008] [notice] Child 636: Child process is running
    [Fri Feb 01 14:38:11 2008] [crit] (OS 10022)提供了一个无效的参数。  : Child 636: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
    [Fri Feb 01 14:38:11 2008] [crit] Parent: child process exited with status 3 -- Aborting.郁闷死人了 还是调试不出来
    就是这些错误日志
      

  5.   

    我终于搞明白了这个问题 
    只要调网络设置的高级选项就可以了 
    感谢大家的关注!感谢大家的帮忙! 
    如果以后有人再碰到APACHE的配置问题,请联系我,也许我们可以互相帮忙互相学习。 
    现在可以解决绝大多数的APACHE的配置问题了。 
    我的QQ是148375287
      

  6.   

    嗯, 如果说是 wsocket 的上问题.
    估计是DNS 反向查询的问题.只需把 监听IP的连接里的 LMHOSTS查询 禁用就行了.方法: 连接属性-->TCP/IP 协议属性-->WINS 选项卡-->去掉 启用 LMHOSTS查询 前面的勾.
      

  7.   

    到apache 的.conf 文件里该一下端口