DBC:Errors/DBC-E004: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Category:DBCollect]] | |||
{{error | [DBC-E004] OS error retrieving <file>: <message>}} | {{error | [DBC-E004] OS error retrieving <file>: <message>}} | ||
Line 5: | Line 6: | ||
A common cause is when the file is a virtual file which cannot be read by the OS. | A common cause is when the file is a virtual file which cannot be read by the OS. | ||
Solution: | Solution: | ||
Solution 2: dbcollect runs as non-root (see Security) and cannot read the SAR files. If the file is a SAR file: <code>/var/log/sa/saXX</code>, you can provide read access to others for these files: | It is not a critical problem, DBCollect will proceed with the rest of the tasks. | ||
Solution 2: | |||
dbcollect runs as non-root (see Security) and cannot read the SAR files. If the file is a SAR file: <code>/var/log/sa/saXX</code>, you can provide read access to others for these files: | |||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
chmod o+r /var/log/sa/sa* | chmod o+r /var/log/sa/sa* | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{PrevNext|DBC:Errors/DBC-E003|DBC:Errors/DBC-E005}} |
Latest revision as of 15:31, 10 October 2024
[DBC-E004] OS error retrieving <file>: <message>
This happens if DBcollect cannot read a file as part of the collected data.
A common cause is when the file is a virtual file which cannot be read by the OS.
Solution:
It is not a critical problem, DBCollect will proceed with the rest of the tasks.
Solution 2:
dbcollect runs as non-root (see Security) and cannot read the SAR files. If the file is a SAR file: /var/log/sa/saXX
, you can provide read access to others for these files:
chmod o+r /var/log/sa/sa*