1

重新启动 apache 时出现此错误,在我执行了几个 a2ensite 命令后出现错误,现在它不想重新启动

    [Mon Sep 10 23:00:52 2012] [warn] pid file /var/run/apache2.pid overwritten 
-- Unclean shutdown of pre        vious Apache run?
4

2 回答 2

1

你试过了吗 :

sudo rm /var/run/apache2.pid
sudo /etc/init.d/apache2 stop
sudo /etc/init.d/apache2 start 

?

于 2012-09-10T21:13:55.933 回答
0

重新加载/etc/init.d/apache2 reload,现在一切正常

于 2012-09-10T21:23:06.853 回答