DBC:Errors/DBC-E005: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
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: | 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}} |
Latest revision as of 14:26, 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.