: web server.
we have Opsani VCTR pro installed in plesk
but is getting crash report every hour
Subject: [abrt] a crash has been detected again
cmdline: /usr/bin/python /usr/bin/yum version -v
pkg_fingerprint: 0946 FCA2 C105 B9DE
time: Wed 06 Jun 2018 04:38:20 PM MST
do you know how to fix this?
@John - From the [abrt] notification I suspect that the problem derives from bad permissions on yumdb directories/files. The crash occured when the VCTR agent tried to execute: yum version -v. VCTR uses yum to query and manage packages on CentOS. I expect (because I recently looked at this notification from another customer), that the full notification text indicates that yum failed because of a permission denied error on a file /var/lib/yum/yumdb/<dir>/<file>.
A bit of digging leads to this open CentOS 6 bug: https://bugs.centos.org/view.php?id=5899. From the bug report, if a package is installed using sudo, the yumdb directories and files, which contain metadata for the package, may be created with the wrong permissions, e.g., using the umask of the user’s shell. This may prevent yum from accessing these files when it is later executed by a different non-root user, in this case the user dgri-report which executes the VCTR agent.
Without more detail, I cannot be certain. But, you can check the full notification text, and then check the permissions of directories and files under /var/lib/yum/yumdb, where the letter directories <dir> ordinarily have permissions 755, allowing all users read/execute access, and the files <file> ordinarily have permissions 644, allowing all users read access.
If you see permissions such as 750 for a directory or 640 for a file, then that is the likely cause of the failure. Fixing the permissions should fix the problem.
Please let me know if this is the case, and if the suggested fix works.