Red Hat Bugzilla – Bug 536450
Agent throws exception trying to truncate apache's RT log file
Last modified: 2014-11-09 17:50:22 EST
I installed and configured apache 2.2 for RT data. I have an RT log at /usr/local/apache2/logs/dev71.qa.atl2.redhat.com80_rt.log . It's owned by root so obviously the agent doesn't have permission to write to it. Why is it trying to write to it? I haven't been able to detect any loss of functionality but i can't see any reason this exception should be in the agent log, if anything it should be cleaned up to maintain the readability of the agent log (we don't want exceptions in there that aren't even error conditions).
2008-09-04 14:44:48,373 ERROR [ResourceContainer.invoker.daemon-305] (rhq.core.pluginapi.util.ResponseTimeLogParser)- Unable to truncate response-time log file.
java.io.FileNotFoundException: /usr/local/apache2/logs/dev71.qa.atl2.redhat.com80_rt.log (Permission denied)
at java.io.RandomAccessFile.open(Native Method)
at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-798
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs.
new = Tracking + FutureFeature + SubBug
making sure we're not missing any bugs in rhq_triage
marking verified. i have had apache in inventory for quite some while and have not noticed this log exception.
Bulk closing of issues that were VERIFIED, had no target release and where the status changed more than a year ago.