Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
重新启动 apache 时出现此错误,在我执行了几个 a2ensite 命令后出现错误,现在它不想重新启动
[Mon Sep 10 23:00:52 2012] [warn] pid file /var/run/apache2.pid overwritten -- Unclean shutdown of pre vious Apache run?
你试过了吗 :
sudo rm /var/run/apache2.pid sudo /etc/init.d/apache2 stop sudo /etc/init.d/apache2 start
?
重新加载/etc/init.d/apache2 reload,现在一切正常
/etc/init.d/apache2 reload