JournalCtl warning : Error was encountered while opening journal files: No data avail
Hello,
While collecting journalctl logs at our embedded box, we get to see the below warning message. Can someone please clarify the impacts of the same. mainly why it says "no data available"
root@lfs:~# journalctl -b > /tmp/Capture_journal.log
Error was encountered while opening journal files: No data available
But, the logs are getting collected properly.
at the journalctl.c, below is the code snippet which throws the error.
SET_FOREACH(code, j->errors, it) {
int err;
err = -PTR_TO_INT(code);
assert(err > 0);
if (err != EACCES)
log_warning("Error was encountered while opening journal files: %s",
strerror(err));
}
|