Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apache restart history

Tags:

apache

Can someone please assist me.

I am trying to find a log on an Ubuntu server that will show me a history of dates and times when Apache was restarted.

Ubuntu version: Ubuntu 10.04.3 LTS Apache version: 2.2.14 (Ubuntu)

Thanks - Mike

like image 996
MikeSNP Avatar asked Nov 01 '25 02:11

MikeSNP


1 Answers

apache usually logs to /var/log/apache2 - depending on what log rotation/cleaning you have going on there should at least be an access_log and an error_log (names may change depending on apache config). In each you should be able to see restart messages.

like image 162
FreudianSlip Avatar answered Nov 04 '25 11:11

FreudianSlip



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!