DBC:Errors/DBC-E005

From Dirty Cache Wiki
Revision as of 15:04, 10 October 2024 by Bart (talk | contribs)
Jump to navigation Jump to search

[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 setfacl -m u:oracle:- <file(s)> - 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.