Deleted /var/log/messages, how to create a new one?
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!
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.
|All times are GMT -5. The time now is 02:43 PM.|