Bug 41322 - daily mail when access.log is zero.
Summary: daily mail when access.log is zero.
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Powertools
Classification: Retired
Component: webalizer   
(Show other bugs)
Version: 7.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ngo Than
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-05-18 19:35 UTC by Ricardo Ariel Gorosito
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-05-18 19:47:00 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description Ricardo Ariel Gorosito 2001-05-18 19:35:56 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [es] (X11; U; Linux 2.4.3-5 i686)

Description of problem:
the trouble is in /etc/cron.daily/00webalizer :

try to replace:

/usr/bin/webalizer

with:

LOGFILE=/var/logs/httpd/access_log
[ -s $LOGFILE ] && /usr/bin/webalizer

in that file.

How reproducible:
Always

Steps to Reproduce:
1. cp /var/log/httpd/access_log /var/logs/httpd/access.log.old
2. > /var/logs/httpd/access_log
3. /usr/bin/webalizer
ERROR MESSAGE :
No valid records found!
4.- mv -f /var/logs/httpd/access.log.old /var/logs/httpd/access_log
	

Additional info:

Comment 1 Ricardo Ariel Gorosito 2001-05-18 19:46:55 UTC
ERRATA:

LOGFILE=/var/logs/httpd/access_log

is:

LOGFILE=/var/log/httpd/access_log

thx.

Comment 2 Ngo Than 2001-05-18 20:21:35 UTC
It's fixed in webalizer-2.01_06-6. Thanks


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