Log Files deleted in /var/log
Hello All,
I am still new to Linux world. I recently created a centos 6 cloud server. It's been up for 3 days. I noticed today in my /var/log, cat secure, my logs had been deleted from Nov 8- today. Is this normal? All I have done to this server is installed httpd, mysql-server, php, and prepped it to host my website. Any help is greatly appreciated. -thanks AC |
sounds like you're not aware of log rotation. you should have /var/log/secure.1 (possibly with .gz on the end) for yesterday. .2 for friday, .3 for thursday etc.
|
Quote:
Quote:
If /var/log/messages does not exist and wasn't rotated then check if Rsyslog is running. As root: Code:
pgrep -lf rsyslog Quote:
|
All times are GMT -5. The time now is 09:02 AM. |