我用的apmserv,不知道为什么刚启动不到几秒就关闭了,请大侠帮忙看是怎么一回事啊。。

解决方案 »

  1.   

    配置一下CONF文件的http.conf可能端口80被占用了
      

  2.   

    看一下log中的错误信息,有可能端口冲突
      

  3.   

    [Fri Aug 14 10:48:06 2009] [notice] Apache/2.2.3 (APMServ) PHP/5.2.0 configured -- resuming normal operations
    [Fri Aug 14 10:48:06 2009] [notice] Server built: Sep 19 2006 23:43:19
    [Fri Aug 14 10:48:06 2009] [notice] Parent: Created child process 6888
    [Fri Aug 14 10:48:06 2009] [notice] Child 6888: Child process is running
    [Fri Aug 14 10:48:06 2009] [notice] Child 6888: Acquired the start mutex.
    [Fri Aug 14 10:48:06 2009] [notice] Child 6888: Starting 500 worker threads.
    [Fri Aug 14 10:48:06 2009] [notice] Child 6888: Starting thread to listen on port 880.
    [Fri Aug 14 10:48:50 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
    [Fri Aug 14 10:48:50 2009] [notice] Child 6888: Exit event signaled. Child process is ending.
    [Fri Aug 14 10:48:51 2009] [notice] Child 6888: Released the start mutex
    [Fri Aug 14 10:48:52 2009] [notice] Child 6888: Waiting for 500 worker threads to exit.
    [Fri Aug 14 10:48:52 2009] [notice] Child 6888: All worker threads have exited.
    [Fri Aug 14 10:48:52 2009] [notice] Child 6888: Child process is exiting
    [Fri Aug 14 10:48:52 2009] [notice] Parent: Child process exited successfully.以上log信息......................不知为啥就关闭了,还成功的。。
      

  4.   

    [Fri Aug 14 10:48:06 2009] [notice] Child 6888: Starting thread to listen on port 880.
    [Fri Aug 14 10:48:50 2009] [notice] Parent: Received shutdown signal -- Shutting down the server你用的880端口?这里写的不是很清楚了吗?监听你的880端口时出问题了,并关闭了服务!