[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Logrotate: no file context?



At 05:46 AM 7/24/2005, you wrote:
Lately, logrotate has been failing with the following error messages.
Indeed, "ls --context /var/log/*" indicates that these files have blank contexts. How did they get that way, and how can I get them back?


Thanks.

error: error getting file context /var/log/cups/error_log: No data available
error: error getting file context /var/log/httpd/access_log: No data available
<----snip--->
Check your hard drive space available. One cause that your log files could be getting emptied out is that your hard drive or partition that /var/log is on is full. If your HD is full, when it goes to write to a file, it can end up emptying them out instead because it can't actually write to them having no space on the partition left. I am sure there are other reasons this could happen too, but it happened to us on one of our machines this way in the past.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]