root@dell-desktop:~# /usr/local/apache2/bin/apachectl restart
root@dell-desktop:~# /usr/local/apache2/bin/apachectl restart
httpd not running, trying to start
root@dell-desktop:~# /usr/local/apache2/bin/apachectl restart
root@dell-desktop:~# /usr/local/apache2/bin/apachectl restart
httpd not running, trying to start
root@dell-desktop:~# /usr/local/apache2/bin/httpd -k restart
root@dell-desktop:~# /usr/local/apache2/bin/httpd -k restart
httpd not running, trying to start
root@dell-desktop:~# /usr/local/apache2/bin/httpd -k restart
root@dell-desktop:~# /usr/local/apache2/bin/httpd -k restart
httpd not running, trying to start
同学们你们的机子有没有这种怪异的问题?
我的是apache2.4.1 on linux 3.0,昨天刚装的

解决方案 »

  1.   

    httpd not running, trying to start....apachectl start
      

  2.   

    apache本身是启动的,反倒是restart把apache给停掉了
      

  3.   

    他都说是 httpd not runnin 怎么是启动的呢?你怎么判断已经启动了
      

  4.   

    第一次restart没报错。
    第二次报错,顺带就启动apache(trying to start)
    接着restart又没有报错......
    由此判断,加上我在浏览器上测试,得出每次restart都会弄停apache(前提是apache已启动)
    记得以前好像在windows也上遇到过这种事。 那大概是人品值太低的缘故。。