Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1402847

Summary: Cannot open /var/log/sa/sa08: No such file or directory
Product: Red Hat Enterprise Linux 6 Reporter: Petr Sklenar <psklenar>
Component: sysstatAssignee: Michal Sekletar <msekleta>
Status: CLOSED NOTABUG QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.8   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-12 14:13:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Sklenar 2016-12-08 13:03:19 UTC
Description of problem:
there is no error with default installation
Cannot open /var/log/sa/sa08: No such file or directory

Version-Release number of selected component (if applicable):
sysstat-9.0.4-33.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. have a default rhel69 installation
2. wait a while


Actual results:
[0 root@qeos-184 ~]# tail /var/spool/mail/root
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
Message-Id: <20161208125001.C3E2221478.eng.rdu2.redhat.com>
Date: Thu,  8 Dec 2016 07:50:01 -0500 (EST)

Cannot open /var/log/sa/sa08: No such file or directory

[0 root@qeos-184 ~]# cat /etc/cron.d/sysstat
# Run system activity accounting tool every 10 minutes
*/10 * * * * root /usr/lib64/sa/sa1 1 1
# 0 * * * * root /usr/lib64/sa/sa1 600 6 &
# Generate a daily summary of process accounting at 23:53
53 23 * * * root /usr/lib64/sa/sa2 -A

[0 root@qeos-184 ~]# /usr/lib64/sa/sa1 1 1
Cannot open /var/log/sa/sa08: No such file or directory
[0 root@qeos-184 ~]# rpm -qf /etc/cron.d/sysstat
sysstat-9.0.4-33.el6.x86_64

[0 root@qeos-184 ~]# ls -l /var/log/sa/*
ls: cannot access /var/log/sa/*: No such file or directory



Expected results:
there is no error with default installation

Additional info:

Comment 4 Petr Sklenar 2016-12-12 14:13:10 UTC
its issue in our test environment where /var/log was deleted, sorry for the bug's creation