Bug 1402847 - Cannot open /var/log/sa/sa08: No such file or directory
Summary: Cannot open /var/log/sa/sa08: No such file or directory
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sysstat
Version: 6.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Michal Sekletar
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-08 13:03 UTC by Petr Sklenar
Modified: 2016-12-12 14:13 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-12 14:13:10 UTC
Target Upstream Version:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.