Deleted /var/log/messages, how to create a new one?
Hi,
I have accidentally deleted the /var/log/messages file and I have created an empty 'messages' file using the vi editor, however all my log files does not go into the the new file that I have created! How can I recreate the /var/log/messages file that works? Do I have to change the mode of the new file? Please help! --Thanks!-- |
logrotate -f /etc/logrotate.conf
That solves the problem, advised by Hangdog42.. |
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.
http://www.linuxquestions.org/rules.php Original thread: http://www.linuxquestions.org/questi...hreadid=295441 |
All times are GMT -5. The time now is 05:31 AM. |