DBC:Errors/DBC-E005: Difference between revisions

From Dirty Cache Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:
Some systems have non-standard security policies, preventing dbcollect to read these files. It may be undesirable to change the permissions with chmod. In these cases you can use file access control lists to set an ACL permission without changing the basic permissions.
Some systems have non-standard security policies, preventing dbcollect to read these files. It may be undesirable to change the permissions with chmod. In these cases you can use file access control lists to set an ACL permission without changing the basic permissions.


The command is <code>setfacl -m u:oracle:- <file(s)></code> - assuming the database user under which dbcollect runs is oracle.
The command is (example) <code>setfacl -m u:oracle:r /var/log/sa</code> - assuming the database user under which dbcollect runs is oracle.


If these files are 'pseudo' files (such as in /sys, /proc etc) the permissions will be reset to normal at the first reboot.
If these files are 'pseudo' files (such as in /sys, /proc etc) the permissions will be reset to normal at the first reboot.
{{PrevNext|DBC:Errors/DBC-E004|DBC:Errors/DBC-E006}}
{{PrevNext|DBC:Errors/DBC-E004|DBC:Errors/DBC-E006}}

Revision as of 14:22, 9 December 2024

[DBC-E005] IOerror retrieving <file>: <message>

This happens if DBcollect cannot read a file as part of the collected data.

It is related to DBC:Errors/DBC-E004 depending on the Python version.

Solution:

Some systems have non-standard security policies, preventing dbcollect to read these files. It may be undesirable to change the permissions with chmod. In these cases you can use file access control lists to set an ACL permission without changing the basic permissions.

The command is (example) setfacl -m u:oracle:r /var/log/sa - assuming the database user under which dbcollect runs is oracle.

If these files are 'pseudo' files (such as in /sys, /proc etc) the permissions will be reset to normal at the first reboot.