tetris
tetris

Reputation: 4372

apache2 error when restarting

im getting this error when restarting apache ,after i did a couple of a2ensite commands something when wrong and now it diesnt want to restart

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

Upvotes: 1

Views: 5185

Answers (2)

tetris
tetris

Reputation: 4372

did a reload /etc/init.d/apache2 reload and everything ok now

Upvotes: 0

Cyril ALFARO
Cyril ALFARO

Reputation: 1681

Did you try :

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

?

Upvotes: 1

Related Questions